CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 5943

CAD tip CAD tip # 13887:

Question CAD 
 %  platform  category 
Q - question

ClosestPt - the nearest point on another curve

A - answer Using the freeware utility ClosestPt you can create lines connecting two nearest points on two different 2D or 3D curves (line, polyline, spline, etc.) - i.e. shortest connecting lines.

Download the file ClosestPt.vlx from Download, load it into your AutoCAD using APPLOAD and run it by typing the command CLOSESTPT.

Select the main and the secondary curves and then choose the method of searching for the nearest points. The option Vertices connects the nearest existing nodes (vertices) on both curves - creates connecting lines. The option Point2vertex connects the picked point on the main curve (use the Nearest osnap) with the nearest node (vertex) on a secondary curve. The option pOint2point works similarly, but connects any nearest point on the secondary curve (not only vertices). The given specified precision will be used (an absolute distance tolerance).

The two dynamic option works in the same way - Dyn2vertex and dYn2point, where you can interactively specify points on the main curve and temporary connecting lines are drawn, including their lengths. By mouse left-click you will draw the connecting line as permanent.

The option prEcision will preset the used precision. You can also set it by presetting the LISP variable:

(setq _closestsprecision 0.1)

The usage of the application is illustrated in the video:

100% *  CAD 
15.10.2023    27627×  

Back   All CAD Tips

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.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.