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

added triangles parameter

This commit is contained in:
Justin Lin
2017-05-05 10:28:57 +08:00
parent 1f462b1573
commit 663188e606

View File

@@ -11,7 +11,7 @@
**/
module golden_spiral_extrude(shape_pts, from, to, point_distance,
rt_dir = "CT_CLK", twist = 0, scale = 1.0) {
rt_dir = "CT_CLK", twist = 0, scale = 1.0, triangles = "RADIAL") {
pts_angles = golden_spiral(
from = from,
@@ -32,6 +32,7 @@ module golden_spiral_extrude(shape_pts, from, to, point_distance,
pts, angles,
twist = twist,
scale = scale
)
),
triangles = triangles
);
}