With the freeware utility CADstudio MoveTill you can edit the selected drawing object so that it will just touch the specified boundary object(s). You can choose between the operations Move, Scale and Rotate. Unlike standard commands, you don't specify exact parameters of the operation - you only suggest the direction.
This type of AutoCAD editing operations can be usually performed with the help of object snaps (osnaps). In some situations (e.g. if it is not clear where will the objects touch first, 'scale to fill-up' or 'passing through a limited space' tasks, etc.) it is not possible to use osnaps, and here will help this iterative method of incremental changes performed in an automatic loop with more and more accurate steps - see an example:
You can download the MoveTill utility from Download and load it into AutoCAD with APPLOAD. Then you can type the command MOVETILL, SCALETILL or ROTATETILL to start the requested iterative operation. Within it you will select the edited object, the potential boundary object or objects and the reference point or direction for the stepped changes. The application supports all types of 2D DWG objects.
For Move you specify the direction vector (its size is irrelevant), for Scale you specify just the reference point, for Rotate you specify the reference point and the direction of the rotation (cw, ccw).
In Setup you can select the animation mode (fast, slow, interactive on pressing Enter), precision for detecting the intersection (interference with the boundary), the iteration rate (speed) and the maximum number of iteration loops.
In some cases (e.g. with thin objects) the iteration proces may not come to a solution - in this case try to decrease the iteration rate, e.g. to 0.8.
You can also preset the iteration parameters with the LISP variables:
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:
Featuring: Increase your productivity with our set of BIM add-on functions for Autodesk Revit CADstudio Revit Tools
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.