GeometryGym / GeometryGymIFC

C# classes to generate and parse OpenBIM IFC files
Other
270 stars 97 forks source link

Creating IfcStructuralSurfaceMember with opening #3

Open kvasnevskyivlad opened 6 years ago

kvasnevskyivlad commented 6 years ago

Hello, I want to create IfcStructuralSurfaceMember with a hole, can I even do this or is it not provided by the IFC itself?

jmirtsch commented 6 years ago

Sure, assuming the surface is planar, you can generate a IfcCurveBoundedPlane as the underlying surface of the face, this has an attribute InnerBoundaries which enables voiding.

I can put together a sample if the description isn't sufficient to help.

kvasnevskyivlad commented 6 years ago

model.zip I tried to do what you said, but I did not succeed. I'm looking through the result .ifc with IfcQuery, but it's a plate without a hole. I apply .ifc file

jmirtsch commented 6 years ago

I'm not sure which IFC implementations are going to recognize this, but I took a look and this is what I would suggest. https://github.com/jmirtsch/GeometryGymIFCExamples/tree/master/ConsoleCreateSurfaceMember

My developments should convert this. If you have suggestions for alternatives I look forward to hearing them.

kvasnevskyivlad commented 6 years ago

Thank you, you helped me a lot. Thanks to your example, I succeeded