WebGL-threeJS
WebGL-threeJS copied to clipboard
Empty array as a response
For some reason I'm getting an empty JS array as the base64 decoded response file for the getDownloadData
call from the server.
I tried querying the getProgress
before the actual getDownloadData
and that seems to indicate no error:
__type: "SLongActionState"
end: null
errors: Array[0]
infos: Array[0]
oid: -1
progress: 0
rid: 0
stage: 2
start: 1454694239264
state: "STARTED"
title: "Preparing download..."
warnings: Array[0]
Tried disabling the result cache on the BIM server side as well, no luck, still an empty array for the response.
This is the actual response for the getDownloadData
call:
__type: "SCheckoutResult"
file: "Ww0KDQpdDQo="
oid: -1
projectName: "Test project 2"
revisionNr: 1
rid: 0
Here is an example IFC2X3 file the problem occurs with: http://tume-maailm.pri.ee/ylikool/bim/HP-45513_500_VENTILATION_.ifc
In the serializer code, there is a restriction to some IfcProduct
subtypes: IfcWall
, IfcWindow
, IfcDoor
, IfcSlab
, IfcColumn
- none of which happens to be in your example file. This is legacy code and I would remove it, since it does not make sense. All IfcProduct
entities may have a geometrical representation, and even those exclusively listed could be without - since representations are optional in IFC.