ifcplusplus icon indicating copy to clipboard operation
ifcplusplus copied to clipboard

Missing styles and walls with cutting opening.

Open thuytran1676 opened this issue 2 years ago • 6 comments

Run SimpleViewerExampleQt.exe 1.8, load ifc file 190516-Hudson St PG-V_Test1.ifc (attached 190516-Hudson St PG-V_Test1.zip) Actual result: missing almost styling and walls with cutting opening. (See attached file IFC++1_8Viewer.png) image

Expected result: model should be displayed correctly like BimVision Viewer (See attached file BimVisionViewer.png) image

Tried to double check using SimpleViewerExampleQt.exe 1.1, better than in 1.8 but still missing cutting opening walls and styling. (See attached file IFC++1_1Viewer.png) image 190516-Hudson St PG-V_Test1.zip

thuytran1676 avatar Aug 18 '23 14:08 thuytran1676

I am using only parser from this library and have correct result, so this problem related to geometry generation code Screenshot 2023-08-18 at 18 09 48

ExternPointer avatar Aug 18 '23 15:08 ExternPointer

So that means GeometryConverter need to be adjusted? because when I tried with default GeometryConverter still have unexpected result. I mean I did not use ConverterOSG from SimpleViewerExampleQt solution.

image

thuytran1676 avatar Aug 18 '23 17:08 thuytran1676

Yes. The code responsible for the CSG operations and triangulation requires special attention. It's easier to take only the parser and rework everything else, using the IFC documentation and GeometryConverter code as a cheat sheet. Parser is really very good in this library and fast as hell, but geometry generation not so good.

ExternPointer avatar Aug 19 '23 07:08 ExternPointer

ExternPointer, can you introduce me the approach that you used to display model correctly?

thuytran1676 avatar Aug 25 '23 19:08 thuytran1676

You can contact me via the email provided in the bio

ExternPointer avatar Aug 25 '23 19:08 ExternPointer

There is still room for improvement for some geometry implementations. In case it is a commercial project, I can fix and complement any geometry type. So far, all geometry issues with customers that use the library, have been solved. You can contact me for an offer for specific models/geomety types. Contact details are here: https://ifcquery.com/

ifcquery avatar Aug 27 '23 15:08 ifcquery

This should be solved with previous update

ifcquery avatar Apr 30 '24 13:04 ifcquery