matt_391
2018-11-30 14:09:19 UTC
Hi All
I'm new to OpenSCAD, so apologies if this is a rookie error or a know issue,
but I haven't been able to find any references to searching the forum or
github bug tracker. I'm posting here to try and find out if this is a true
bug or if I'm making a mistake!
My issue is that a polyhedron will often render missing some faces; consider
the following minimal example (screenshot of my result at the bottom):
polyhedron( points = [[0,0,0] , [10,0,0] , [0,10,0] , [0,0,10]] , faces =
[[0,1,2],[0,1,3],[0,2,3],[1,2,3]]);
translate([20,0,0]) cube(5);
Note that if I render the polyhedron without the cube afterward (i.e. just
the first line), it renders correctly. My workaround has been two wrap the
polyhedron in a "hull", but this seems dangerous; what if a more complex
polyhedron fails such that one of the vertices has no faces meeting it? It
would get miss off the hull, I suspect.
Thanks in advance for any help or advice.
screenshot:
<Loading Image...>
--
Sent from: http://forum.openscad.org/
I'm new to OpenSCAD, so apologies if this is a rookie error or a know issue,
but I haven't been able to find any references to searching the forum or
github bug tracker. I'm posting here to try and find out if this is a true
bug or if I'm making a mistake!
My issue is that a polyhedron will often render missing some faces; consider
the following minimal example (screenshot of my result at the bottom):
polyhedron( points = [[0,0,0] , [10,0,0] , [0,10,0] , [0,0,10]] , faces =
[[0,1,2],[0,1,3],[0,2,3],[1,2,3]]);
translate([20,0,0]) cube(5);
Note that if I render the polyhedron without the cube afterward (i.e. just
the first line), it renders correctly. My workaround has been two wrap the
polyhedron in a "hull", but this seems dangerous; what if a more complex
polyhedron fails such that one of the vertices has no faces meeting it? It
would get miss off the hull, I suspect.
Thanks in advance for any help or advice.
screenshot:
<Loading Image...>
--
Sent from: http://forum.openscad.org/