nicolas Posted July 23, 2021 Posted July 23, 2021 Hi, Seemed possible to create a perpendicular line from a specific point on a line a few days ago but unable to do it again and I have looked countless places without any success. So far I can do so changing the UCS or using LINE, Shift+Right Click, Perpendicular, Click Line and move away from the line to next point and then move the line to desired position. I have also read in a forum about a LISP that can do this but I believe there is a method using LINE and Perpendicular OS to do same. Please advise. Thanks. Quote
BIGAL Posted July 23, 2021 Posted July 23, 2021 Try osnap set to perp only osmode 128 then can Line Near and a perp line should then appear and you can enter pick length etc. A lisp would do this as well. May also be able to use Cal. 1 Quote
steven-g Posted July 23, 2021 Posted July 23, 2021 Use the UCS command to align the UCS with the line and then use ortho F8 1 Quote
tombu Posted July 23, 2021 Posted July 23, 2021 For Civil 3D users there's a LINEPERPENDICULAR command for doing just that. Lee Mac's Cursor Rotate lisp makes this easy though. http://www.lee-mac.com/cursorrotate.html Pick the line to set snap angle and set Grade to 0 after you're done. 1 Quote
eldon Posted July 23, 2021 Posted July 23, 2021 Amongst several different ways of drawing a perpendicular from a line, the one I use most of the time is to have Polar Tracking permanently on. As long as it is set up to measure the Polar angle relative to last segment, then I start from the line using Nearest OS, and then the guide lines show where perpendicular is. 1 Quote
nicolas Posted July 24, 2021 Author Posted July 24, 2021 Thank you all for your input. I believe the idea is more likely perpendicular to line or perpendicular from line. Creating the per. line from a specific position on that line through an intersecting arc, another line or a point is a second operation that can be achieved by many of the methods you mentioned. I have noted that polar tracking with relation from last segment option really work when all the object snaps are off except the one needed namely endpoint, midpoint. However if the particular position is pinpointed by an actual point and using NODE, polar tracking method does not work. The point is not an integral part of the line. Where an endpoint of the arc meet the end point of the line, polar tracking does not work if the cursor is exactly on the end point but it does work when the end point of the line is selected a bit away. I believe this is due to two end point meeting and the software need to know exactly from which object to create the perpendicular line: the line or the arc. Quote
eldon Posted July 24, 2021 Posted July 24, 2021 Yes, Polar Tracking does have its limitations. But as you seemed prepared to move a line after drawing it, you could construct the line (I favour the object snap Nearest) and then move the line to the desired position. There is always the option to offset the line, then draw the line from the node or intersection to the perpendicular of the offset line. So many different ways to do it! 1 Quote
nicolas Posted July 24, 2021 Author Posted July 24, 2021 @eldon I just tried your last tip. It works just fine. Thanks for sharing. Quote
BIGAL Posted July 26, 2021 Posted July 26, 2021 From a programming point of view its pretty easy, so when you say pick a point how is that worked out, the simplest is say mid, or shorthand like 1/4 and 3/4. Even a random point can be programmed and postive or negative offsets applied for which side. Quote
SEANT Posted July 27, 2021 Posted July 27, 2021 On 7/24/2021 at 5:06 AM, nicolas said: A Construction Line (XLine) has some enhanced capabilities regarding the ‘Perp From’ requirement. (See Link for demo). As with some other suggestions, additional work would be required to finalize a needed Line, in this case a Trim operation. If nothing else - another option in the toolbox. https://knowledge.autodesk.com/community/screencast/7af9ed57-f0b8-4a92-817f-b2db97b3ef09 Quote
tombu Posted July 27, 2021 Posted July 27, 2021 Including lisp there are many options here and elsewhere. https://www.cadtutor.net/forum/topic/62853-lisp-code-to-draw-a-line-perpendicular-to-another-line/ https://www.google.com/search?q=perpendicular line FROM AutoCAD Lisp Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.