AutoLISP programming with GitHub Copilot (inspiration video)

AutoLISP programming with GitHub Copilot (inspiration video)

hreuvers
Contributor Contributor
769 Views
0 Replies
Message 1 of 1

AutoLISP programming with GitHub Copilot (inspiration video)

hreuvers
Contributor
Contributor

Who is fan of AutoLISP parenthesis? 😬
Use GitHub Copilot to worry about correct formatting and more. Take programming in AutoCAD to the next level with Copilot, using the AI-engine of your choice. (Claude Sonnet 4.5 is my favourite)


Some prompt for inspiration:

Provide structure to the main program using comments, split in steps

Add new step: Draw ARC on layer 0 from EDGEP1 to EDGEP2 with diameter 4.1, use direction which results the longest length

Add at #1455: Use "app:draw-arc-closest-to-reference" to draw arc on layer 0 with centerpoint LDCIRCW1, startpoint EDGEQ1, endpoint LDCIRCZ1 and midpoint closest to CXP1

Add at #1560: Consider circle LDCIRC has a radius of 4.05 and has its centerpoint somewhere on infinitive length line FOLDP1 to MIRLP2
Determine point where LDCIRC has a tangent interface with line EDGEP1 to CXP1, name it EDGEQ1. Determine point where LDCIRC has a tangent interface with line EDGEP2 to CXP2, name it EDGEQ2. Draw a line from EDGEQ1 to EDGEQ2 on layer 0 with colour cyan

Add utility function named modify-corner, containing all lines from #640 to #2636, make a call to this function at #443

Update at #753: Identify entities in while loop with DEBUG echo

Tidy up autolisp by defining local variables

0 Likes
770 Views
0 Replies
Replies (0)