1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-11 09:14:29 +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)]
];
sections = cross_sections(
shape_pts,
pts, angles,
twist = twist,
scale = scale
);
polysections(
cross_sections(
shape_pts,
pts, angles,
twist = twist,
scale = scale
),
sections,
triangles = triangles
);
// testing hook
test_golden_spiral_extrude(sections);
}
// override it to test
module test_golden_spiral_extrude(sections) {
}