Skip to main content
Question

How can I construct valid geometry for CSG Builder

  • May 23, 2023
  • 2 replies
  • 23 views

i am currently working on a task, extracting geometry from IFC file and point cloud and building solid meshes and compare them getting the differences.

but as I use generated point cloud solid meshes and IFC solid meshes from IFCwall IFCdoor IFCwindows and IFC Column. but the geometry is always invalid when i put them in to CSG builder.

 

how can i compare difference of two big geometry and what kind of geometry accept CSG builder ?

2 replies

daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • 1637 replies
  • May 23, 2023

Hi @fdh12316​,

The IFC data is read as a solid aggregated to a number of Null instances containing the Property Set information. You may need to use a GeometryPartExtractor to extract the solid geometry from the aggregate before sending to the CSGBuilder. I would also recommend using a Clipper instead of the CSGBuilder, since it has been recently updated for performance, and may give faster results.


  • Author
  • 1 reply
  • May 25, 2023

Thanks for the answer, I will try it out!