diff options
author | daid <daid303@gmail.com> | 2016-03-22 18:29:32 +0300 |
---|---|---|
committer | daid <daid303@gmail.com> | 2016-03-22 18:29:32 +0300 |
commit | aca2c17ebaf5722137568bc8aeadd2be001a7a34 (patch) | |
tree | 0042fa69d633798200fda134d7203f69d7e5ad63 /src/gcodeExport.cpp | |
parent | 22b0d0fe6a65bb445f8ff2cf3f62a87c7db58e74 (diff) |
Allow the engine to use dynamic acceleration settings to get better time estimates.15.04.6-RC215.04.6-RC115.04.6
Diffstat (limited to 'src/gcodeExport.cpp')
-rw-r--r-- | src/gcodeExport.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gcodeExport.cpp b/src/gcodeExport.cpp index 90ab5c2598..af6dc945f9 100644 --- a/src/gcodeExport.cpp +++ b/src/gcodeExport.cpp @@ -85,6 +85,7 @@ void GCodeExport::setFlavor(int flavor) for(int n=0; n<MAX_EXTRUDERS; n++) extruderCharacter[n] = 'E'; } + int GCodeExport::getFlavor() { return this->flavor; @@ -119,6 +120,11 @@ void GCodeExport::setRetractionSettings(int retractionAmount, int retractionSpee this->retractionZHop = zHop; } +void GCodeExport::applyAccelerationSettings(ConfigSettings& config) +{ + estimateCalculator.applyAccelerationSettings(config); +} + void GCodeExport::setZ(int z) { this->zPos = z; |