mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
wipe improvment
This commit is contained in:
parent
7a8f020fcf
commit
75328a2de8
1 changed files with 1 additions and 3 deletions
|
@ -351,9 +351,7 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
|
||||||
gcode += gcodegen.writer().set_speed(_wipe_speed * 60, "", cooling_mark);
|
gcode += gcodegen.writer().set_speed(_wipe_speed * 60, "", cooling_mark);
|
||||||
for (const Line& line : wipe_path.lines()) {
|
for (const Line& line : wipe_path.lines()) {
|
||||||
double segment_length = line.length();
|
double segment_length = line.length();
|
||||||
/* Reduce retraction length a bit to avoid effective retraction speed to be greater than the configured one
|
double dE = length * (segment_length / wipe_dist);
|
||||||
due to rounding (TODO: test and/or better math for this) */
|
|
||||||
double dE = length * (segment_length / wipe_dist) * 0.95;
|
|
||||||
//BBS: fix this FIXME
|
//BBS: fix this FIXME
|
||||||
//FIXME one shall not generate the unnecessary G1 Fxxx commands, here wipe_speed is a constant inside this cycle.
|
//FIXME one shall not generate the unnecessary G1 Fxxx commands, here wipe_speed is a constant inside this cycle.
|
||||||
// Is it here for the cooling markers? Or should it be outside of the cycle?
|
// Is it here for the cooling markers? Or should it be outside of the cycle?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue