From 76e376e28b2de8d933dddab6655410c6677d7107 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Fri, 26 Jan 2024 18:06:43 -0500 Subject: [PATCH] fix check in path_cut for cuts at endpoints --- paths.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paths.scad b/paths.scad index 7631ac46..52f18f5c 100644 --- a/paths.scad +++ b/paths.scad @@ -798,8 +798,8 @@ function path_cut(path,cutdist,closed) = let(closed=default(closed,false)) assert(is_bool(closed)) assert(is_vector(cutdist)) - assert(last(cutdist)0, "Cut distances must be strictly positive") + assert(last(cutdist)EPSILON, "Cut distances must be strictly positive") let( cutlist = path_cut_points(path,cutdist,closed=closed) )