fabex.strategies.curve_to_path#
Functions#
|
Process and convert curve objects into mesh chunks. |
Module Contents#
- async curve(o)[source]#
Process and convert curve objects into mesh chunks.
This function takes an operation object and processes the curves contained within it. It first checks if all objects are curves; if not, it raises an exception. The function then converts the curves into chunks, sorts them, and refines them. If layers are to be used, it applies layer information to the chunks, adjusting their Z-offsets accordingly. Finally, it converts the processed chunks into a mesh.
- Parameters:
o (Operation) – An object containing operation parameters, including a list of objects, flags for layer usage, and movement constraints.
- Returns:
- This function does not return a value; it performs operations on the
input.
- Return type:
None
- Raises:
CamException – If not all objects in the operation are curves.