FIX: G1 F0 in gcode
jira: 7631 Change-Id: I5060efef30f3e9250188b0dc4ee1d9ee6058af69
This commit is contained in:
parent
32b3e78b5d
commit
c24cf8ef60
|
@ -295,7 +295,8 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
|
||||||
/* Reduce feedrate a bit; travel speed is often too high to move on existing material.
|
/* Reduce feedrate a bit; travel speed is often too high to move on existing material.
|
||||||
Too fast = ripping of existing material; too slow = short wipe path, thus more blob. */
|
Too fast = ripping of existing material; too slow = short wipe path, thus more blob. */
|
||||||
//OrcaSlicer
|
//OrcaSlicer
|
||||||
double wipe_speed = gcodegen.config().role_base_wipe_speed ? gcodegen.writer().get_current_speed() / 60 :
|
double cur_speed = gcodegen.writer().get_current_speed();
|
||||||
|
double wipe_speed = gcodegen.config().role_base_wipe_speed && cur_speed > EPSILON ? cur_speed / 60 :
|
||||||
gcodegen.writer().config.travel_speed.value * gcodegen.config().wipe_speed.value / 100;
|
gcodegen.writer().config.travel_speed.value * gcodegen.config().wipe_speed.value / 100;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue