#6582·openscad

CGAL Error with projection (example basics/projection.scad)

Author: MichaelAtOzCreated Jan 29, 2026Updated Sep 27, 2026
LabelsDep: CGALType: BugFixed by manifold

NOTE: This Issue is not just a CGAL error, it involves projection(). If you don't use projection, do NOT post a CGAL error here.

I'm working thru the other examples, using CGAL first. Got a CGAL error in 2026, not in 2021.

Caches Flushed
Loaded design 'OpenSCAD-2026.01.25-x86-64/examples/Basics/projection.scad'.
 
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
ECHO: version = [2026, 1, 25]
Compiling design (CSG Products generation)...
Geometries in cache: 14
Geometry cache size in bytes: 265976
CGAL Polyhedrons in cache: 0
CGAL cache size in bytes: 0
Compiling design (CSG Products normalization)...
Compiling background (1 CSG Trees)...
Normalized tree has 4 elements!
Compile and preview finished.
Total rendering time: 0:00:01.770
 
Parsing design (AST generation)...
Compiling design (CSG Tree generation)...
ECHO: version = [2026, 1, 25]
Rendering Polygon Mesh using CGAL...
ERROR: CGAL error in CGALUtils::applyUnion3D: CGAL ERROR: assertion violation!
Expr: itl != it->second.end()
File: /mxe/usr/x86_64-w64-mingw32.static.posix/include/CGAL/Nef_3/SNC_external_structure.h
Line: 1084
WARNING: No top level geometry to render

Originally posted by @MichaelAtOz in #6569

Some detail to follow...