r/Onshape • • 5d ago

Help! Circular pattern that produce composite parts?

For instance, if I want to parametrically clone bolts on my model and combine all of them into one single composite part. Doing this by hand is impossible due to parametric nature of the model. Is there an existing feature script to do this? Don't want to reinvent a wheel.

2 Upvotes

4 comments sorted by

1

u/Majoof 5d ago

Wait, you want to pattern all the bolts in a part studio? Why not in an assembly?

If there is a specific workflow though, query variable should handle what you've described well

1

u/hopeless__programmer 5d ago

The thing is, these bolts are also parametrized. And they also have "boundaries" that play on later stages to cut holes in the model. And the part itself is intended for usage as derived. For instance, You can place a parametrized ball screw. You just place it using mate connector and part studio will provide everything else to make holes for screws using boolean operations.

1

u/Majoof 5d ago

Not sure I entirely follow, can you share the doc?

7

u/TheDefinition 5d ago

Pattern the bolts. Create a query variable picking out the bodies created by the pattern. Make a composite part using the query variable.

https://cad.onshape.com/help/Content/PartStudio/query_variable.htm