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:
@@ -44,17 +44,17 @@ module function_grapher(points, thickness, style = "FACES", slicing = "SLASH") {
|
||||
pts_faces1 = tri_shell_points(top_tri1);
|
||||
pts_faces2 = tri_shell_points(top_tri2);
|
||||
|
||||
hull() {
|
||||
polyhedron(
|
||||
|
||||
hull() polyhedron(
|
||||
points = pts_faces1[0],
|
||||
faces = pts_faces1[1]
|
||||
);
|
||||
polyhedron(
|
||||
|
||||
hull() polyhedron(
|
||||
points = pts_faces2[0],
|
||||
faces = pts_faces2[1]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module tri_to_lines(tri1, tri2) {
|
||||
polyline3d(concat(tri1, [tri1[0]]), thickness);
|
||||
|
Reference in New Issue
Block a user