Milling G-Code
The McWire bot is up and running again-this time with g-code support! As a test, I sketched out a NEMA 17 motor mount and wrote the gcode to cut it out from a sheet of acrylic. It was actually easier than I though it would be. There are really only a couple codes needed to drive a McWire with a dremel tool attached as a milling head.
The following are the primary codes used:
- G0 - Move to Cartesian coordiantes fast
- G1 - Move to Cartesian coords. precise
- G3/G4 - Draw an arc(CW and CCW)
I used tkCNC to write and simulate the g-code, but I also found CNCSimulator which has a really cool 3D simulator. Another piece of software I am using right now is demo version of CamBam, which allows you to create g-code from dxf files very quickly (much faster than writing g-code by hand).

You can download the g-code for the NEMA 17 motor mount here.
Last Updated (Friday, 01 May 2009 15:49)
Search Google |


