From d53b573be5b764b8ac1e33ba9d05d4e9cb97b816 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 30 Mar 2020 09:30:46 +0800 Subject: [PATCH] add comment --- src/ptf/ptf_torus.scad | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/ptf/ptf_torus.scad b/src/ptf/ptf_torus.scad index d65ecafa..16013dfd 100644 --- a/src/ptf/ptf_torus.scad +++ b/src/ptf/ptf_torus.scad @@ -1,12 +1,15 @@ +/** +* ptf_torus.scad +* +* @copyright Justin Lin, 2020 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib2x-ptf_torus.html +* +**/ + 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 ptf_torus(size, point, radius, angle = [360, 360], twist = 0) = let( xlen = size[0],