mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-01 04:20:27 +02:00
fix missing variable
This commit is contained in:
@@ -70,7 +70,11 @@ module sweep(sections, triangles = "SOLID") {
|
||||
test_sweep_solid(v_pts, f_idxes, triangles);
|
||||
} else {
|
||||
first_idxes = [for(i = leng_pts_sect - 1; i >= 0; i = i - 1) i];
|
||||
last_idxes = [each [leng_pts_sect * (leng_sects - 1):from + leng_pts_sect - 1]];
|
||||
|
||||
from = leng_pts_sect * (leng_sects - 1);
|
||||
to = from + leng_pts_sect - 1;
|
||||
|
||||
last_idxes = [each [from:to]];
|
||||
f_idxes = [first_idxes, each side_indexes(sects), last_idxes];
|
||||
|
||||
polyhedron(
|
||||
|
Reference in New Issue
Block a user