That point that you want to be, and it will return the second point.Ĭan you imagine having to do that using car, cadr, etc.įirst you would have to break the list down into each separate component,ĭo all the calculations on each individual item, and then re-construct theįollowing is an example of how to use POLAR to construct a simple square or rectangle from values input by the user : (defun DTR (a) degrees to radians function In a nutshell, you feed it a point, tell it the angle and distance from This, I believe, is one of the most useful functions in the AutoCAD stable. POLAR : Returns the UCS 3D point at a specified angle and distance from a point. The Polar function is defined in the AutoCAD Customization manual as follows :
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |