M2P - Midpoint between two endpoints?
Registered forum members do not see this ad.
I think the picture says it please help lol![]()




M2P - Midpoint between two endpoints?
m2P... NEVER HEARD OF IT lol im a newbee![]()
i will look up for it
thanks anyway
I do not believe M2P or MTP was available in AutoCAD 2004. However it is available in 2007. AutoCAD Helps has this to say about it:
"The midpoint between two points (MTP) command modifier can be used with running object snaps or object snap overrides."
kaz_gold: Why not just use your midpoint osnap?
"I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police
Eat brains...gain more knowledge!








Here's m2p for those who don't have it, add it to the acaddoc.lsp file. 'm2p to invoke it transparently, or put 'm2p on a button.
Code:(defun mid2pt (p1 p2 / x y z) (setq x (/ (+ (car p1)(car p2)) 2)) (setq y (/ (+ (cadr p1)(cadr p2)) 2)) (setq z (/ (+ (caddr p1)(caddr p2)) 2)) (list x y z)) (defun c:m2p ( / p1 p2) (setq p1 (getpoint "\nFirst point: ")) (setq p2 (getpoint "\nSecond point: ")) (mid2pt p1 p2))
If the length of the beam at point load center was needed.. wouldn't you just need the centroid of the beam that is holding it?? If the knee braces and columns are equal to the distance between the weight in the beam that is holding the weight.. Point load X Length of beam cubed / 48EI will give you the deflection @ 1.5 Tonne SWL... You can then work the shear forces with a shear force diagram.. From the picture, in the middle is maximum bending moment..
You can do this by typing;
L (enter)
shift+right click
select "mid between 2 points" from the list
select the 2 midpoints of the end of the beam..
Last edited by khama; 25th Mar 2008 at 03:02 pm.
Khama
Bachelor of Science Mechanical Engineering
Diploma Civil & Structural Engineering
Diploma Engineering NDT
Turn on snaps, make sure midpoint is checked. Then when you choose line (or whatever) the triangle points to the mid point. This assumes that the gantry crane is symetrical.
Be careful on this forum, it's more addictive than solitaire.
Registered forum members do not see this ad.
or....
(looking at your screen layout so assuming you're drawing from toolbars)
right click the toolbars and select the snaps toolbar to show, then invoke the draw command, but select the midpoint icon from your new toolbar before selecting your start point
Find your newbest friend
at
Rain Rescue
If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor
Bookmarks