Parametrize#

class lumopt2.parametrization.closed_curve.Parametrize(segment_index: int, num_added_vertices: int, bounds: Tuple[float, float], movement: str = 'both', polygon_pts_per_segment: int | None = None)#

Specification for making a segment parametric

Attributes:
segment_indexint

1-based index of the segment to make parametric.

num_added_verticesint

Number of intermediate vertices used for parameterization.

boundsTuple[float, float]

Lower and upper bounds for the parameterized movement.

movementstr, optional

Allowed movement direction: 'x-axis', 'y-axis', 'both', or 'normal'.

polygon_pts_per_segmentOptional[int], optional

Number of polygon points used to discretize this segment.

Attributes