opensourceBIM / BIMserver

The open source BIMserver platform
GNU Affero General Public License v3.0
1.56k stars 610 forks source link

The IFC rendering result isn't complete #709

Closed boundaryfree closed 6 years ago

boundaryfree commented 6 years ago

I used BIMserver and BIMSurfer (latest version 1.5.95) to render the IFC file [terrain_missing.ifc.zip] (https://github.com/opensourceBIM/BIMserver/files/1722442/terrain_missing.ifc.zip) . But some components (e.g. the terrain object) were missing in the render result (the first attached picture). I tried to convert the IFC file to glTF file by IfcOpenShell and COLLADA2GLTF tools. And open the glTF file in one viewer, the result was correct ((the second attached picture)).

result_by_bimserver_surfer result_by_ifcopenshell
rubendel commented 6 years ago

The object that is missing here is the IfcSite. The IfcSite in this model has two representations, one of them is 2D. The other representation is an IfcRepresentationItem object with the "RepresentationIdentifier" set to "Facetation". The Streaming checkin only allowed "Body" in this field. The IfcSite documentation says it can also be "Facetation", so I changed this in the code. Thanks for reporting.