From 6982c3d285f51c3f7801412d3e9a800b66620c62 Mon Sep 17 00:00:00 2001 From: Adrian Mariano Date: Fri, 27 Oct 2023 09:06:50 -0400 Subject: [PATCH] fix path_copies $dir and $normal --- distributors.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distributors.scad b/distributors.scad index eddcf3d6..41f4e319 100644 --- a/distributors.scad +++ b/distributors.scad @@ -1518,8 +1518,8 @@ module path_copies(path, n, spacing, sp=undef, dist, rotate_children=true, dist, for(i=[0:1:len(cutlist)-1]) { $pos = cutlist[i][0]; $idx = is_def(dist) ? distind[i] : i; - $dir = rotate_children ? (planar?[1,0]:[1,0,0]) : cutlist[i][2]; - $normal = rotate_children? (planar?[0,1]:[0,0,1]) : cutlist[i][3]; + $dir = !rotate_children ? (planar?[1,0]:[1,0,0]) : cutlist[i][2]; + $normal = !rotate_children? (planar?[0,1]:[0,0,1]) : cutlist[i][3]; translate($pos) { if (rotate_children) { if(planar) {