From 9fabbecd7cdb1d97b52efa002233ce04f96d4ba0 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sun, 17 Apr 2022 20:43:23 +0800 Subject: [PATCH] fix wrong variable --- src/path_extrude.scad | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/path_extrude.scad b/src/path_extrude.scad index 516eec53..73337999 100644 --- a/src/path_extrude.scad +++ b/src/path_extrude.scad @@ -33,8 +33,8 @@ module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale = scale_step_vt = ( is_num(scale) ? let(s = scale - 1) [s, s, s] : - len(s) == 2 ? [each (scale - [1, 1]), 0]: - scale - one + len(scale) == 2 ? [each (scale - [1, 1]), 0]: + scale - one ) / len_path_pts_minus_one; // get rotation matrice for sections