"""
This python script demonstrates the creation of a breeder blanket from points
"""

from paramak import RotateMixedShape


def main():

    blanket = RotateMixedShape(
        points=[
            (538, 305, "straight"),
            (538, -305, "straight"),
            (322, -305, "spline"),
            (470, 0, "spline"),
            (322, 305, "straight"),
        ]
    )

    blanket.rotation_angle = 180
    blanket.export_stp("blanket_from_points.stp")


if __name__ == "__main__":
    main()

"""
This python script demonstrates the creation of a breeder blanket from points
"""

from paramak import RotateMixedShape


def main():

    blanket = RotateMixedShape(
        points=[
            (538, 305, "straight"),
            (538, -305, "straight"),
            (322, -305, "spline"),
            (470, 0, "spline"),
            (322, 305, "straight"),
        ]
    )

    blanket.rotation_angle = 180
    blanket.export_stp("blanket_from_points.stp")


if __name__ == "__main__":
    main()

This python script demonstrates the creation of a breeder blanket from points