G-code for running two filaments simultaneously

I’m currently working in a group at Montana State University to design a new print head for TAZ 6 that mixes two filaments together before extruding them onto a part, has anyone tried to even run two motors at once using Cura? We’ve tried many things and have made no progress. Thanks!

The stock FW has not been compiled to allow for this. However, Marlin does have a MIXING_EXTRUDER option that can be enabled in “Configuration_Adv.h”. If you recompile our FW from source with that enabled, it should allow you to experiment with that feature.

 * "Mixing Extruder"
 *   - Adds a new code, M165, to set the current mix factors.
 *   - Extends the stepping routines to move multiple steppers in proportion to the mix.
 *   - Optional support for Repetier Firmware M163, M164, and virtual extruder.
 *   - This implementation supports only a single extruder.
 *   - Enable DIRECT_MIXING_IN_G1 for Pia Taubert's reference implementation
  #define MIXING_STEPPERS 2        // Number of steppers in your mixing extruder
  #define MIXING_VIRTUAL_TOOLS 16  // Use the Virtual Tool method with M163 and M164
  //#define DIRECT_MIXING_IN_G1    // Allow ABCDHI mix factors in G1 movement commands

The code is in “https://code.alephobjects.com/diffusion/MARLIN/” and branch “devel”.

Hope this helps.

– Marcio