GeometryGym / GeometryGymIFC

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

About the IfcClosedShell #82

Closed BIM4SmartHydropower closed 1 year ago

BIM4SmartHydropower commented 1 year ago

Hi, If a number of different types of facets are instantiated, how to add them to the same closded shell bellow. IfcClosedShell(IEnumerable faces) .

BIM4SmartHydropower commented 1 year ago

Maybe add surfaces to the IfcSurface list is a good idea

jmirtsch commented 1 year ago

You can add or revise the faces after the constructor. Something like this:

List faces = new List(); IfcClosedShell closedShell = new IfcClosedShell(faces); closedShell.CfsFaces.Add(new IfcFace(xxx));