1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-13 18:24:28 +02:00

add comments

This commit is contained in:
Justin Lin
2019-05-20 17:40:02 +08:00
parent 5597fa0ce1
commit 844c6e7d9b
4 changed files with 40 additions and 0 deletions

View File

@@ -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(

View File

@@ -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],

View File

@@ -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;

View File

@@ -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(