1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-03-14 02:59:42 +01:00

fix wrong variable

This commit is contained in:
Justin Lin 2022-04-17 20:43:23 +08:00
parent 884e42478d
commit 9fabbecd7c

View File

@ -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