- Provide logging information to IfcBlender

- Disallow open curves for IfcPolygonalBoundedHalfSpace [fixes #3405490 Incorrectly rendered wall in FZK-Haus-EliteCAD.ifc]
- Disable tolerance on IfcCompositeCurve
- Try to convert IfcConnectedFaceSets to TopoDS_Solids regardless of whether they are open or closed shells, improves openings in IFC files exported by Revit
- Provide debugging information based on shape volume on IfcBooleanClippingResult and IfcOpeningElement
This commit is contained in:
Thomas Krijnen
2011-10-12 16:43:29 +00:00
parent e6c5e5e10c
commit 34efb480d6
11 changed files with 78 additions and 25 deletions
+5 -4
View File
@@ -2,12 +2,13 @@
#define SHAPE(T) \
if ( l->is(T::Class()) ) { \
try { \
bool b = convert((T*)l,r); \
if ( b ) { \
if ( convert((T*)l,r) ) { \
Cache::Shape[l->entity->id()] = r; \
return true; \
} else { return false; }\
} catch(...) { Ifc::LogMessage("Error","Failed to convert:",l->entity); } \
} \
} catch(...) { } \
Ifc::LogMessage("Error","Failed to convert:",l->entity); \
return false; \
}
#include "IfcRegisterDef.h"