discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Yet Another Question About STL Imports

LM
Leonard Martin Struttmann
Mon, Oct 3, 2022 3:15 AM

So, for a lot of reasons (mostly a tight schedule), I'm trying to put some
downloaded STLs together in OpenSCAD to 3D print props for a local theater.

Each of the STL files attached will render fine by themselves.  But when I
try to put them together in a model, I get:

ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion
violation! Expr: e_below != SHalfedge_handle() File:
/mxe/usr/x86_64-w64-mingw32.static.posix/include/CGAL/Nef_3/SNC_FM_decorator.h
Line: 426

The file "repairedBody-right.stl" has been repaired by Meshmixer.

This worked great for the left side of the prop. This right side is giving
me problems.

Any suggestions?

I really don't want to put in the effort to model the Body-right from
scratch.

Code:


union()
{
import( "repairedBody-right.stl" );

translate( [ 44, -27, -3 ] )
import( "hammer.stl" );
}


So, for a lot of reasons (mostly a tight schedule), I'm trying to put some downloaded STLs together in OpenSCAD to 3D print props for a local theater. Each of the STL files attached will render fine by themselves. But when I try to put them together in a model, I get: ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e_below != SHalfedge_handle() File: /mxe/usr/x86_64-w64-mingw32.static.posix/include/CGAL/Nef_3/SNC_FM_decorator.h Line: 426 The file "repairedBody-right.stl" has been repaired by Meshmixer. This worked great for the left side of the prop. This right side is giving me problems. Any suggestions? I really don't want to put in the effort to model the Body-right from scratch. Code: ------------------------------- union() { import( "repairedBody-right.stl" ); translate( [ 44, -27, -3 ] ) import( "hammer.stl" ); } -------------------------------
LM
Leonard Martin Struttmann
Mon, Oct 3, 2022 3:29 AM

Never mind.

I just discovered OpenSCAD's mirror(), which made this problem moot.

As you were.  Please disregard the previous question.

Thanks!

Len

On Sun, Oct 2, 2022 at 10:15 PM Leonard Martin Struttmann <
lenstruttmann@gmail.com> wrote:

So, for a lot of reasons (mostly a tight schedule), I'm trying to put some
downloaded STLs together in OpenSCAD to 3D print props for a local theater.

Each of the STL files attached will render fine by themselves.  But when I
try to put them together in a model, I get:

ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion
violation! Expr: e_below != SHalfedge_handle() File:
/mxe/usr/x86_64-w64-mingw32.static.posix/include/CGAL/Nef_3/SNC_FM_decorator.h
Line: 426

The file "repairedBody-right.stl" has been repaired by Meshmixer.

This worked great for the left side of the prop. This right side is giving
me problems.

Any suggestions?

I really don't want to put in the effort to model the Body-right from
scratch.

Code:


union()
{
import( "repairedBody-right.stl" );

translate( [ 44, -27, -3 ] )
import( "hammer.stl" );
}


Never mind. I just discovered OpenSCAD's mirror(), which made this problem moot. As you were. Please disregard the previous question. Thanks! Len On Sun, Oct 2, 2022 at 10:15 PM Leonard Martin Struttmann < lenstruttmann@gmail.com> wrote: > So, for a lot of reasons (mostly a tight schedule), I'm trying to put some > downloaded STLs together in OpenSCAD to 3D print props for a local theater. > > Each of the STL files attached will render fine by themselves. But when I > try to put them together in a model, I get: > > ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion > violation! Expr: e_below != SHalfedge_handle() File: > /mxe/usr/x86_64-w64-mingw32.static.posix/include/CGAL/Nef_3/SNC_FM_decorator.h > Line: 426 > > The file "repairedBody-right.stl" has been repaired by Meshmixer. > > This worked great for the left side of the prop. This right side is giving > me problems. > > Any suggestions? > > I really don't want to put in the effort to model the Body-right from > scratch. > > Code: > > ------------------------------- > > union() > { > import( "repairedBody-right.stl" ); > > translate( [ 44, -27, -3 ] ) > import( "hammer.stl" ); > } > > ------------------------------- > > > >