mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 02:49:12 +00:00
Process entities with the "Facetation" RepresentationIdentifier too
Fixed a bug in the rendering of IfcTrimmedCurve Inverted the resulting transformation of IfcCartesianTransformationOperators
This commit is contained in:
@@ -159,7 +159,8 @@ IfcGeomObjects::IfcGeomObject* _get() {
|
||||
|
||||
// Has the list of IfcProducts for this representation been initialized?
|
||||
if ( ! entities ) {
|
||||
if ( shaperep->RepresentationIdentifier() != "Body" ) {
|
||||
if ( shaperep->RepresentationIdentifier() != "Body" &&
|
||||
shaperep->RepresentationIdentifier() != "Facetation" ) {
|
||||
_nextShape();
|
||||
continue;
|
||||
}
|
||||
@@ -219,7 +220,7 @@ IfcGeomObjects::IfcGeomObject* _get() {
|
||||
|
||||
if ( (openings && openings->Size()) || use_world_coords ) {
|
||||
if ( shape ) delete shape;
|
||||
TopoDS_Shape temp_shape (shapes);
|
||||
TopoDS_Shape temp_shape = shapes.Moved(gp_Trsf());
|
||||
try {
|
||||
if (openings && openings->Size()) IfcGeom::convert_openings(entity,openings,temp_shape,trsf);
|
||||
} catch( IfcParse::IfcException& e ) {Ifc::LogMessage("Warning",e.what()); }
|
||||
|
||||
Reference in New Issue
Block a user