May 26, 2013

Find mid point between two points in AutoCAD

Do you know how to find midpoint between two referenced points in your AutoCAD drawing? One of the popular way is using object snap tracking. Or some of us draw temporary lines to do it, then erase it when we finished.

There are two tools that we can use as alternatives: calculator and ‘CAL expression.

Using AutoCAD calculator

Have you used AutoCAD calculator (QUICKCALC)? Calculator probably is one of the most rarely used features. Many of us prefer to use Windows calculator or even a spreadsheet. This calculator can do basic and scientific calculations. And it looks just like Windows calculator. And this time, we will calculate coordinates.

AutoCAD_calculator

You can open calculator from view tab in your ribbon, in palettes panel.

palettes_panel

One thing that it has, but not in Windows calculator are these tools:

options

You can get points coordinate, distance, angle, and intersection coordinate from your drawing. In this example, you can activate get coordinate and pick from your drawing. Your pointer will change to allow you to pick point. Click a reference point to acquire the coordinate.

acquire_point

The interesting this, you can calculate those coordinates directly. Below, I pick a point, press + then pick another one. After I press = then the value will be shown.

calculated_coordinate

What is it for? We can divide the value by 2 to get the midpoint between those two points!

divide_by_2

Now we get the coordinate. Try to activate circle or any other tool. When AutoCAD ask you for the center, click paste value to command line from AutoCAD calculator. Press [enter] then you get the center point at the middle of the two referenced points! A midpoint even there is no lines!

You can also use snaps in calculator input. Something like (END+END)/2 and save your common function as variables. Ellen Finkelstein shows how you can create custom variables in calculator here.

Using ‘CAL expression

‘CAL is probably one of the forgotten tools too. Even AutoCAD veterans sometimes doesn’t realize this tool exists. You can use it directly when a command is active and asking for an input. In this sample, I activate circle. When AutoCAD asked for a point, I type ‘CAL then [enter].

In expression, I typed (END+END)/2. This will let AutoCAD know we want to find two end points, sum the coordinate, and finally divide it by two. After we press [enter], AutoCAD will ask for the end points. Click your end points, then after you have done, the circle will be created at the middle of those two points.

Command: C
CIRCLE Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: ‘CAL
>>>> Expression: (END+END)/2
>>>> Select entity for END snap:
>>>> Select entity for END snap:

Resuming CIRCLE command.
Specify center point for circle or [3P/2P/Ttr (tan tan radius)]:
12.086721713978,7.2434797523953,0

Specify radius of circle or [Diameter]: 3

Using Mid Between 2 Points

This is the easiest way to find a midpoint between two points. You can simply choose it from snap tools. You can hold [shift] then press right button mouse then choose it from the list (see shift tips no.1 here).

Or you can type _M2P to activate it from command line.

Thank you to Edward Winter (@iPinda) who reminds me about this one.

The animation

Want to see animation how it works? See the video on our YouTube channel below!



What’s your favorite way? Does it ‘CAL? Calculator? Object snap tracking? Or draw temporary lines?

I personally like ‘CAL. I don’t like having many OSNAPs on, so typing (mid+mid)/2 makes sense for me than having to activate snap everytime, to find reference points.

Advertisement



You might also interested to

About Edwin Prakoso

Edwin works as an Application Engineer in Jakarta, Indonesia. He has 4 years experience in building industry, then start to work for Autodesk reseller.
He is certified as Revit Architecture 2010 certified professional and AutoCAD 2013 certified professional.
He loves sharing his experience and starts to blog on CAD notes. Now using CAD is more to a lifestyle for him than working.
You can reach him on twitter @CADnotes. You can also connect with him on LinkedIn. If you prefer email, reach him at edwin.prakoso@cad-notes.com.

  • http://www.tonyscivil3dworld.blogspot.com tony

    great post. I will definitely have to try this out.

    tony

  • drafter

    do you know how to do this similar in bricscad? (no CAL feature).

  • drafter

    never mind, found it

    _m2p (osnap)

  • new2cad

    before i use Object snap tracking, but now its Cal becaus Object snap tracking takes time :):)
    Thank you Sir for this Great tutorial…