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:
@@ -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) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user