Forge Model derivative fails for large IFC files

大兔子大兔子 提交于 2021-02-11 12:32:26

问题


I was trying to use model derivative API for translating fairly large (~6GB) IFC file.

I've used chunked upload for uploading file, and successfully finished uploading file to the server.

However, after submitting job, model derivative process has exited with following message:

messages":[{"type":"error","message":"Unrecoverable exit code from extractor: -1073741829","code":"TranslationWorker-InternalFailure"}]

I was not able to correctly identify the issue further more; Would you please help me debug the issue please?

If you need URN and the original file, please let me know.

Thanks!


回答1:


Commonly, the default storage size of the Forge OSS buckets for each developer account is limited to 5GB as I know, please see details here.

If your model file size exceeds this limit, the total size of the uploaded model might be incomplete. An easy to check the total uploaded file size in bytes is call GET buckets/:bucketKey/objects or GET buckets/:bucketKey/objects/:objectName/details. In the response, the size attribute is the file size uploaded onto Forge server. You can compare it with the file in your computer disk.

{
    "bucketKey": "apptestbucket",
    "objectId": "urn:adsk.objects:os.object:apptestbucket/test.ifc",
    "objectKey": "test.ifc",
    "sha1": "e9d93eb76f98f60b2b79d4e8e848c556a99fdf8e",
    "size": 88167,
    "location": "https://developer.api.autodesk.com/oss/v2/buckets/urn:adsk.objects:os.object:apptestbucket/test.ifc"
}


来源:https://stackoverflow.com/questions/53384013/forge-model-derivative-fails-for-large-ifc-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!