Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Any way to translate an exploded view?

aaron_pattyaaron_patty Member Posts: 3 ✭✭

Hi,

I'm looking for a way to translate exploded views and their individual steps to multiple gLTF files. The real goal is to be able to use the standard web interface to create parts and assemblies. Then create exploded views of the assemblies. In our own webapp we would then use the API to update the parts by updating the variables in the variable studio(s). These changes would then be automatically reflected in the associated assemblies and all the exploded views, which I need to use the API to then create gLTF (or STL / OBJ) data to display them in our own webapp.

I see the following in the API:

GET /assemblies/d/{did}/{wvm}/{wvmid}/e/{eid}/explodedviews

This works well to list the available exploded views. But, I can't figure out how to translate them. I tried using the following:

POST /assemblies/d/{did}/{wv}/{wvid}/e/{eid}/translations

but I can't see how to specify the id for the exploded views. I tried using elementId and elementIds, but it threw an error.

Any guidance on how to accomplish this?

Thanks in advance!!!

Sign In or Register to comment.