mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
dd9fa65629
The CGAL kernels (cgal and cgal-simple) allocate arc segments as a fraction of the full circle via CircleSegments, ignoring the radius. A large-radius arc that spans a small angle therefore collapsed to a single chord, turning curved curtain-wall mullions straight while the OpenCascade kernel (which meshes by deflection) kept them curved. evaluate_conic now also enforces a deflection-based floor on the number of segments, keeping the chord deviation within mesher-linear-deflection, matching OpenCascade. Small circles are unchanged (CircleSegments floor still dominates); only large-radius curves get denser. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>