diff --git a/src/bend_extrude.scad b/src/bend_extrude.scad index 2bd9f050..d9538c62 100644 --- a/src/bend_extrude.scad +++ b/src/bend_extrude.scad @@ -1,3 +1,13 @@ +/** +* bend_extrude.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-bend_extrude.html +* +**/ + module bend_extrude(size, thickness, angle, frags = 24) { x = size[0]; y = size[1]; diff --git a/src/in_polyline.scad b/src/in_polyline.scad index d2e438ed..08bdaeba 100644 --- a/src/in_polyline.scad +++ b/src/in_polyline.scad @@ -1,3 +1,13 @@ +/** +* in_polyline.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-in_polyline.html +* +**/ + include <__private__/__to3d.scad>; include <__private__/__in_line.scad>; diff --git a/src/in_shape.scad b/src/in_shape.scad index 8acf86c9..e4b1795a 100644 --- a/src/in_shape.scad +++ b/src/in_shape.scad @@ -1,4 +1,13 @@ -include <__private__/__to3d.scad>; +/** +* in_shape.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-in_shape.html +* +**/ + include <__private__/__lines_from.scad>; include <__private__/__in_line.scad>; diff --git a/src/midpt_smooth.scad b/src/midpt_smooth.scad index eaebcd97..ac816c12 100644 --- a/src/midpt_smooth.scad +++ b/src/midpt_smooth.scad @@ -1,3 +1,13 @@ +/** +* midpt_smooth.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-midpt_smooth.html +* +**/ + function _midpt_smooth_sub(points, iend, i, closed = false) = i == iend ? ( closed ? [(points[i] + points[0]) / 2] diff --git a/src/triangulate.scad b/src/triangulate.scad index b4061a33..6aeec0c1 100644 --- a/src/triangulate.scad +++ b/src/triangulate.scad @@ -1,3 +1,12 @@ +/** +* triangulate.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-triangulate.html +* +**/ function _triangulate_in_triangle(p0, p1, p2, p) = let( diff --git a/src/trim_shape.scad b/src/trim_shape.scad index 9f7dc758..d1e175e6 100644 --- a/src/trim_shape.scad +++ b/src/trim_shape.scad @@ -1,3 +1,13 @@ +/** +* trim_shape.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-trim_shape.html +* +**/ + include <__private__/__to3d.scad>; include <__private__/__line_intersection.scad>; include <__private__/__in_line.scad>; diff --git a/src/voronoi2d.scad b/src/voronoi2d.scad index 0d2cf1f2..52fc6ff8 100644 --- a/src/voronoi2d.scad +++ b/src/voronoi2d.scad @@ -1,3 +1,13 @@ +/** +* voronoi2d.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-voronoi2d.html +* +**/ + module voronoi2d(points, spacing = 1, r = 0, delta = 0, chamfer = false, region_type = "square") { xs = [for(p = points) p[0]]; ys = [for(p = points) abs(p[1])]; diff --git a/src/voronoi3d.scad b/src/voronoi3d.scad index 007a886f..072c34d7 100644 --- a/src/voronoi3d.scad +++ b/src/voronoi3d.scad @@ -1,3 +1,13 @@ +/** +* voronoi3d.scad +* +* @copyright Justin Lin, 2019 +* @license https://opensource.org/licenses/lgpl-3.0.html +* +* @see https://openhome.cc/eGossip/OpenSCAD/lib-voronoi3d.html +* +**/ + include <__private__/__angy_angz.scad>; // slow but workable