diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-02-23 23:15:56 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-02-23 23:15:56 +0300 |
commit | 4034472602036f205c90ea41eddc0b0d2ffe92f8 (patch) | |
tree | d83df32fc3cd82c74101130fd999c62dd9402abc /src/GCodes/GCodes.h | |
parent | 5afbcbede9a98d619a03716d25a2957a320cd4bf (diff) |
PrintManager: removed layer counting and layer time estimate
Also provide current layer in OM if available from slicer comments
Diffstat (limited to 'src/GCodes/GCodes.h')
-rw-r--r-- | src/GCodes/GCodes.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/GCodes/GCodes.h b/src/GCodes/GCodes.h index fec15b27..fc01d839 100644 --- a/src/GCodes/GCodes.h +++ b/src/GCodes/GCodes.h @@ -198,7 +198,6 @@ public: void SetMappedFanSpeed(float f) noexcept; // Set the speeds of fans mapped for the current tool void HandleReply(GCodeBuffer& gb, GCodeResult rslt, const char *reply) noexcept; // Handle G-Code replies void EmergencyStop() noexcept; // Cancel everything - bool GetLastPrintingHeight(float& height) const noexcept; // Get the height in user coordinates of the last printing move bool AtxPowerControlled() const noexcept { return atxPowerControlled; } const GridDefinition& GetDefaultGrid() const { return defaultGrid; }; // Get the default grid definition @@ -530,7 +529,6 @@ private: // We have chosen this approach because it allows us to switch workplace coordinates systems or turn off applying workplace offsets without having to update currentUserPosition. float currentUserPosition[MaxAxes]; // The current position of the axes as commanded by the input gcode, after accounting for workplace offset, before accounting for tool offset and Z hop float currentZHop; // The amount of Z hop that is currently applied - float lastPrintingMoveHeight; // the Z coordinate in the last printing move, or a negative value if we don't know it // The following contain the details of moves that the Move module fetches // CAUTION: segmentsLeft should ONLY be changed from 0 to not 0 by calling NewMoveAvailable()! |