call polygonize() to turn paths into polygons

This commit is contained in:
Jan Petykiewicz 2022-04-05 18:20:56 -07:00
parent f015e1e1c1
commit 79d41ddeb3

View File

@ -56,7 +56,8 @@ def prepare_cell(
recursive=True, recursive=True,
) )
flat = subset.flatten() polygonized = subset.polygonize() # Polygonize Path shapes
flat = polgonized.flatten()
# load polygons # load polygons
polys = [] polys = []