Best AI tool for lisp coding in Bricscad

Any information on the best ai tool for creating lsp programs for bricscad.

I have been playing around with Claude, but it does not recognize some of bricscad's unique lisp additions to vanilla lisp .

Comments

  • TLDR; make a text file of all the lisp functions unique to Bricsys, and add to the context or upload

    I’m been experimenting programming for CAD using local models, ObjectARX, Python and LISP. The experience is much better with ObjectARX and Python, mostly because these languages have robust IDEs, when you view the code, the hallucinations are immediately apparent whereas they’re harder to spot in the current lisp editors.

    I found that using RAG greatly improves accuracy. With ObjectARX and Python, you can upload header or stub files that match your programming context. With LISP, I used Python to scrape all the LISP functions and related documentation into a file, then uploaded that into RAG.

    The best local model I found is GLM 4.7 Flash Q6_K, for non-local maybe try chat.z.ai. Not sure how long this link will last, but this an example https://chat.z.ai/c/714bc0a4-1aeb-4cc1-a221-296ee3c3d29b

    None of the other models could properly format a 4x4 matrix in lisp.

    happy coding :)