From 2bd10b4206a9be80b0ffe3c3c454afff0ce6b653 Mon Sep 17 00:00:00 2001 From: Doug Hawkins Date: Wed, 25 Mar 2020 13:55:09 -0600 Subject: [PATCH] Updated to remove deprecated child() & assign(). Did not fully test module fromTo (didn't take time to fully understand), but no load/run errors. --- utilities.scad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities.scad b/utilities.scad index 01e4511..b37d155 100644 --- a/utilities.scad +++ b/utilities.scad @@ -50,7 +50,7 @@ module fromTo(from=[0,0,0], to=[1*m,0,0], size=[1*cm, 1*cm], align=[CENTER, CENT rotate(angle) translate( [ -endCaps[0]*size[0] - endExtras[0], size[0]*(-0.5-align[0]), size[1]*(-0.5+align[1]) ] ) rotate(rotation) - scale([length, size[0], size[1]]) child(); + scale([length, size[0], size[1]]) children(); } }