mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
Add ability to export parameterised profiles for material profiles.
This commit is contained in:
@@ -7,7 +7,13 @@ cwd = os.path.dirname(os.path.realpath(__file__))
|
||||
class IfcSchema():
|
||||
def __init__(self):
|
||||
self.schema_dir = os.path.join(cwd, 'schema') # TODO: make configurable
|
||||
self.products = ['IfcElement', 'IfcSpatialStructureElement', 'IfcStructural', 'IfcMaterialDefinition']
|
||||
self.products = [
|
||||
'IfcElement',
|
||||
'IfcSpatialStructureElement',
|
||||
'IfcStructural',
|
||||
'IfcMaterialDefinition',
|
||||
'IfcParameterizedProfileDef'
|
||||
]
|
||||
self.elements = {}
|
||||
self.property_file = ifcopenshell.open(os.path.join(self.schema_dir, 'IFC4_ADD2.ifc'))
|
||||
self.psets = {}
|
||||
|
||||
Reference in New Issue
Block a user