mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-08-17 12:10:47 +02:00
hulling the polyhedron is enough
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user