ifcquery / ifcplusplus

IfcPlusPlus is an open source C++ class model, as well as a reader and writer for IFC files in STEP format. Features: Easy and efficient memory management using smart pointers. Parallel reader for very fast parsing on multi-core CPU's. Additionally, there's a simple IFC viewer application, using Qt and OpenSceneGraph. It can be used as starting point for all kinds of applications around the open building model standard IFC.
http://www.ifcquery.com
MIT License
585 stars 211 forks source link

Some problems with using convertGeometry(). #283

Open jiangxiaoyuyu opened 1 month ago

jiangxiaoyuyu commented 1 month ago

Sorry to bother you, but I found some possible errors with the convertGeometry() function while using ifcplusplus. In my understanding, this part is to find the set of grids that should have holes, and then subtract the set of holes to generate a new mesh.

  1. Should m_meshsets be replaced with m_meshsets_open? 2.CSG_Adapter::computeCSG Performing grid subtraction does not seem to work. 02
jiangxiaoyuyu commented 1 month ago

On the left is the bim model and on the right is the obj file created with carve ~(88P$}U~TZDK_FU8OBPXH

ifcapps commented 1 month ago

It could be a bug in the obj export. It could be a bug in Carve. To find out, you can debug the code with Visual Studio for example. Or check the file with the example Qt Viewer.

jiangxiaoyuyu commented 1 month ago

This is the txt format of the ifc file,The part that performs csg compute doesn't seem to work example.txt