mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Slabs with voided profiles are now supported.
This commit is contained in:
@@ -391,6 +391,8 @@ class Usecase:
|
||||
def create_arbitrary_void_extrusion_representation(self):
|
||||
helper = Helper(self.file)
|
||||
indices = helper.auto_detect_arbitrary_profile_with_voids_extruded_area_solid(self.settings["geometry"])
|
||||
if not indices["inner_curves"]:
|
||||
return self.create_arbitrary_extrusion_representation()
|
||||
profile_def = helper.create_arbitrary_profile_def_with_voids(
|
||||
self.settings["geometry"], indices["profile"], indices["inner_curves"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user