Add SwitchExtruderStream to GCode export
This commit is contained in:
parent
a10e7f5413
commit
ef94c9e7f6
1 changed files with 5 additions and 0 deletions
|
|
@ -287,6 +287,11 @@ namespace MatterHackers.MatterControl.Library.Export
|
|||
var queueStream = new QueuedCommandsStream(printer, gCodeBaseStream);
|
||||
GCodeStream accumulatedStream = queueStream;
|
||||
|
||||
if (printer.Settings.GetValue<int>(SettingsKey.extruder_count) > 1)
|
||||
{
|
||||
accumulatedStream = new SwitchExtruderStream(printer, accumulatedStream);
|
||||
}
|
||||
|
||||
accumulatedStream = new RelativeToAbsoluteStream(printer, accumulatedStream);
|
||||
|
||||
bool levelingEnabled = printer.Settings.GetValue<bool>(SettingsKey.print_leveling_enabled) && applyLeveling;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue