Prevent retract at start, unretract as final step

This commit is contained in:
jlewin 2019-03-12 13:10:42 -07:00 committed by johnlewin
parent 7936320d3b
commit 7d88861bc3
3 changed files with 28 additions and 12 deletions

View file

@ -160,12 +160,17 @@ namespace MatterHackers.MatterControl
sketch1.WriteRaw("; LAYER: 0");
sketch1.WriteRaw("; LAYER_HEIGHT: 0.2");
sketch1.SetTool("T0");
sketch2.SetTool("T1");
sketch1.PenUp();
templatePrinter.BuildTemplate(sketch1, sketch2, verticalLayout: true);
templatePrinter.BuildTemplate(sketch1, sketch2, verticalLayout: false);
sketch1.Unretract();
sketch2.Unretract();
string outputPath = Path.Combine(
ApplicationDataStorage.Instance.GCodeOutputPath,
$"nozzle-offset-template-combined.gcode");