From f8cedafcbe49590154cbef6832f347588b6a72df Mon Sep 17 00:00:00 2001 From: Kaalleen <36401965+kaalleen@users.noreply.github.com> Date: Tue, 25 Feb 2025 07:16:33 +0100 Subject: knockdown: mitre limit cannot be zero (#3537) --- lib/extensions/knockdown_fill.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/extensions/knockdown_fill.py') diff --git a/lib/extensions/knockdown_fill.py b/lib/extensions/knockdown_fill.py index 35459016..8815efa5 100644 --- a/lib/extensions/knockdown_fill.py +++ b/lib/extensions/knockdown_fill.py @@ -66,7 +66,7 @@ class KnockdownFill(InkstitchExtension): self.options.offset * PIXELS_PER_MM, cap_style=int(self.options.join_style), join_style=int(self.options.join_style), - mitre_limit=int(self.options.mitre_limit) + mitre_limit=float(max(self.options.mitre_limit, 0.1)) ) combined_shape = combined_shape.simplify(0.3) combined_shape = ensure_multi_polygon(combined_shape) -- cgit v1.2.3