fabex.strategies.project_curve#
Functions#
|
Project a curve onto another curve object. |
Module Contents#
- async project_curve(s, o)[source]#
Project a curve onto another curve object.
This function takes a source object and a target object, both of which are expected to be curve objects. It projects the points of the source curve onto the target curve, adjusting the start and end points based on specified extensions. The resulting projected points are stored in the source object’s path samples.
- Parameters:
s (object) – The source object containing the curve to be projected.
o (object) – An object containing references to the curve objects involved in the projection.
- Returns:
- This function does not return a value; it modifies the
source object’s path samples in place.
- Return type:
None
- Raises:
CamException – If the target curve is not of type ‘CURVE’.