You can now parametrically create profile / layer based objects of any type, no longer limited to walls, slabs, etc.

This commit is contained in:
Dion Moult
2021-08-10 18:56:15 +10:00
parent ab38e6bf7c
commit cb95c93424
6 changed files with 52 additions and 43 deletions
+8
View File
@@ -17,6 +17,14 @@ class LibraryGenerator:
self.create_layer_type("IfcWallType", "DEMO200", 0.2)
self.create_layer_type("IfcWallType", "DEMO300", 0.3)
self.create_layer_type("IfcCoveringType", "DEMO20", 0.02)
self.create_layer_type("IfcRampType", "DEMO200", 0.2)
profile = self.file.create_entity(
"IfcCircleProfileDef", ProfileType="AREA", Radius=0.3
)
self.create_profile_type("IfcPileType", "DEMO1", profile)
self.create_layer_type("IfcSlabType", "DEMO150", 0.2)
self.create_layer_type("IfcSlabType", "DEMO250", 0.3)