ElementFactoryMixin
- class compas_ifc.factory.ElementFactoryMixin
Bases:
objectMixin that adds element creation shortcuts to a Model subclass.
Expects the host class to provide: -
self.add_element(element, parent=...)— from compas_model.Model -self._file—IFCFile-self.unit(settable) -self.name(settable)Methods
Create an IfcBeam and add it to the model.
Create an IfcColumn and add it to the model.
Create an IfcDoor and add it to the model.
Create a building element and add it to the model.
Create an IfcRoof and add it to the model.
Create an IfcSlab and add it to the model.
Create an IfcWall and add it to the model.
Create an IfcWindow and add it to the model.
Create a template BIM model with default spatial hierarchy.
Inherited Methods