xBimTeam / XbimEssentials

A .NET library to work with data in the IFC format. This is the core component of the Xbim Toolkit
https://xbimteam.github.io/
Other
485 stars 172 forks source link

Display question #475

Open dimitrisBl opened 1 year ago

dimitrisBl commented 1 year ago

Hello xBimTeam,

Is there any chance i could display XBimGeometryObject, or any of its sub types or XBimShapeGeometry into model space. The point is to have the abillity to create ifc representation (IfcRepresentation) from Brep file. Here is a short snippet

Code

Best regards.

martin1cerny commented 1 year ago

We don't have code for this out of the box, but it should be relatively straightforward to translate IXbimGeometryObject to IfcFacetedBrep. You are welcome to contribute the code to the Toolkit if you develop it.

Do you have a usecase where it is desirable to store the BRep rather than the actual geometry definition (extruded profile in this case)?

dimitrisBl commented 1 year ago

Hello martin,

The reason I would like to store Brep rather than the actual geometry definition is that specifically IfcExtrudedAreaSolidTapered is not supported in some CAD applications eg AutoCAD/BricsCAD and I would like to display the geometry cross platform.

Best regards.