1
0
mirror of https://github.com/JustinSDK/dotSCAD.git synced 2025-08-17 20:11:50 +02:00

hulling the polyhedron is enough

This commit is contained in:
Justin Lin
2017-04-29 10:04:52 +08:00
parent 3bb19fbe2d
commit 252656eb73

View File

@@ -44,16 +44,16 @@ module function_grapher(points, thickness, style = "FACES", slicing = "SLASH") {
pts_faces1 = tri_shell_points(top_tri1); pts_faces1 = tri_shell_points(top_tri1);
pts_faces2 = tri_shell_points(top_tri2); pts_faces2 = tri_shell_points(top_tri2);
hull() {
polyhedron( hull() polyhedron(
points = pts_faces1[0], points = pts_faces1[0],
faces = pts_faces1[1] faces = pts_faces1[1]
); );
polyhedron(
hull() polyhedron(
points = pts_faces2[0], points = pts_faces2[0],
faces = pts_faces2[1] faces = pts_faces2[1]
); );
}
} }
module tri_to_lines(tri1, tri2) { module tri_to_lines(tri1, tri2) {