Files
IfcOpenShell/src/ifcopenshell-python/test/util
Petru Conduraru bade0647e8 util.unit: scale RepresentationContext Precision on unit conversion #6127
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>
2026-07-06 13:21:25 +02:00
..
2025-12-19 18:53:14 +05:00
2026-01-26 17:13:18 +05:00
2025-12-19 18:53:14 +05:00
2026-02-27 14:52:55 +05:00
2026-02-26 17:12:52 +05:00
2025-12-19 18:53:14 +05:00
2025-12-19 18:53:14 +05:00