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.

Help Understanding and Reconstructing Assembly Transformations Outside Onshape

Clayton_KrauseClayton_Krause Member Posts: 2 PRO

Hello — I’m looking for guidance on how to work around Onshape’s assembly transformation behavior when processing assemblies externally.

Description:
I have a top-level assembly that contains multiple inserted sub-assemblies, each with varying nesting depth. In Onshape, every sub-assembly is positioned correctly in assembly space using mates.

My goal is to:

  1. Export each sub-assembly individually (via Parasolid X_T) in its own local part space for downstream mesh conversion.
  2. Separately export the full top-level assembly and programmatically replace its inserted sub-assemblies with those pre-exported local assets.

To do that, I need to know each sub-assembly’s offset and orientation within the top-level assembly. The challenge is that Onshape appears to push all transformation data down to the leaf parts, so intermediate sub-assemblies carry no transform — only their child parts have absolute (world-space) transforms.

I can trace consistent BTI/InstanceId paths between the API response and my exported data, and I’ve been trying to use the Assembly Definition API to reconstruct sub-assembly transforms from that. However, I haven’t yet found a reliable method to derive those intermediate offsets or re-establish the hierarchy outside Onshape.

Has anyone solved this or found a practical way to recover sub-assembly transformation data from Onshape’s API exports?

Thanks in advance for any insight.

Answers

  • Clayton_KrauseClayton_Krause Member Posts: 2 PRO

    Posted to "general" category by mistake. Request made to admin for it to be moved to "community support".

Sign In or Register to comment.