Open manuvarkey opened 2 months ago
@Moult (as per discussion on matrix)
Is this the way to address this ? or what is the best approach ?
https://github.com/IfcOpenShell/IfcOpenShell/commit/2fdf97477c230db308e15c5fdb31a9952ed9ebb5
I don't think this is the right approach. I think we should implement a new function in util.unit perhaps which rounds to the precision value already defined in the IFC - of which the purpose is to show the precision of this type of length value (I think, ping @aothms )
@Moult Where is precision defined in IFC ?
In the Precision attribute of IfcGeometricRepresentationContext - it'll be the Model context since it's a 3D coordinate.
What if you have 5 different people working on the same IFC file and they want to change the tolerance of this read out in the ui?
Yes, we need both, but we need precision first, and then user-configurable "display" later on.
@Moult Is the following implementation ok ?
Decimal values entered in elevation field are not rounded and displays large number of decimal places.