diff options
| author | Lex Neva <github.com@lexneva.name> | 2022-04-30 20:17:28 -0400 |
|---|---|---|
| committer | Kaalleen <reni@allenka.de> | 2022-05-04 19:18:33 +0200 |
| commit | 0625f250c6cfab821f241fbe31ee1c7e0e24bfc1 (patch) | |
| tree | ac0a865be49ab21f40f5eb3db70f42ac03fa3820 /lib/stitches | |
| parent | e14fffb879875cae43124a7daae7cebb5bcadddc (diff) | |
add missing polygonize()
Diffstat (limited to 'lib/stitches')
| -rw-r--r-- | lib/stitches/tangential_fill_stitch_line_creator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stitches/tangential_fill_stitch_line_creator.py b/lib/stitches/tangential_fill_stitch_line_creator.py index e0bf62e6..466fd6b6 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: |
