FIX: the speed of wipe tower wall is incorrect
after nozzle change gcode(for old wipe tower) jira: none Change-Id: Ifa4d27d112c180ab9fb9c6ef39f95b28a5f8c55a
This commit is contained in:
parent
da68a52247
commit
64aa4e63fe
|
@ -836,6 +836,8 @@ WipeTower::ToolChangeResult WipeTower::tool_change(size_t tool, bool extrude_per
|
|||
writer.speed_override_backup();
|
||||
writer.speed_override(100);
|
||||
|
||||
float feedrate = is_first_layer() ? std::min(m_first_layer_speed * 60.f, 5400.f) : std::min(60.0f * m_filpar[m_current_tool].max_e_speed / m_extrusion_flow, 5400.f);
|
||||
|
||||
// Increase the extruder driver current to allow fast ramming.
|
||||
//BBS
|
||||
//if (m_set_extruder_trimpot)
|
||||
|
@ -909,7 +911,7 @@ WipeTower::ToolChangeResult WipeTower::tool_change(size_t tool, bool extrude_per
|
|||
writer.set_initial_position(pos, m_wipe_tower_width, m_wipe_tower_depth, m_internal_rotation);
|
||||
|
||||
wt_box = align_perimeter(wt_box);
|
||||
writer.rectangle(wt_box);
|
||||
writer.rectangle(wt_box, feedrate);
|
||||
}
|
||||
|
||||
writer.travel(initial_position);
|
||||
|
@ -921,7 +923,7 @@ WipeTower::ToolChangeResult WipeTower::tool_change(size_t tool, bool extrude_per
|
|||
m_layer_info->depth + m_perimeter_width);
|
||||
// align the perimeter
|
||||
wt_box = align_perimeter(wt_box);
|
||||
writer.rectangle(wt_box);
|
||||
writer.rectangle(wt_box, feedrate);
|
||||
}
|
||||
|
||||
writer.append(";" + GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Wipe_Tower_End) + "\n");
|
||||
|
|
Loading…
Reference in New Issue