1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-14 02:34:12 +02:00

add default value

This commit is contained in:
Justin Lin
2020-02-15 18:05:54 +08:00
parent 542cd41284
commit 34a9e38e12

View File

@@ -8,7 +8,7 @@ use <experimental/tf_y_twist.scad>;
angle: arc angle.
twist: The number of degrees of through which the rectangle is twisted.
*/
function tf_ring(size, point, radius, angle, twist = 0) =
function tf_ring(size, point, radius, angle = 360, twist = 0) =
let(
yleng = size[1],
a_step = angle / yleng,