<jupyter_start><jupyter_text>This python script demonstrates the creation of all parametric shapes availablein the paramak tool<jupyter_code>import paramak

rot_angle = 180
all_components = []

plasma = paramak.Plasma(
    # default parameters
    rotation_angle=rot_angle,
    stp_filename="plasma_shape.stp",
)
plasma.show()
component = paramak.ITERtypeDivertor(
    # default parameters
    rotation_angle=rot_angle,
    stp_filename="ITER_type_divertor.stp",
)
component.show()
component = paramak.PortCutterRotated(
    center_point=(450, 0),
    polar_coverage_angle=20,
    rotation_angle=10,
    polar_placement_angle=45,
    azimuth_placement_angle=0
)
component.show()
component = paramak.PortCutterRectangular(
    distance=3,
    center_point=(0, 0),
    height=0.2,
    width=0.4,
    fillet_radius=0.02,
    azimuth_placement_angle=[0, 45, 90, 180]
)
component.show()
component = paramak.PortCutterCircular(
    distance=3,
    center_point=(0.25, 0),
    radius=0.1,
    # azimuth_placement_angle=[0, 45, 90, 180], # TODO: fix issue #548
    azimuth_placement_angle=[0, 45, 90],
)
component.show()
component = paramak.VacuumVessel(
    height=2, inner_radius=1, thickness=0.2, rotation_angle=270
)
component.show()
component = paramak.CoolantChannelRingStraight(
    height=200,
    channel_radius=10,
    ring_radius=70,
    number_of_coolant_channels=8,
    workplane="XY",
    rotation_axis="Z",
    stp_filename="coolant_channel_ring_straight.stp",
)
component.show()
component = paramak.CoolantChannelRingCurved(
    height=200,
    channel_radius=10,
    ring_radius=70,
    mid_offset=-20,
    number_of_coolant_channels=8,
    workplane="XY",
    path_workplane="XZ",
    stp_filename="coolant_channel_ring_curved.stp",
    force_cross_section=True
)
component.show()
component = paramak.RotatedIsoscelesTriangle(
    height=20,
    base_length=15,
    pivot_angle=0,
    pivot_point=(100, 50),
    rotation_angle=70,
    workplane='XY',
    stp_filename='rotated_isosceles_triangle.stp'
)
component.show()
component = paramak.RotatedTrapezoid(
    length_1=10,
    length_2=20,
    length_3=30,
    pivot_angle=0,
    pivot_point=(100, 50),
    rotation_angle=45,
    stp_filename='rotated_trapezoid.stp'
)
component.show()
component = paramak.PoloidalSegments(
    number_of_segments=5,
    center_point=(400, 50)
)
component.show()
component = paramak.HexagonPin(
    length_of_side=5,
    distance=10,
    center_point=(10, 20)
)
component.show()
component = paramak.VacuumVesselInnerLeg(
    inner_height=760,
    inner_radius=400,
    inner_leg_radius=250,
    thickness=20
)
component.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11241041116559788, 'fraction_numerical': 0.05016974726518295, 'mean_word_length': 4.703225806451613, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '148718', 'license': 'MIT', 'n_tokens_mistral': 1050, 'n_tokens_neox': 954, 'n_words': 143, 'path': 'examples/example_parametric_components/make_components_other.ipynb', 'repo_name': 'billingsley-john/paramak', 'size': '2651'}