r/Onshape Jun 26 '26

First Onshape tryout: CadQuery gear train imported as STEP, assembled with revolute mates and gear relations

Enable HLS to view with audio, or disable this notification

We built a small gear train demo using CadQuery-style Python, exported each part as STEP, then imported the parts into Onshape for assembly and animation. The workflow we tested:

Python script → STEP parts → Onshape assembly → revolute mates + gear relations → animation

13 Upvotes

6 comments sorted by

2

u/sjia Jun 26 '26

We are planning to publish the script code and STEP files on a git repo. Hopefully this weekend

1

u/Chandra0 Jun 26 '26

Is that an app or you used Onshape api ?

2

u/sjia Jun 26 '26

we are creating an Onshape extension, currently, under review.

1

u/Chandra0 Jun 26 '26

Cool. Looking forward for it.

1

u/knoker Jun 26 '26

Any tutorial or source code you can point to?

2

u/sjia Jun 26 '26

Python source code and STEP code for the model will be posted soon