From 79d41ddeb38175e10b47b813b4235f72e3a490a8 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Tue, 5 Apr 2022 18:20:56 -0700 Subject: [PATCH] call polygonize() to turn paths into polygons --- snarled/interfaces/masque.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/snarled/interfaces/masque.py b/snarled/interfaces/masque.py index d42cfd3..b0770e3 100644 --- a/snarled/interfaces/masque.py +++ b/snarled/interfaces/masque.py @@ -56,7 +56,8 @@ def prepare_cell( recursive=True, ) - flat = subset.flatten() + polygonized = subset.polygonize() # Polygonize Path shapes + flat = polgonized.flatten() # load polygons polys = []