okb4 / ifcplusplus

Automatically exported from code.google.com/p/ifcplusplus
Other
1 stars 0 forks source link

Missing windows, misplaced lines for Digital210King #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Opening the nice model of Digital210King:  
http://www.digital210king.org/downloader.php?file=16

What is the expected output? What do you see instead?
I attached a screenshot from Solibri showing the expected result.
Instead, a set of windows is missing (top floor), and lines are misplaced 
(popping up through the roof)

What version of the product are you using? On what operating system?
Using https://github.com/VTREEM/IFCPlusPlus2 based on revision trunk/20, on OS 
X.

Original issue reported on code.google.com by sylvain....@vtreem.com on 5 Aug 2014 at 8:06

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The meshes of the openings in the upper level are not closed. So the CSG 
operation fails. Tekla BimSight also fails to generate the same openings.

There are ways to fix non-watertight meshes. Carve even has some routines that 
could be used for that, maybe with some adaptions. 
Maybe only carve::EPSILON needs to be adapted to fix the non-closed meshes.

I don't want to put effort in this at the moment, but if anyone has 
suggestions, I would be happy to merge them into the repository

Original comment by fabian.g...@gmail.com on 6 Aug 2014 at 2:25

GoogleCodeExporter commented 9 years ago
I've converted the file with the latest IfcConvert (IfcOpenShell) and the last 
floor windows look all right. Maybe IfcOpenShell's codebase could provide hints 
on how to sort the issue in IFC++? Despite IfcOpenShell relying on tpaviot's 
OCE to do the CSG ops.

Original comment by ivano....@gmail.com on 8 Aug 2014 at 11:42

Attachments: