This is a program for converting gcode files to run both extruders at once to print two things at a time, even using different filament diameters. The executable is for Windows machines, but c source is also provided. It is partially based on "Dual Extrude Both Extruders at Once for Replicator" http://www.thingiverse.com/thing:23792
What it does:
The program reads a normal single extruder gcode file and duplicates the temp, on/off, speed, toolchange, and extruder distance commands so they work for both extruders.
Create GCode files normally.
At a command prompt: DualExtrude Infile.gcode Outfile.gcode
if you are using different filament diameters, use:
DualExtrude Infile.gcode InDia Outfile.gcode NewDia
Where InDia is the diameter of the filiment used to create the Infile.gcode file and NewDia is the filament diameter used in the second extruder.
- Print the Outfile.gcode file directly or convert for SD Card.
Settings that need to be changed:
(These are a reduced set of thorstadg's, I have copied his descriptions.)
Dimension needs to be turned on in Skeinforge so that we get an E000 code for extruder movements.
- The ReplicatorG34/machines/Replicator.xml file needs to be changed so the maxfeedrate on A and B is 4600 instead of 1600 so skeinforge does not throw a fit every time you generate gcode. I arbitrarily picked 4600- if someone knows the proper number let me know.
The executable should work for all Win32/64 systems, WinXP, Vista, Win7.
I do not currently have access to a Linux or Mac system but the code should compile OK on either. I'm not 100% sure about any line termination (CR/LF) issues. If anyone could give it a try I'd appreciate it.
Many thanks to thorstadg for giving me the crucial piece to the puzzle.
An updated exe and .cpp have been posted to address issues found on Linux/Mac.
An updated exe and .cpp have been posted to add the ability to use different filament diameters in each extruder.
An updated exe and .cpp have been posted to address a bug in dealing with retracts. (Version 2.1) Thanks to Emmett for finding the bug.
- Minor bug fix (wrong file name in error message) Ver 2.2 posted.