From 27bbf205db553049cb00b1fbcc721c94e8043183 Mon Sep 17 00:00:00 2001 From: Garth Minette Date: Tue, 7 Jun 2022 13:25:21 -0700 Subject: [PATCH] Minor bugfix in _assemble_a_path_from_fragments() --- paths.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paths.scad b/paths.scad index bbce0ca..1d68f97 100644 --- a/paths.scad +++ b/paths.scad @@ -1088,7 +1088,7 @@ function _extreme_angle_fragment(seg, fragments, rightmost=true, eps=EPSILON) = /// startfrag = The fragment to start with. Default: 0 /// eps = The epsilon error value to determine whether two points coincide. Default: `EPSILON` (1e-9) function _assemble_a_path_from_fragments(fragments, rightmost=true, startfrag=0, eps=EPSILON) = - len(fragments)==0? _finished : + len(fragments)==0? [[],[]] : let( path = fragments[startfrag], newfrags = [for (i=idx(fragments)) if (i!=startfrag) fragments[i]]