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

fix thicnkess

This commit is contained in:
Justin Lin
2020-02-19 12:18:20 +08:00
parent b08c2d482a
commit fa9b23a117

View File

@@ -31,11 +31,12 @@ module sf_sphere(levels, radius, thickness, angle = [180, 360], invert = false)
]
];
offset_z = invert ? thickness : 0;
sf_solidify(
[
for(row = surface1)
[
for(p = row) tf_sphere(size, p, radius + thickness, angle)
for(p = row) tf_sphere(size, p, radius + offset_z, angle)
]
]
,