1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-20 13:31:30 +02:00

add simple doc

This commit is contained in:
Justin Lin
2020-02-15 19:51:27 +08:00
parent 9fea6538ac
commit 654ec5000c

View File

@@ -1,5 +1,12 @@
use <rotate_p.scad>;
/*
size: The size of a rectangle.
point: A point in the rectangle.
radius: torus [R, r]
angle: torus [A, a].
twist: The number of degrees of through which the rectangle is twisted.
*/
function tf_torus(size, point, radius, angle = [360, 360], twist = 0) =
let(
xlen = size[0],