Skip to content

Commit

Permalink
#379 use machine limits for print time estimation for !marlin
Browse files Browse the repository at this point in the history
  • Loading branch information
supermerill committed Sep 7, 2020
1 parent 9619f2a commit 27189e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libslic3r/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,8 @@ namespace DoExport {
// If the following block is enabled for other firmwares than the Marlin, then the function
// this->print_machine_envelope(file, print);
// shall be adjusted as well to produce a G-code block compatible with the particular firmware flavor.
if (config.gcode_flavor.value == gcfMarlin || config.gcode_flavor.value == gcfLerdge) {
// supermerill: done
if (true) {
normal_time_estimator.set_max_acceleration((float)config.machine_max_acceleration_extruding.values[0]);
normal_time_estimator.set_retract_acceleration((float)config.machine_max_acceleration_retracting.values[0]);
normal_time_estimator.set_max_travel_acceleration((float)config.machine_max_acceleration_travel.values[0]);
Expand Down

0 comments on commit 27189e1

Please sign in to comment.