1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-03-14 02:59:42 +01:00

add comments

This commit is contained in:
Justin Lin 2019-07-02 15:43:23 +08:00
parent 0cfa510874
commit 90c05523ce
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,13 @@
/**
* px_circle.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-px_circle.html
*
**/
function _px_circle_y(f, y) = f >= 0 ? y - 1 : y;
function _px_circle_ddf_y(f, ddf_y) = f >= 0 ? ddf_y + 2 : ddf_y;
function _px_circle_f(f, ddf_y) = f >= 0 ? f + ddf_y : f;

View File

@ -1,3 +1,13 @@
/**
* px_cylinder.scad
*
* @copyright Justin Lin, 2019
* @license https://opensource.org/licenses/lgpl-3.0.html
*
* @see https://openhome.cc/eGossip/OpenSCAD/lib2-px_cylinder.html
*
**/
function _px_cylinder_px_circle(radius, filled, thickness) =
let(range = [-radius: radius - 1])
filled ? [