mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 01:41:57 +00:00
Redundant closing symbol ' (#4413)
* scale placeangleunit * add radian si_conversions * return conversion value of planeangleunit * Update unit.py * redundant closing * redundant closing
This commit is contained in:
@@ -593,7 +593,7 @@ def calculate_unit_scale(ifc_file, unit_type='LENGTHUNIT'):
|
||||
while unit.is_a("IfcConversionBasedUnit"):
|
||||
unit_scale *= unit.ConversionFactor.ValueComponent.wrappedValue
|
||||
unit = unit.ConversionFactor.UnitComponent
|
||||
if unit.is_a("IfcSIUnit")':
|
||||
if unit.is_a("IfcSIUnit"):
|
||||
unit_scale *= get_prefix_multiplier(unit.Prefix)
|
||||
return unit_scale
|
||||
|
||||
|
||||
Reference in New Issue
Block a user