poly2Paths

pyslm.hatching.poly2Paths(polygons)

Converts a Shapely Polygon or MultiPolygon to a list of paths

Parameters:

polygons (Union[Polygon, MultiPolygon]) – A polygon to convert to individual paths

Return type:

List[array]

Returns:

A list of paths (interior and exterior) for each polygon