GeometryGym / GeometryGymIFC

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

IfcSectionedSpine and/or IfcSectionedSolidHorizontal #90

Open CJAndrew84 opened 1 year ago

CJAndrew84 commented 1 year ago

Jon

I've tried using IfcSectionedSolidHorizontal successfully but having issues with Viewers that dont support it and validation.building complaining about its use: image

So i tried to use IfcSectionedSpine instead, but the library doesn't have any public constructors and Visual Studios complains about any or no Arguments being used.

Snapshot of the code image

jmirtsch commented 1 year ago

I'm not sure how soon we might expect IfcSectionedSolidHorizontal to be supported by many viewers. Looks like the validation is simply that the shape representation Type string isn't matching. Looks like it should be "SolidModel" rather than SectionedSpine. How are you generating this? I have added a public constructor for IfcSectionedSpine in the latest build of the toolkit, but again this shape is not commonly encountered (and likely supported).

CJAndrew84 commented 1 year ago

Thanks Jon. I suppose the use of this will increase as Infrastructure projects starting using IFC4x3 more and more move to OpenBIM processes (creating their own IFCs)