ifcplusplus icon indicating copy to clipboard operation
ifcplusplus copied to clipboard

Some problems with using convertGeometry().

Open jiangxiaoyuyu opened this issue 1 year ago • 4 comments

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 avatar Jul 20 '24 09:07 jiangxiaoyuyu

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

jiangxiaoyuyu avatar Jul 20 '24 09:07 jiangxiaoyuyu

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.

ifcapps avatar Jul 22 '24 09:07 ifcapps

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

jiangxiaoyuyu avatar Jul 22 '24 09:07 jiangxiaoyuyu

Image

The order of the points was incorrect. After modification, the test passed successfully.

lauming avatar Mar 12 '25 02:03 lauming