fibomat.curve_tools.combine module¶
Provide the combine_curves() function.
- fibomat.curve_tools.combine.combine_curves(curve_1: fibomat.shapes.arc_spline.ArcSpline, curve_2: fibomat.shapes.arc_spline.ArcSpline, mode: str) Dict[str, List[fibomat.shapes.arc_spline.ArcSpline]][source]¶
Combine two curves. The combining method is given by mode.
mode can be:
union
xor
exclude
intersect
See Usage guide for further details.
- Args:
curve_1 (ArcSpline): first curve curve_2 (ArcSpline): second curve mode (str): combining mode
- Returns:
List[ArcSpline]: list of new ArcSpline