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.
What's the best way to center something between two points/lines/...
jeff_mcaffer
Member Posts: 64 ✭✭
Say you have two parallel lines and want to center a circle between them. It would be awesome if you could add a "center" constraint where you add the two lines (or more) and the object to be centered and it just does it. To date I've been adding a construction line between the two reference objects (lines in my example here), adding a construction point midway along that line and then constraining the object (point in the example) to be vertical/horizontal/whatever to that mid-point. That's a lot of clicks. Is there a better way?
Note: I can totally see how this might get complicated in various scenarios but the simple case seems pretty common (at least in my usage) so having a simpler workflow would be great.
Thanks
Note: I can totally see how this might get complicated in various scenarios but the simple case seems pretty common (at least in my usage) so having a simpler workflow would be great.
Thanks
Tagged:
0
Answers
IMO an explicit "centered" constraint would be just as intentional and communicative. For example, the midpoint constraint could be removed and we could all construct two parallel, equal, and end coincident lines to get a mid-point to coincide with. Instead, we have a first-class midpoint constraint.
It might even be interesting to consider expanding the midpoint constraint to handle these sorts of scenarios...
@steve_shubin, I didn't know you could apply it like that. Cool!
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴