I had a Prusa I3 3D Printer which use Arduino Mega 2560, Ramps 1.4 and Pololu - A4988 Stepper Motor Driver.
I want to convert my 3D printer to CNC Router using my Dremel with Flexible shaft like this.
I found the one project on instructables.com at here http://www.instructables.com/id/Arduino-Controlled-CNC-3D-Printer
They give config for Mega 2560 as CNC router. But i don't know how to generate g-code for these cnc router.
Please help me to generate g-code from STL, DXF and Image(PNG or SVG) files to use with this type of cnc router.