put in the ability to specify "; NO_PROCESSING" on a gcode line
issue: MatterHackers/MCCentral#4663 set position Z Tower and no Level
This commit is contained in:
parent
b318c6f018
commit
5fbf6281d7
13 changed files with 83 additions and 27 deletions
|
|
@ -45,7 +45,14 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
|
||||
public override string ReadLine()
|
||||
{
|
||||
return ApplyExtrusionMultiplier(internalStream.ReadLine());
|
||||
var lineToSend = internalStream.ReadLine();
|
||||
if (lineToSend != null
|
||||
&& lineToSend.EndsWith("; NO_PROCESSING"))
|
||||
{
|
||||
return lineToSend;
|
||||
}
|
||||
|
||||
return ApplyExtrusionMultiplier(lineToSend);
|
||||
}
|
||||
|
||||
private string ApplyExtrusionMultiplier(string lineBeingSent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue