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

added test hook

This commit is contained in:
Justin Lin
2017-06-30 13:21:47 +08:00
parent 12cf0cf7db
commit bc716b3ec0

View File

@@ -54,10 +54,19 @@ module ring_extrude(shape_pts, radius, angle = 360, twist = 0, scale = 1.0, tria
pts : pts :
concat(pts, [__ra_to_xy(end_r, angles[1])]); concat(pts, [__ra_to_xy(end_r, angles[1])]);
sections = cross_sections(shape_pts, all_points, all_angles, twist, scale);
polysections( polysections(
cross_sections(shape_pts, all_points, all_angles, twist, scale), sections,
triangles = triangles triangles = triangles
); );
// hook for testing
test_ring_extrude(sections);
} }
}
// Override it to test
module test_ring_extrude(sections) {
} }