LISP for Iso in 2D

LISP for Iso in 2D

jr_olmos23
Enthusiast Enthusiast
2,534 Views
20 Replies
Message 1 of 21

LISP for Iso in 2D

jr_olmos23
Enthusiast
Enthusiast

Can someone help me modify a LISP command? I used ChatGPT to create it, and it works just fine. The LISP is intended to, in a way, "extrude" linework in 2D to facilitate creating isometric drawings in AutoCAD LT. Now, I want to add code so that the "extruded" linework stops right when it intersects another line or geometry. For example, if I have a triangle with vertex A at the top, vertex B at bottom right, and vertex C at bottom left, and if I tell the lisp to extrude at 30 degrees due northeast at X length, I want the new line being extruded from vertex C to stop at the intersection with the existing line AB. I've tried telling ChatGPT to add code but it simply spits out some buggy code that never seems to work, even starting from scratch. I've attached the LISP code.

0 Likes
Accepted solutions (2)
2,535 Views
20 Replies
Replies (20)
Message 21 of 21

Sea-Haven
Mentor
Mentor

Code updated above please give it a try.

0 Likes