Can't show translated .zip files on Autodesk Viewer after translating them with Forge APIs

81 views Asked by At

I've tried following the tutorial on how to translate .zip files sending all the requests using Postman. Everything went smoothly with no errors and the responses where all as they were supposed to be. In the end I saved the response as a .stl file but when I try to visualize it on the online Autodesk Viewer it says that the model is empty.

I've been trying several times this tutorial, and on different Forge apps now but the result is always the same. Except for one time where Autodesk Viewer visualized what seemed like a single object of the file Tuner.zip.

1

There are 1 answers

3
Petr Broz On

Note that there are a couple of requirements when processing a collection of files with the Model Derivative service:

  • you must include all the required files (for example, the main Inventor assembly file as well as all the Inventor part files that are referenced by it) in the zip
  • the files in the zip archive should not be in any subfolders
  • when submitting the Model Derivative job, you have to include the compressedUrn and rootFilename parameters