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.

Centering shapes in drawings, What tool should i use?

tom_scotttom_scott Member Posts: 4
Hi, i'm fairly new to Onshape. Im after a simple way to center the middle rectangle - (width wise) within the larger rectangle. What tool should i use and how?

Thanks in advance.




Best Answer

Answers

  • tom_scotttom_scott Member Posts: 4
    Thanks again Michael!
  • joshua_samsjoshua_sams Member Posts: 21 PRO
    hi all
    (I know this thread is old but it very much describes the problem I am having right now)

    back when using solidworks I used to be able to select the midpoint of a line in a sketch and then also select a midpoint of a previous sketch/feature then constrain them vertically or horizontal.

    very powerful feature meaning they would stay in the middle no matter if I changed dimensions in the previous feature or the next sketch making revisions much neater and quicker


    using a construction line or constraints with a  centre rectangle works but only for rectangles. I often do sketches where I want just one line constrained that way 


    is there any way to do this in Onshape?
  • wayne_sauderwayne_sauder Member, csevp Posts: 559 PRO
    edited August 2020
     If I understand your question correctly I would use a center point rectangle and constrain the center to the midpoint of a line in your other rectangle. Looked at your post again, you can put points(using the point tool) on center points of lines and contain only that point. I use that trick a fair bit.  
Sign In or Register to comment.