1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-16 03:34:42 +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. angle: arc angle.
twist: The number of degrees of through which the rectangle is twisted. 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( let(
yleng = size[1], yleng = size[1],
a_step = angle / yleng, a_step = angle / yleng,