Midpoint Cl

0 views
Skip to first unread message

Mariela Laflam

unread,
Aug 4, 2024, 11:26:17 PM8/4/24
to lacoreca
Its important to note that a midpoint is the middle point on a line segment. A true line in geometry is infinitely long in both directions. But a line segment has 2 endpoints so it is possible to calculate the midpoint. A ray has one endpoint and is infinitely long in the other direction.

If you know the endpoints of a line segment you can use them to calculate the distance between the 2 points. Here you're actually finding the length of the line segment. Use the formula for distance between 2 points:


You know 2 points on a line segment and their coordinates are (13, 2) and (7, 10). Find the distance between the 2 points using the distance formula \( d = \sqrt (x_2 - x_1)^2 + (y_2 - y_1)^2 \)


Similar to this midpoint calculator is our Two Dimensional Distance Calculator. For distance between 2 points in 3 dimensions with (x, y, z) coordinates please see our 3 Dimension Distance Calculator.


i did indeed make the framing members as you describe, and now i want to be able to find the midpoint of them - how can i do this? also, how do i align the studs/joist objects precisely - i want them snapped to an exact line. i have not been able to do this as if you align by eye when you zoom in they are not exactly the same.


Shapr3D has many useful tutorials on this so I hope you watched them already! But as far as I can give a solution, the basic of that field of engineering tells us that you should have a plan of the room, then in that case you know the number and location of your joists as a 2D sketch before creating any 3D object and your problem will be solved.


i did see the video and yes i realize that when doing the initial transform/move/copy you can set the spacing precisely (and i did that) - the issue came afterward when i try to move an already existing object to some precise point in space.


Say I have a shape that has an edge with a midpoint. Perhaps an edge of a rectangle, to be concrete. I want to create another shape centered about that midpoint, maybe a smaller rectangle, or an arc, or anything, really. I click on the edge to the left of the midpoint to establish the first point. What is the best way to find the point on the edge to the right of the midpoint that is the same distance from the midpoint as the distance from the left point to the midpoint? I guess I could create a guide line at the left point, observing the distance to the midpoint, then create a guide line to the right the same distance. But that seems tedious. I wonder if there is a more elegant way?


So I wondered how to select Point 1 and Point 2 so they were both the same distance from the left and right of the midpoint of the bottom edge of the rectangle. In other words, so the the green feedback line SketchUp draws as you pull out the arc coincides exactly with that midpoint.


BTW, how did you make that great animated gif? I laboriously used Alt-Print Screen to copy my SketchUp window, and Paint to edit out everything except the piece I wanted to illustrate in my message. But there is no way to animate anything.


Still, it would be cool if they added a feature to the inferencing engine which would let you reference some point (not necessarily a midpoint), then you hit some key and moved the mouse away, and an inference point would follow your mouse, plus another one would move the same distance from the original point in the opposite direction.


Thanks, the guide idea works great. I see you created the first guide, then used the Rotate tool with the copy option to rotate a copy of the guide 180 degrees around the midpoint, so the copy will be the identical distance on the other side of the midpoint. Pretty smooth! Then you can use the guides to make lots of different shapes (arcs, rectangles, or whatever) centered on the edge.




Quite often I want to measure distance from a midpoint of an edge in a feature/part to a midpoint of an edge in another feature/part. The distance is to be projected to a common parallel plane/surface. The edges may or may not be in the same topology. This shouldn't be rocket science.


Went thru all the filters in the analysis > measure distance mode and no luck. It would be great if the analysis tool would allow you to snap to the midpoint of an edge when you activate the edge filter. Hint Hint PTC


So the only way I'm able to achieve such measurement is to create a sketch on a parallel plane/surface where I project the edges of interest as curves. I then add center construction lines and midpoint-constrain them to the projected curves. (get it? midpoint constrain?) I then add a ref dimension.


While in the measure tool, you can create datum features on the fly to assist in your measurements. So, you can create a point at the midpoint of edge 1 and another at the midpoint of edge 2. The nice thing about this is any datums you create while measuring are temporary and will be removed once you exit the measure tool.


When I tried it (while in measure tool), I selected the create point button under the datum tab. I then created the two points and it let me measure but when I exit the measure tool, the points remained in the feature tree.


There is a config.pro option that controls whether the points are temporary or not -- keep_info_datums. I'm guessing you must have it set to yes, the default value. Set it to no and the points created during measurement will be temporary.


It surprises me that, while running through the different PTC forums, I did not find the answer to a lack in Creo Parametric that seems so obvious to me and to other users who have worked with other CAD systems like SOLIDWORKS, Inventor, NX...


In all these CAD systems, it is possible to select the midpoint of a line or an edge (eg to measure between two midpoints). No problem at all. In Creo Parametric, this simple functionality isn't available at all. Or am I wrong?


I would strongly suggest that you create a whitepaper that goes into detail about the issue to define workflows and how the UI could be structured to improve things. Just stating that it needs to be more like product X because it is better is not going anywhere within PTC.


If you really want to maximize your input I would suggest getting involved with the technical committees to get enhancements discussed in that forum. The TCs have more exposure directly to the product managers responsible for developing the product.


It is certainly possible to measure the distance between the midpoint of two curves/edges in Creo. In most cases you would need to create a datum point on the curves at the midpoint which can be done within sketcher or as a feature if you anticipate the need for them.


I know about the possible answers you mention, but these take too much effort to get the expected result. PTC should enhance the Creo Parametric program with this kind of stuff if they really want to compete with other CAD systems...


thanks for your reply. I didn't know that it was that simple to propose an idea, so thanks for that. Nevertheless I fear that it is possible it will take ages before somebody from PTC gets to it, be so be it then.


I have been working for 13 years as a SOLIDWORKS consultant, so I am an expert in this CAD program. Now I am a consultant for a PTC reseller in Belgium and getting into deep on Creo Parametric. Sometimes, it is frustrating for me to notice that a lot of those basic functionalities have never been added into Creo Parametric. And not only for me, but for many of our customers as well .


The problem here is that PTC should be aware that they must do better in adding enhancements into the program if they want to keep in competing with other CAD resellers. As an example, there is a new functionality in Creo 9.0, which scales the initial sketch on entering the first dimension. That has been in SW since 2014. You can imagine how I must feel if I am presenting a "What's New" session on Creo Parametric 9.0...


I use a display tablet, Huion to be specific, but I also had the issue with using a mouse or a Wacom tablet. Anytime I have two corner points and a center point close together its a fight snap to the center point. It feels like the default setting is snap to a corner than the center. I do a lot of center point snapping. Is there any way to adjust the snapping sensitivity to default to center before other points. The only way I have found to work around this is to zoom in really close, and that waste motion and time.


try adjusting cursor acquisition box size in VW preferences, that help me with being able to easier select "midpoint" etc. However, in general there is a problem with selecting, hints etc, its not working as well as it used to.


however: I am always in click and drag mode and when I roll over a deselected object it shows mid or center, once selected it does not, second thing, when dragging an object by whatever point to snap to center the cursor will not show spell out any acquisition points, it will just highlight them which depending on zoom may not work.

3a8082e126
Reply all
Reply to author
Forward
0 new messages