From 654ec5000ca863972e4a34fcdaf1e5ab02187d71 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Sat, 15 Feb 2020 19:51:27 +0800 Subject: [PATCH] add simple doc --- src/experimental/tf_torus.scad | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/experimental/tf_torus.scad b/src/experimental/tf_torus.scad index c22403dc..ea2ac6ba 100644 --- a/src/experimental/tf_torus.scad +++ b/src/experimental/tf_torus.scad @@ -1,5 +1,12 @@ use ; +/* + 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],