mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-16 03:34:42 +02:00
support depth
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
use <experimental/sf_sphere.scad>;
|
use <experimental/sf_sphere.scad>;
|
||||||
|
|
||||||
radius = 50;
|
radius = 50;
|
||||||
thicnkess = 10;
|
thickness = 10;
|
||||||
|
depth = 5;
|
||||||
angle = [180, 180];
|
angle = [180, 180];
|
||||||
invert = false;
|
invert = false;
|
||||||
levels = [
|
levels = [
|
||||||
@@ -107,4 +108,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]
|
||||||
];
|
];
|
||||||
|
|
||||||
sf_sphere(levels, radius, thicnkess, angle, invert);
|
sf_sphere(levels, radius, thickness, depth, angle, invert);
|
Reference in New Issue
Block a user