mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-14 02:34:12 +02:00
renamed variable
This commit is contained in:
@@ -75,23 +75,23 @@ module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale =
|
|||||||
);
|
);
|
||||||
|
|
||||||
function calculated_sections() =
|
function calculated_sections() =
|
||||||
let(sessions = path_extrude_inner(1))
|
let(sections = path_extrude_inner(1))
|
||||||
closed && pth_pts[0] == pth_pts[len_path_pts_minus_one] ?
|
closed && pth_pts[0] == pth_pts[len_path_pts_minus_one] ?
|
||||||
concat(sections, [sections[0]]) : // round-robin
|
concat(sections, [sections[0]]) : // round-robin
|
||||||
concat([first_section()], sessions);
|
concat([first_section()], sections);
|
||||||
|
|
||||||
sessions = calculated_sections();
|
sections = calculated_sections();
|
||||||
|
|
||||||
polysections(
|
polysections(
|
||||||
sessions,
|
sections,
|
||||||
triangles = triangles
|
triangles = triangles
|
||||||
);
|
);
|
||||||
|
|
||||||
// hook for testing
|
// hook for testing
|
||||||
test_path_extude(sessions);
|
test_path_extude(sections);
|
||||||
}
|
}
|
||||||
|
|
||||||
// override to test
|
// override to test
|
||||||
module test_path_extude(sessions) {
|
module test_path_extude(sections) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user