Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Creating equal spacing between different size objects in a sketch
jeff_day734
Member Posts: 9 ✭
in Drawings
I am trying to figure out how to evenly distribute a set of objects in a sketch. My goal is to create equal spacing between a set of different sized circles along a line, as shown in the screen shot below. I would like to set the position of the first and last circle in the line and have onshape automatically distribute the other circles so there is equal spacing between the edges of each.
This is pretty simple in most drawing programs, which typically have "Distribute Horizontally/Vertically" commands, but I don't see any equivalent in an OnShape sketch. I don't believe that linear patterns supports this requirement, as that seems to be about duplicating objects/polygons from their existing locations. And constraints don't work because the distance between the center point of each pair of circles needs to be different.
Thoughts?
This is pretty simple in most drawing programs, which typically have "Distribute Horizontally/Vertically" commands, but I don't see any equivalent in an OnShape sketch. I don't believe that linear patterns supports this requirement, as that seems to be about duplicating objects/polygons from their existing locations. And constraints don't work because the distance between the center point of each pair of circles needs to be different.
Thoughts?
0
Comments
You can also set the two outer spacers equal to each other and set them to some value, and then set all of the inner spacers equal and let them be the resultant. Or you could get rid of the outer spacers and just dimension the circles from the edges how ever you want.
https://cad.onshape.com/documents/391c117af2ccdf354a32c30e/w/417b2e155bf49f7b8278d4db/e/cab47a90ffd51f556c1843c9