mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-07 15:26:39 +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);
|
test_sweep_solid(v_pts, f_idxes, triangles);
|
||||||
} else {
|
} else {
|
||||||
first_idxes = [for(i = leng_pts_sect - 1; i >= 0; i = i - 1) i];
|
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];
|
f_idxes = [first_idxes, each side_indexes(sects), last_idxes];
|
||||||
|
|
||||||
polyhedron(
|
polyhedron(
|
||||||
|
Reference in New Issue
Block a user