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

added testing hook

This commit is contained in:
Justin Lin
2017-07-01 07:42:46 +08:00
parent d45ce400b1
commit fe19a0de22

View File

@@ -26,13 +26,23 @@ module golden_spiral_extrude(shape_pts, from, to, point_distance,
[90, 0, pt_angle[1] + (rt_dir == "CT_CLK" ? 0 : -90)] [90, 0, pt_angle[1] + (rt_dir == "CT_CLK" ? 0 : -90)]
]; ];
polysections( sections = cross_sections(
cross_sections(
shape_pts, shape_pts,
pts, angles, pts, angles,
twist = twist, twist = twist,
scale = scale scale = scale
), );
polysections(
sections,
triangles = triangles triangles = triangles
); );
// testing hook
test_golden_spiral_extrude(sections);
}
// override it to test
module test_golden_spiral_extrude(sections) {
} }