From 0625f250c6cfab821f241fbe31ee1c7e0e24bfc1 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Sat, 30 Apr 2022 20:17:28 -0400 Subject: [PATCH] add missing polygonize() --- lib/stitches/tangential_fill_stitch_line_creator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/stitches/tangential_fill_stitch_line_creator.py b/lib/stitches/tangential_fill_stitch_line_creator.py index e0bf62e6b..466fd6b69 100644 --- a/lib/stitches/tangential_fill_stitch_line_creator.py +++ b/lib/stitches/tangential_fill_stitch_line_creator.py @@ -288,7 +288,7 @@ def offset_poly(poly, offset, join_style, stitch_distance, min_stitch_distance, result = Polygon(outer).difference( MultiPolygon(poly_inners)) else: - result = MultiPolygon(outer).difference( + result = MultiPolygon(polygonize(outer)).difference( MultiPolygon(poly_inners)) if not result.is_empty and result.area > offset * offset / 10: