createPath2DfromPaths

pyslm.support.createPath2DfromPaths(paths)

A static helper function that converts PyClipper Paths into a single trimesh.path.Path2D object. This function is not used for performance reasons, but provides additional capability if required.

Parameters:

paths (List[ndarray]) – A list of paths generated from ClipperLib paths.

Return type:

Path2D

Returns:

A Path2D object containing a list of Paths.