From 5b62f2859aa9c3d2d34f2acc21b7ae4cf6c1480b Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Thu, 11 Nov 2021 22:43:19 -0500 Subject: [PATCH] catch case where endcaps are too long for path in stroke() make rect() default to centered --- drawing.scad | 1 + shapes2d.scad | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drawing.scad b/drawing.scad index 7968a0a..78e0a02 100644 --- a/drawing.scad +++ b/drawing.scad @@ -302,6 +302,7 @@ module stroke( translate(path[0]) sphere(d=width[0]); } } else { + dummy=assert(trim1