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

support depth

This commit is contained in:
Justin Lin 2020-02-20 08:47:17 +08:00
parent 3640a84769
commit 2e2b4de1eb

View File

@ -1,7 +1,8 @@
use <experimental/sf_sphere.scad>;
radius = 50;
thicnkess = 10;
thickness = 10;
depth = 5;
angle = [180, 180];
invert = false;
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]
];
sf_sphere(levels, radius, thicnkess, angle, invert);
sf_sphere(levels, radius, thickness, depth, angle, invert);