mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-29 17:30:11 +02:00
added test hook
This commit is contained in:
@@ -79,9 +79,19 @@ module path_extrude(shape_pts, path_pts, triangles = "SOLID", twist = 0, scale =
|
|||||||
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()], sessions);
|
||||||
|
|
||||||
|
sessions = calculated_sections();
|
||||||
|
|
||||||
polysections(
|
polysections(
|
||||||
calculated_sections(),
|
sessions,
|
||||||
triangles = triangles
|
triangles = triangles
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// hook for testing
|
||||||
|
test_path_extude(sessions);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// override to test
|
||||||
|
module test_path_extude(sessions) {
|
||||||
|
|
||||||
|
}
|
Reference in New Issue
Block a user