Add rough debugging system for stream processors
This commit is contained in:
parent
c82fb09e3d
commit
88f7de14c1
20 changed files with 184 additions and 10 deletions
|
|
@ -38,7 +38,7 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
public class OffsetStream : GCodeStreamProxy
|
||||
{
|
||||
private int extruderIndex = 0;
|
||||
PrinterMove lastDestination = PrinterMove.Unknown;
|
||||
public PrinterMove lastDestination = PrinterMove.Unknown;
|
||||
|
||||
Vector3[] extruderOffsets = new Vector3[4];
|
||||
|
||||
|
|
@ -52,6 +52,14 @@ namespace MatterHackers.MatterControl.PrinterCommunication.Io
|
|||
ReadExtruderOffsets();
|
||||
}
|
||||
|
||||
public override string DebugInfo
|
||||
{
|
||||
get
|
||||
{
|
||||
return $"Last Destination = {lastDestination}";
|
||||
}
|
||||
}
|
||||
|
||||
private void Settings_SettingChanged(object sender, StringEventArgs stringEvent)
|
||||
{
|
||||
if (stringEvent != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue