Arch IFC import, add simplificated method to get pset properties

This commit is contained in:
Bernd Hahnebach
2020-07-28 06:00:31 +02:00
parent c10275b439
commit ebaac63777
+6
View File
@@ -502,6 +502,12 @@ def getIfcProperties(ifcfile, pid, psets, d):
return d
def getIfcPsetPoperties(ifcfile, pid):
""" directly build the property table from pid and ifcfile for FreeCAD"""
return getIfcProperties(ifcfile, pid, getIfcPropertySets(ifcfile, pid), {})
# ************************************************************************************************
def getScaling(ifcfile):
"""returns a scaling factor from file units to mm"""