mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Slight optimization of the filament_start_gcode insertion:
It is not needed between the purging towers and the wipe tower brim.
This commit is contained in:
parent
a617e02ae6
commit
cecaf6eabc
2 changed files with 1 additions and 8 deletions
|
@ -229,13 +229,6 @@ std::string WipeTowerIntegration::prime(GCode &gcodegen)
|
|||
// A phony move to the end position at the wipe tower.
|
||||
gcodegen.writer().travel_to_xy(Pointf(m_priming.end_pos.x, m_priming.end_pos.y));
|
||||
gcodegen.set_last_pos(wipe_tower_point_to_object_point(gcodegen, m_priming.end_pos));
|
||||
// Append the filament start G-code, so the linear advance value will be restored.
|
||||
const std::string &start_filament_gcode = gcodegen.config().start_filament_gcode.get_at(current_extruder_id);
|
||||
if (! start_filament_gcode.empty()) {
|
||||
// Process the start_filament_gcode for the active filament only to restore the linear advance value.
|
||||
gcode += gcodegen.placeholder_parser().process(start_filament_gcode, current_extruder_id);
|
||||
check_add_eol(gcode);
|
||||
}
|
||||
// Prepare a future wipe.
|
||||
gcodegen.m_wipe.path.points.clear();
|
||||
// Start the wipe at the current position.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue