From 958dcf0b18191fe84fca343e0836c4c2629a5bbe Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Fri, 17 Sep 2021 20:02:31 -0400 Subject: [PATCH] bug fix --- shapes3d.scad | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shapes3d.scad b/shapes3d.scad index 7143802..23d6aab 100644 --- a/shapes3d.scad +++ b/shapes3d.scad @@ -179,7 +179,7 @@ module cuboid( orient=UP ) { module corner_shape(corner) { - e = corner_edges(edges, corner); + e = _corner_edges(edges, corner); cnt = sum(e); r = first_defined([chamfer, rounding, 0]); c = [min(r,size.x/2), min(r,size.y/2), min(r,size.z/2)]; @@ -292,7 +292,7 @@ module cuboid( // Add multi-edge corners. if (trimcorners) { for (za=[-1,1], ya=[-1,1], xa=[-1,1]) { - ce = corner_edges(edges, [xa,ya,za]); + ce = _corner_edges(edges, [xa,ya,za]); if (ce.x + ce.y > 1) { translate(v_mul([xa,ya,za]/2, size+[ach-0.01,ach-0.01,-ach])) { cube([ach+0.01,ach+0.01,ach], center=true); @@ -379,7 +379,7 @@ module cuboid( // Add multi-edge corners. if (trimcorners) { for (za=[-1,1], ya=[-1,1], xa=[-1,1]) { - ce = corner_edges(edges, [xa,ya,za]); + ce = _corner_edges(edges, [xa,ya,za]); if (ce.x + ce.y > 1) { translate(v_mul([xa,ya,za]/2, size+[ard-0.01,ard-0.01,-ard])) { cube([ard+0.01,ard+0.01,ard], center=true);