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