mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
Improve formatting for imperial units for the elevation of spatial elements elevation in the spatial decomposition panel (Re #7373)
This commit is contained in:
@@ -292,7 +292,7 @@ class Unit(bonsai.core.tool.Unit):
|
||||
return f'{inches:.4g}"'
|
||||
# Show both feet and inches
|
||||
else:
|
||||
return f"{feet}'{inches:.4g}\""
|
||||
return f"{feet}' - {inches:.4g}\""
|
||||
else:
|
||||
# Use metric - choose appropriate unit
|
||||
if abs(meters) >= 1.0:
|
||||
|
||||
Reference in New Issue
Block a user