GeometryGym / GeometryGymIFC

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

About the IfcClosedShell #82

Closed ZhShihang closed 1 year ago

ZhShihang 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) .

ZhShihang 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));