CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor and other Autodesk products []
Cesky English Deutsch
 Visitors: 3081 

CAD tip CAD tip # 6463:

Question CAD 
 %  platform  category 
Q - question

Find a point in a 1/4 or 1/3 distance between two points (smart M2P).

A - answer The M2P (MTP) option (command modifier) on any coordinate prompt allows to enter a point in the middle of the distance between two points. But sometimes you will need to specify a coordinate also in a different ratio of distances to the given points or along a curve - e.g. divide in 1/4, 2/3, etc.

The CADstudio SEG2P utility is such "generalized" M2P tool. Just APPLOAD this utility and then type the transparent options 'seg2p or 'segcur on any AutoCAD prompt for point coordinates. Then specify the required segment ratio (distance).

Seg2P returns coordinates of a segment between two given points. SegCur returns coordinates of a segment measured along a selected curve entity (e.g. in 1/4 of its length).


Specify point: 'seg2p
 SEG2P> First point for segment: _
 SEG2P> Second point for segment: _
 SEG2P> Segment ratio <0.5>: 3/4
(123.45 678.9 0.0)
You can enter the ratios either as "0.25" or as "1/4", "3/4", etc.

Make sure you have no OSNAP active when using the function - the resulting coordinate may get "snapped" to the nearest midpoint, endpoint, intersection, etc.


100% *  CAD 
6.1.2009    5982x  
Comments   Tell a friend

See also:
Tip 11076:Reading 3D point matrix from a CSV file.
Tip 11054:Difference volume (3D solid) between two TIN surfaces (sets of coordinates)
Tip 10709:How to create a profile from imported XYZ points in Fusion 360?
Tip 10682:Automatic classification of drawing objects by their properties.
Tip 10365:Coordinate Tracker vs. Track Coordinates - how to track XYZ in Civil3D?

Back   All CAD Tips All CAD tips&tricks

How to disable the pop preview when printing from AutoCAD to PDF? « | » Wrong corridor or section templates in Civil 3D?

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Increase your productivity with our set of BIM add-on functions for Autodesk Revit
CADstudio Revit Tools More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.