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

support negative deep

This commit is contained in:
Justin Lin
2021-07-12 13:54:39 +08:00
parent 82e328dc56
commit c4075b886d

View File

@@ -140,7 +140,12 @@ module polyhedron_frame(points, faces, deep, outer_thickness, inner_thickness =
[for(i = face) leng_outer_inner + i]
]);
polyhedron(all_points, all_faces);
if(deep > 0) {
polyhedron(all_points, all_faces);
}
else {
polyhedron(all_points, [for(f = all_faces) reverse(f)]);
}
}
/*