GCodeAudializer is a project mainly written in Java, it's free.
Forget visualizing your G-Code... audialize it, instead!
This is a first-pass at implementing a silly notion.
MID2CNC is a great little project for turning MIDI audio files into machine instructions for playback on CNC machines, including MakerBots.
After thinking about this for some time, it dawned on me that this process should be able to be reversed - given some G-Code for the machine, we can simulate the sound that would be produced by the stepper motors.
This is a Processing sketch that actually does it.
Thanks to cibomahto for the GCode
class from his
GCodeDrawer.
Run the sketch. It will read the data/penny-opener-cut.gcode
file, which is
just a random file I had handy on my machine. You should hear triphonic
goodness as it simulates building a raft and then a bottle opener. A .wav
file will be saved as g-code.wav
.
Feel free to change the sketch to use your own files!
I knocked this out in a couple of hours so there is a long wish list already:
G92
"you are here" codes for resetting position.