appliedengdesign / gcode-reference

Node module to provide descriptions and reference to CNC G-Codes
MIT License
15 stars 8 forks source link

Marlin G and M codes #124

Open JoeSimmonds opened 1 year ago

JoeSimmonds commented 1 year ago

Would it be valuable to have variants defined for Marlin based 3d printers?

I'd quite like to use the gcode-sytax plugin for VSCode to edit gcode files for my 3d printer but the Marlin variant isn't included. Adding the variant files here looks to be the first step to getting that feature in the plugin.

Marlin documentation is here: https://marlinfw.org/docs/gcode/G000-G001.html

I've made a start here: https://github.com/JoeSimmonds/gcode-reference/tree/marlin and I think the rest is essentially just transcription from the documentation, but I didn't want to carry on unless you'd be interested in a PR for this.

mikecentola commented 1 year ago

Hi @JoeSimmonds that would be great if you could take the lead on creating some of the JSON files for it. We could then integrate into this project which would push over into the VSCode extension as well.

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity.

JoeSimmonds commented 1 year ago

Just dropping a comment here to say I haven't forgotten this but haven't had chance to get it done yet, sorry.

needs-coffee commented 1 year ago

hi @JoeSimmonds i was looking at adding this as a PR but i notice your existing fork is mostly complete from the Marlin specific codes - are you looking to add this a PR soon or is there anything else you are missing that i could add to help speed this up?

JoeSimmonds commented 1 year ago

Really sorry, Yes I think it's very close, but I haven't had time to check it over. The bulk of the work was done with a screen scraping script that scrapes the Merlin documentation. I wanted to do a manual review and final fix up before I raise the PR.

Again sorry for being slow.