From 844c6e7d9b58a819c8332d5f50b9fb7f0c25d530 Mon Sep 17 00:00:00 2001 From: Justin Lin Date: Mon, 20 May 2019 17:40:02 +0800 Subject: [PATCH] add comments --- src/bijection_offset.scad | 10 ++++++++++ src/path_scaling_sections.scad | 10 ++++++++++ src/starburst.scad | 10 ++++++++++ src/torus_knot.scad | 10 ++++++++++ 4 files changed, 40 insertions(+) diff --git a/src/bijection_offset.scad b/src/bijection_offset.scad index a7636666..7876ee87 100644 --- a/src/bijection_offset.scad +++ b/src/bijection_offset.scad @@ -1,3 +1,13 @@ +/** +* bijection_offset.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-bijection_offset.html +* +**/ + function _bijection_edges_from(pts) = let(leng = len(pts)) concat( diff --git a/src/path_scaling_sections.scad b/src/path_scaling_sections.scad index 266fb5f4..da67a2aa 100644 --- a/src/path_scaling_sections.scad +++ b/src/path_scaling_sections.scad @@ -1,3 +1,13 @@ +/** +* path_scaling_sections.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-path_scaling_sections.html +* +**/ + function path_scaling_sections(shape_pts, edge_path) = let( start_point = edge_path[0], diff --git a/src/starburst.scad b/src/starburst.scad index 68ffe769..af629dad 100644 --- a/src/starburst.scad +++ b/src/starburst.scad @@ -1,3 +1,13 @@ +/** +* starburst.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-starburst.html +* +**/ + module starburst(r1, r2, n, height) { a = 180 / n; diff --git a/src/torus_knot.scad b/src/torus_knot.scad index 6bf26975..84803b84 100644 --- a/src/torus_knot.scad +++ b/src/torus_knot.scad @@ -1,3 +1,13 @@ +/** +* torus_knot.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-torus_knot.html +* +**/ + function torus_knot(p, q, phi_step) = [ for(phi = [0:phi_step:6.28318]) let(