[OpenSCAD] avoiding assertion violation

Dan Shriver tabbydan at gmail.com
Tue Jul 16 13:19:59 EDT 2019


I am getting:


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.posix/include/CGAL/Nef_S2/SM_const_decorator.h
Line: 329


And I am wondering what I should do to avoid it.


If I want to take a 3D shape and make another 3D shape by transposing it so
it overlaps itself (and other shapes) do I have to do a "union () {}"
operation over all of them to clean up intersections between the shapes? I
tried it with and without the union and still get the exception.


I don't think my points are particularly close together. They would be:


[0, 73.2099] [1, 72.66682] [2, 70.4477] [3, 64.1422] [4, 46.9017] [5, 0]


most of the y values are probably irrational but I don't think they are
"too close" (maybe I'm wrong).


I make a polygon with this and then do rotate extrude and scale it [8,8,1]
and [8,12,1]


I am making a catenoidal dome so it is kind of hard for me to avoid
irrational numbers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190716/9298e2c1/attachment.html>


More information about the Discuss mailing list