1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-15 03:05:41 +02:00
This commit is contained in:
Justin Lin
2021-06-20 15:49:23 +08:00
parent 81413584ad
commit d0acef0cf8

View File

@@ -41,14 +41,14 @@ module sf_thicken(points, thickness, direction = undef, slicing = "SLASH") {
} }
else { else {
dir_v = direction / norm(direction); dir_v = direction / norm(direction);
sf = points + thickness * [ surface_bottom = points + thickness * [
for(y = [0:len(points) - 1]) for(y = [0:len(points) - 1])
[ [
for(x = [0:len(points[0]) - 1]) for(x = [0:len(points[0]) - 1])
dir_v dir_v
] ]
]; ];
sf_solidify(points, sf, slicing); sf_solidify(points, surface_bottom, slicing);
} }
} }