mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-22 06:13:10 +02:00
add simple doc
This commit is contained in:
@@ -1,5 +1,12 @@
|
|||||||
use <rotate_p.scad>;
|
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) =
|
function tf_torus(size, point, radius, angle = [360, 360], twist = 0) =
|
||||||
let(
|
let(
|
||||||
xlen = size[0],
|
xlen = size[0],
|
||||||
|
Reference in New Issue
Block a user