set_parametric#
- ClosedCurveLinearSegment.set_parametric(num_added_vertices: int, movement: str)#
Make this segment parametric for optimization.
- Parameters:
- Raises:
NotImplementedErrorAlways. Direct segment-level parametrization is not currently wired up to
ClosedCurve.discretize_polygon– the polygon-build loop always passesparams=Nonetosegment.evaluate(). UseParametrize(segment_index=...)(orClosedCurve._make_segment_parametric) instead. These APIs split the segment into sub-segments with intermediate vertices and parametrize the vertex positions, which_get_current_verticescorrectly threads through.