small fixes after d209cc9ff, added a test

This commit is contained in:
Andrej730
2024-03-11 15:15:06 +05:00
parent a064173ffe
commit 0576914e07
2 changed files with 8 additions and 2 deletions
@@ -566,8 +566,8 @@ def convert(value, from_prefix, from_unit, to_prefix, to_unit):
return value
def calculate_unit_scale(ifc_file, unit_type='LENGTHUNIT'):
"""Returns a unit scale factor to convert to and from IFC project length units and SI meters
def calculate_unit_scale(ifc_file, unit_type="LENGTHUNIT"):
"""Returns a unit scale factor to convert to and from IFC project units and SI units.
Example: