mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-13 18:24:28 +02:00
add simple doc
This commit is contained in:
@@ -1,6 +1,13 @@
|
|||||||
use <experimental/surface_grapher.scad>;
|
use <experimental/surface_grapher.scad>;
|
||||||
use <experimental/tf_sphere.scad>;
|
use <experimental/tf_sphere.scad>;
|
||||||
|
|
||||||
|
/*
|
||||||
|
levels : A list of numbers (0 ~ 255).
|
||||||
|
radius: sphere radius.
|
||||||
|
thickness: shell thickness
|
||||||
|
angle: [za, xa] mapping angles.
|
||||||
|
invert: inverts how the gray levels are translated into height values.
|
||||||
|
*/
|
||||||
module sphere_surface(levels, radius, thickness, angle = [180, 360], invert = false) {
|
module sphere_surface(levels, radius, thickness, angle = [180, 360], invert = false) {
|
||||||
columns = len(levels);
|
columns = len(levels);
|
||||||
rows = len(levels[0]);
|
rows = len(levels[0]);
|
||||||
|
Reference in New Issue
Block a user