1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-28 17:00:00 +02:00

added test hook

This commit is contained in:
Justin Lin
2017-06-30 09:25:14 +08:00
parent 7ae4961a43
commit 8b4ba123de

View File

@@ -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] ?
concat(sections, [sections[0]]) : // round-robin
concat([first_section()], sessions);
sessions = calculated_sections();
polysections(
calculated_sections(),
sessions,
triangles = triangles
);
// hook for testing
test_path_extude(sessions);
}
// override to test
module test_path_extude(sessions) {
}