mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-19 13:01:37 +02:00
added test hook
This commit is contained in:
@@ -30,10 +30,20 @@ module sphere_spiral_extrude(shape_pts, radius, za_step,
|
|||||||
points = [for(pa = points_angles) pa[0]];
|
points = [for(pa = points_angles) pa[0]];
|
||||||
angles = [for(pa = points_angles) [pa[1][0] + v_clk, pa[1][1], pa[1][2] + r_clk]];
|
angles = [for(pa = points_angles) [pa[1][0] + v_clk, pa[1][1], pa[1][2] + r_clk]];
|
||||||
|
|
||||||
polysections(
|
sections = cross_sections(
|
||||||
cross_sections(
|
|
||||||
shape_pts, points, angles, twist = twist, scale = scale
|
shape_pts, points, angles, twist = twist, scale = scale
|
||||||
),
|
);
|
||||||
|
|
||||||
|
polysections(
|
||||||
|
sections,
|
||||||
triangles = triangles
|
triangles = triangles
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// testing hook
|
||||||
|
test_sphere_spiral_extrude(sections);
|
||||||
|
}
|
||||||
|
|
||||||
|
// override it to test
|
||||||
|
module test_sphere_spiral_extrude(sections) {
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user