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.

Midpoint of Two Points

zachary_oldhamzachary_oldham Member Posts: 7

In a sketch, I have a line segment that has two points on it. These points are constrained in their position on the line segment by dimensions. I wanted to create a new point at the midpoint between these two points, and was very surprised to find that midpoint tool could not do that, and that "Midpoint constraint requires a point and a line or arc." In retrospect it makes sense given that the midpoint constraint constrains a point you select to the midpoint position of a line segment or arc you select, but it also seems like there should be an easy way to either create a new point at the midpoint of two other points, or constrain a point that already exists to the midpoint of two other points. Does this capability exist somewhere that I am unaware of? I was able to work around this by creating a new line segment between the two points and constraining a point to the midpoint of that, but it feels a bit awkward given that the two points were already on a line segment.

Comments

  • henry_feldmanhenry_feldman Member Posts: 135 EDU

    Concur, that is a feature Fusion has which is very nice (they have a range of mid-things you can specify, midpoint, mid plane, mid-thought, etc (ok the last one is not real but could be?) You can get around this with a kludge of creating another line with construction and use that line's midline between the points (or just make your line with the points have segments at each point.

  • robert_scott_jr_robert_scott_jr_ Member Posts: 752 ✭✭✭

    If a point is placed on the line between the two existing points you can make the new point at midpoint between the original two points by selecting the two original points and then the new point and assign the midpoint constraint to it. - Scotty

  • wayne_sauderwayne_sauder Member, csevp Posts: 645 PRO

    I find that when placing points on lines, it's often better to use split rather than point. Then, downstream operations can use either the midpoint or the equals constraint.

  • eric_pestyeric_pesty Member, pcbaevp Posts: 2,565 PRO

    As @robert_scott_jr_ said, you can actually do this fine if you select the two end points first and the midpoint.

    Midpoint.gif

    @wayne_sauder also brings up a good point where split does provide more flexibility.

  • zachary_oldhamzachary_oldham Member Posts: 7

    That is good to know! Thank you all. I suppose that changes my request to "make it more clear that you can do this with the midpoint constraint"

  • zachary_oldhamzachary_oldham Member Posts: 7

    This is very good to know, thank you @wayne_sauder. I suppose that means my real request is that this should be mentioned in the docs, as unless I am missing something obvious it does not appear to be (this is what I am looking at)

  • CADNurdCADNurd Member Posts: 79 ✭✭

    Definite upgrade needed for the help-files here - currently no mention of this functionality. Not even a single example given which shows that selecting 'three' things is even an option.

    Unemployed Onshaper - Operating on European time - More of me here ➤➤ https://linktr.ee/Liam.G

  • EvanReeseEvanReese Member, Mentor Posts: 2,838 PRO

    @eric_pesty nailed it as usual. My guess on why it's a "hidden capability" is that it was needed for the center point rectangle tool constraints (that's where I learned about this), and was otherwise not the intended use. I find myself using it this was somewhat often though. @CADNurd another 3-selection one is symmetry. For both of these I don't think the selection order matters, but the starting positions do, as the solver finds the nearest solution.

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
Sign In or Register to comment.