Making matter slice and cure layer changes both be detected.
This commit is contained in:
parent
c584814e56
commit
040da9da1e
4 changed files with 5 additions and 4 deletions
|
|
@ -70,7 +70,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
string processedLine = offsetStream.ReadLine();
|
||||
if (processedLine != null
|
||||
&& layerCount < 1
|
||||
&& processedLine.StartsWith("; LAYER:"))
|
||||
&& GCodeFile.IsLayerChange(processedLine))
|
||||
{
|
||||
layerCount++;
|
||||
if (layerCount == 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue