discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: The given mesh is not closed

JB
Jordan Brown
Tue, Jul 19, 2022 11:13 PM

On 7/19/2022 3:59 PM, Bogdan Caramalac via Discuss wrote:

I noticed it doesn’t want to draw everything on F6. On F5 it doesn’t
return an error, however.

Still, the prisms in the drawing are drawn with a diagonal on each
4-point faces. Anything else I tried it was either incomplete or it
has this diagonal. I don’t know how to get rid of it, this is a
possible cause for the error, I think.

Sample program, please.

Based on the error message alone, you've got a polyhedron() or import()
that's malformed.

On 7/19/2022 3:59 PM, Bogdan Caramalac via Discuss wrote: > > I noticed it doesn’t want to draw everything on F6. On F5 it doesn’t > return an error, however. > > Still, the prisms in the drawing are drawn with a diagonal on each > 4-point faces. Anything else I tried it was either incomplete or it > has this diagonal. I don’t know how to get rid of it, this is a > possible cause for the error, I think. > Sample program, please. Based on the error message alone, you've got a polyhedron() or import() that's malformed.
F
fxeconomist@yahoo.com
Tue, Jul 19, 2022 11:30 PM

piecePoints=[P2,P3,P4,P1,P1e,P4e];

// 0 1 2 3 4 5

bottomFace=[1,0,3,2];

outerFace=[0,3,4];

innerFace=[5,2,1];

angledFace=[0,4,5,1];

cathetusFace=[5,4,3,2];

pieceFaces=[

bottomFace,

cathetusFace,

angledFace,

outerFace,

innerFace

];

`piecePoints=[P2,P3,P4,P1,P1e,P4e];` ` // 0 1 2 3 4 5` ` bottomFace=[1,0,3,2];` ` outerFace=[0,3,4];` ` innerFace=[5,2,1];` ` angledFace=[0,4,5,1];` ` cathetusFace=[5,4,3,2];` ` ` ` pieceFaces=[ ` ` bottomFace,` ` cathetusFace,` ` angledFace,` ` outerFace,` ` innerFace` ` ];`