mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-12 01:34:12 +02:00
rename
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use <experimental/sphere_surface.scad>;
|
use <experimental/sf_sphere.scad>;
|
||||||
|
|
||||||
radius = 50;
|
radius = 50;
|
||||||
thicnkess = 10;
|
thicnkess = 10;
|
||||||
@@ -105,4 +105,4 @@ levels = [
|
|||||||
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
|
[255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]
|
||||||
];
|
];
|
||||||
|
|
||||||
sphere_surface(concat(levels, levels), radius, thicnkess);
|
sf_sphere(concat(levels, levels), radius, thicnkess);
|
@@ -8,7 +8,7 @@ use <experimental/tf_sphere.scad>;
|
|||||||
angle: [za, xa] mapping angles.
|
angle: [za, xa] mapping angles.
|
||||||
invert: inverts how the gray levels are translated into height values.
|
invert: inverts how the gray levels are translated into height values.
|
||||||
*/
|
*/
|
||||||
module sphere_surface(levels, radius, thickness, angle = [180, 360], invert = false) {
|
module sf_sphere(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