Error: Processing is failing in Autodesk-Forge when converting the image to 3D - autodesk-forge

I am using https://github.com/Autodesk-Forge/recap-walkthrough-photo.to.3d for converting image to 3D, but at the end of the execution its throwing an error when the image is getting processed.
Any Help on this would be highly appreciated.
data: {
Usage: '0.44537496566772',
Resource: '/photoscene/jsjshdfjsdhgjfsdjf/progress',
Photoscene: {
photosceneid: 'jsjshdfjsdhgjfsdjf',
progressmsg: 'ERROR',
progress: '100'
}
}
is the error. Reason for this error is not coming.

Please contact the support via forge (dot) help (at) autodesk (dot) com, providing as much information as possible, e.g.:
how many images you uploaded, and what was their resolution?
how did you upload these files? If you used a custom code or script, could you share it?
when did you run these requests, and what was the Forge Client ID you used for them?
EDIT:
While the response isn't very descriptive, the engineering team confirms that this error is typically caused by insufficient input data. In this particular case only 4 images were uploaded, and the algorithm wasn't able to reconstruct the 3D screen from those.

Related

Autodesk Construction Cloud API

According to the autodeskissue.pngautodeskissue.png is from the ‘https://forge.autodesk.com/en/docs/acc/v1/reference/http/issues-issue-types-GET/’, as the photo shown there is ‘subtypes’ data in the response, but my response come from ‘my.png’my.png, there is no ‘subtypes’, so I wondering the issue is it still in beta mode, or is it I doing wrong?
To get subtypes, you need to add the query parameters include=subtypes. e.g.
https://developer.api.autodesk.com/construction/issues/v1/projects/:projectId/issue-types?include=subtypes

Unable to get the output file in Reality Capture API

I am trying to get the proper output from the API but each time it throws an error, and not having enough information about the error makes it more default here is the below example and same happened with other files too
{
"Usage": "0.47476506233215",
"Resource": "/photoscene/XkQN53pc1WCI66ExM6DnjVmKCYb6ZyRZ8ntmwdTjj8U/progress",
"Photoscene":
{
"photosceneid": "XkQN53pc1WCI66ExM6DnjVmKCYb6ZyRZ8ntmwdTjj8U",
"progressmsg": "ERROR",
"progress": "100"
}
}
What are the guidelines for the input images?
Do we have any sample input images for POC?
Thanks in advance!!
From what I've seen, these errors are often caused by insufficient input data. For example, check out this Stack Overflow question: Error: Processing is failing in Autodesk-Forge when converting the image to 3D.
Consider providing more information about your particular case - how many images have you used to reconstruct the scene, what resolution/quality were they?

What does MissingOrInvalidParts mean? Autodesk Forge API

I am following this tutorial: https://forge.autodesk.com/en/docs/model-derivative/v2/tutorials/xtract-metadata/task2-upload_source_file_to_oss/
https://i.stack.imgur.com/7k6P9.png
I am getting that error ^ and the size of my object is still 1kb when I try downloading it, so it never finalized.
Any suggestions? Better tutorials to follow for Model Derivative API?
Thanks
We do have other tutorials like https://learnforge.autodesk.io/#/tutorials/viewmodels
and also tools like https://oss-manager.autodesk.io
You can try those I believe.

WebGL context lost error on Autodesk Forge

While loading a product into the Forge viewer using latest version of Chrome, user receives a message that states "WebGL context lost". They had a model loaded into the viewer which was working fine, clicked on another model to view it and that is when they received the error message (see attachment).
Is there anything that can be done to mitigate or resolve this issue?
Click for Picture of Error Message
Here are two possibilities for this issue:
The graphic card driver is out-date, please try to upgrade it: https://knowledge.autodesk.com/support/bim-360/troubleshooting/caas/sfdcarticles/sfdcarticles/Error-WebGL-context-lost-when-viewing-files-in-BIM-360.html
There might be some viewer instances that haven't been destroyed properly. you can type NOP_VIEWERS in your browser console to see if the array length is greater than two. To fix this, you can take advantage of viewer.finish() before loading other models.

Autodesk Forge Design automation - Revit IO: unable to upload application package to design automation app

I am trying to explore design automation for Revit by exploring the code at https://github.com/Autodesk-Forge/design.automation-nodejs-revit.window.family.create.
When I run the application, I get an error message
"Failed to create the family:( "
and the following log -
jstree.min.js:5 [Deprecation] document.registerElement is deprecated
and will be removed in M73, around March 2019. Please use
window.customElements.define instead. See
https://www.chromestatus.com/features/4642138092470272 for more
details. (anonymous) # jstree.min.js:5 ForgeTree.js:348 Uncaught
TypeError: Cannot read property 'className' of undefined
at refreshTypeList (ForgeTree.js:348)
at HTMLSpanElement.spanRemove.onclick (ForgeTree.js:339)
Also while following the instruction in the provided code, most of the links give in README.md for Postman collection (https://github.com/Developer-Autodesk/design-automation-for-revit/blob/master/Docs/AppBundle.md ) was in-accessible to me.
The error you mentioned is on the browser side and it's related to the jsTree, which needs updating due to a browser change. We're fixing it on our samples.
About the overall error, it probably due to a missing setup on the sample. As a suggestion, I would suggest a basic tutorial for Design Automation. Back to the error, you probably need to check the reports.txt to see what happened during the Workitem execution.
We're also fixing a few broken links on the documentation, sorry about that. Are you looking for anything specific?
Update
Design Automation requires code:all scope.