Learning G-Code
What are some recommended resources for writing, correcting and troubleshooting G-Code?
I know gcode can be used at least in CNC and 3D printing, but what are some good ways to learn it? I've done some programming and will be learning Python for networking.
With gcode I really don't know much about it other than the discussions here. There are G, M, S and T codes that are created. Are all used in 3D printing and how do you dive in?
Re: Learning G-Code
The RepRap Wiki is an excellent resource and does a fairly good job explaining each command. The Prusa GitHub pages are a bit more terse, but describe the commands specifically supported on Prusa printers.
Experimenting with your startup gcode is a good way to get started. Try tweaking the prime line, getting it to run along the Y axis instead of X, changing the line widths, etc. Once you get the hang of a few basics, it's pretty simple stuff.
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan
Re: Learning G-Code
my macintosh will complain if I remove an SD card with out demounting (ejecting it) first just like any other storage device... Inotice in the PRUSA pag you reference Bob, this command
M22
Release SD card
should this be issued via pronterface before removing the card from the printer?
Re: Learning G-Code
my macintosh will complain if I remove an SD card with out demounting (ejecting it) first just like any other storage device... Inotice in the PRUSA pag you reference Bob, this command
M22
Release SD card
should this be issued via pronterface before removing the card from the printer?
M22 is implemented in the Prusa firmware, but I think the key to this is that the printer (in the main) only reads from the card, and even when writing, there is very little buffering of the data (with most of the buffering being carried out at the PC doing the writing).
In normal operation, I do not believe it necessary.
Peter
Please note: I do not have any affiliation with Prusa Research. Any advices given are offered in good faith. It is your responsibility to ensure that by following my advice you do not suffer or cause injury, damage…
RE: Learning G-Code
Hello,
I'm new to the wonderful world of 3D printing and had a couple of questions as to some variables in the GCODE. I've made some nots in the attached PDF my questions are really pertaining to the comments in Blue in the attached PDF. I had an issue where I ran out of filament and needed to start in the middle of my model but just couldn't seem to get it to work but then became very curious about GCODE as a language. Any help would be greatly appreciated.
RE: Learning G-Code
See bobstro's post, and click on the reprap link.