Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CGAL build fails #1

Open
vandenzel opened this issue Apr 20, 2020 · 9 comments
Open

CGAL build fails #1

vandenzel opened this issue Apr 20, 2020 · 9 comments

Comments

@vandenzel
Copy link
Contributor

Error message:

ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e->incident_sface() != SFace_const_handle() File: /opt/mxe/usr/x86_64-w64-mingw32.static/include/CGAL/Nef_S2/SM_const_decorator.h Line: 326

Probably has to do with polygons.

@raboof
Copy link
Member

raboof commented Apr 21, 2020

How are you triggering this? OpenSCAD preview, render and export to STL all seem to work for me.

http://forum.openscad.org/CGAL-what-does-this-mean-td21992.html mentions this issue in relation to importing STL

@vandenzel
Copy link
Contributor Author

I'm running OpenSCAD version 2015.03-2. Maybe a bug.

@vandenzel
Copy link
Contributor Author

Now installed OpenSCAD version 2019.05. Stilll the same bug. Maybe Windows?

@vandenzel
Copy link
Contributor Author

Same issue on another windows machine with 2019.05

@raboof
Copy link
Member

raboof commented Apr 21, 2020

Do you get the error on startup? Or when you load the file or perform an operation?

@vandenzel
Copy link
Contributor Author

vandenzel commented Apr 21, 2020

When I render the design (F6). Preview (F5) works fine

@raboof
Copy link
Member

raboof commented Apr 21, 2020

Ah - looking closer I do have the same problem, and it prevents the 'obverse' side from being rendered correctly. Interesting!

@vandenzel
Copy link
Contributor Author

It could have something to do with illegal collision of faces or vertices. A redesign using polygons instead of dropping squares gave the same error.

@raboof
Copy link
Member

raboof commented Apr 21, 2020

You'd expect OpenSCAD to have enough information to resolve the collision though... or at least give a better error msg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants