mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-15 11:14:17 +02:00
add comments
This commit is contained in:
@@ -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) =
|
function _bijection_edges_from(pts) =
|
||||||
let(leng = len(pts))
|
let(leng = len(pts))
|
||||||
concat(
|
concat(
|
||||||
|
@@ -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) =
|
function path_scaling_sections(shape_pts, edge_path) =
|
||||||
let(
|
let(
|
||||||
start_point = edge_path[0],
|
start_point = edge_path[0],
|
||||||
|
@@ -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) {
|
module starburst(r1, r2, n, height) {
|
||||||
a = 180 / n;
|
a = 180 / n;
|
||||||
|
|
||||||
|
@@ -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) = [
|
function torus_knot(p, q, phi_step) = [
|
||||||
for(phi = [0:phi_step:6.28318])
|
for(phi = [0:phi_step:6.28318])
|
||||||
let(
|
let(
|
||||||
|
Reference in New Issue
Block a user