1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-10 16:54:23 +02:00

add simple doc

This commit is contained in:
Justin Lin
2020-02-18 15:53:34 +08:00
parent be8e713784
commit 9f47301aa7

View File

@@ -1,6 +1,13 @@
use <experimental/surface_grapher.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) {
columns = len(levels);
rows = len(levels[0]);