Creating IfcCompositeProfileDef along with IfcMirorredProfileDef
I'm trying to create a composite element type with multiple profile extrusions. Has anyone tried IfcMirroredProfileDef
and IfcCompositeProfileDef
. I have been able to make the composite profile partially successful, but, with mirroring, my element type fails.
Any help in this direction. I am trying to do this with IfcOpenshell
I have also changed the Position
attribute of the profile to achieve the relative placement of profiles within the composite profile. Is that how it is done?
Comments
fails how?
I think it depends whether subprofiles of the composite profile should still be available without the offsets. To keep the offset separate from the original profiles you can use
IfcDerivedProfileDef
.Hi @Andrej730
I've done a simple test to create a mirrored profile from a u-profile and assign it to a beam type.
This is my code below
I'hv also shared the error message on opening the ifc file.
Is the shape creation for
IfcMirroredProfileDef
failing?I'm also attaching the test ifc file fyr
I think it's a bug, started an issue on github - https://github.com/IfcOpenShell/IfcOpenShell/issues/4307
@Arv
Tested - mirrored profiles are now supported too. Feel free to reopen issue on github if you find any related issues.