Managed to analyze what the LLM had made at my direction and re-work it to a very simply proof-of-concept which allows one to fill in some parameters, and then have it write out a G-code file to one's Downloads folder:
https://studio.flet.dev/run/46tp8GPq9g/
Note that the G-code has not yet been tested (though it seemed to plot okay in NCnetic), so please verify and test and proceed with due caution.