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