mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-01 17:36:27 +00:00
bade0647e8
IfcGeometricRepresentationContext.Precision is typed as a plain IfcReal but is interpreted in the project length unit, so the IfcLengthMeasure traversal in convert_file_length_units never touched it. A model converted from mm to m kept a Precision of e.g. 0.01 (fine in mm, huge in m), which breaks downstream geometry interpretation such as IfcConvert boolean cleanup. Subcontexts derive Precision from their parent, so only root contexts are scaled. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>