mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 17:30:11 +02:00
fix missed param
This commit is contained in:
@@ -97,7 +97,7 @@ module along_with(points, angles, twist = 0, scale = 1.0) {
|
||||
align_with_pts_init(init_a, init_s)
|
||||
children(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(angles != undef) {
|
||||
if($children == 1) {
|
||||
@@ -123,13 +123,13 @@ module along_with(points, angles, twist = 0, scale = 1.0) {
|
||||
if($children == 1) {
|
||||
for(i = [0:leng_points - 2]) {
|
||||
translate(points[i + 1])
|
||||
align_with_pts_local_rotate(i, i * twist_step_a, [1, 1, 1] + scale_step_vt * i)
|
||||
align_with_pts_local_rotate(i, i * twist_step_a, [1, 1, 1] + scale_step_vt * i, cumu_rot_matrice)
|
||||
children(0);
|
||||
}
|
||||
} else {
|
||||
for(i = [0:min(leng_points, $children) - 2]) {
|
||||
translate(points[i + 1])
|
||||
align_with_pts_local_rotate(i, i * twist_step_a, [1, 1, 1] + scale_step_vt * i)
|
||||
align_with_pts_local_rotate(i, i * twist_step_a, [1, 1, 1] + scale_step_vt * i, cumu_rot_matrice)
|
||||
children(i + 1);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user