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.
Select Midpoint vs. add point, add midpoint relation
Sam
Member Posts: 3 ✭
Is there a built-in way to select the midpoint of a line versus creating a line, then adding a point to it and adding a relation to that?
9
Comments
Twitter: @onshapetricks & @babart1977
Someone could add this IR up for voting?
@john_faraci
Midpoint inferencing was added to sketching a while ago. Here is an example:
If this doesn't clear it up, could you describe in more detail the trouble you are having?
Can you show some examples of how to create a midpoint relation....without creating a sketch point on the midpoint of the line?
Thanks
Creation of point geometry can be very helpful in the design process, yet currently Onshape only supports point creation on existing geometry and can only sense curve end points, the "Mid Point" of lines and arcs, intersections of curves, plus vertical/horizontal alignment with surrounding geometry. Creating points at other (more abstract) locations requires the creation of supplimental geomtery with additional constraints
I seems logical that additional point creation methods should exist to faciltate more abstract point location creation. Here is what I think should be considered:
1) Create point between two existing points.
Note, I did not say "create mid point between two existing points". While the mid point location maybe the most common location desired, this creation method should have provisions to specify the point as a percentage, or scalar distance between the points selected. Obviously the default method should be "Percentage" at value of "50%"; the mid point.
2) Create point on a curve.
While the existing point create function does this, it does not allow specifing a precise location along the curve's length. This method would allow the point location to be specified as a percentage (U, or S value), or scalar distance along its length*. Setting the value to 50% essentually makes it functionally equivant to what Onshape currently does when it senses the mid point.
* for non-linear curves the length value must fall between the curves end points.
3) Create translated point.
This method is thrown in for completion. It is included to satisfy those who want a simple and direct way to create points relative to other points. This method should allow for either delta XY, or Rho/Theta data entry. (Note: Absolute locations with respect the the global coordinate systen are affect by selecting the "Origin" as the reference point.)
(I wouldn't be surprized if someone has already written a FeatureScript to do this. However, the functionality needs to fully integrated in the Sketcher which I do not think this is currently possible using FeatureScripting.)
The above only applies to the 2D Sketch context, but it is applicable to when (if ever) Onshape allows 3D point creation in Part Studio and Assembly contexts.
if you goal is to center them about the origin, select the origin and two diagonal points then use the midpoint constraint. Repeat for the other corners. This is similar to how the center point rectangle tool is constrained when it's created.
This is when I can't catch a mid point. Trying to add a coincident constraint after the fact. I can catch the mid point if I draw a new point.
IF the highlighted face is centered on the origin, then use the Symmetric constraint
If you drag the point onto the edge, rather than using the coincident constraint, you will be able to inference to the midpoint: