ERROR: CGAL error in CGAL_Nef_polyhedron3()
Describe the bug On MAC OS Sequoia 15.4.1 OpenSCAD-2025.03.20.dmg was still OK. As of version OpenSCAD-2025.03.21.dmg, the following error occurs in connection with the latest BOLS2 library from 2025-04-27: ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e_below != SHalfedge_handle() File: /Users/distiller/libraries/install/include/CGAL/Nef_3/SNC_FM_decorator.h Line: 418 ERROR: CGAL error in CGAL_Nef_polyhedron3(): CGAL ERROR: assertion violation! Expr: e_below != SHalfedge_handle() File: /Users/distiller/libraries/install/include/CGAL/Nef_3/SNC_FM_decorator.h Line: 418 ERROR: CGAL error in CGALUtils::applyUnion3D: CGAL ERROR: assertion violation! Expr: itl != it->second.end() File: /Users/distiller/libraries/install/include/CGAL/Nef_3/SNC_external_structure.h Line: 1078
To Reproduce Steps to reproduce the behavior:
- Open OpenSCAD-2025.03.21.dmg or newer
- Open scad-document with this content:
include <BOSL2/std.scad>
$fa=1;
$fs=0.2;
Wand_D = 2.4;
Rundung = Wand_D;
module Flaschenring(DI=86, H=12, Topf_D=8) {
union() {
// grosser Ring
cyl(d=DI+Wand_D, h=H, anchor=BOT);
// Topfbefestigung
back((DI+Wand_D+Topf_D)/2) cuboid([20,Topf_D+2*Wand_D,H], rounding=Rundung, teardrop=true, anchor=BOT);
}
}
Flaschenring();- Click Preview
- Wait very long ...
- See error
Expected behavior as in OpenSCAD Version 2025-03-20
Environment and Version info (please complete the following information):
- MAC OS Sequoia 15.4.1
- MacBook Pro M1 max
- OpenSCAD Version 2025-03-21 or newer
Source: openscad/openscad