Skip to content

Commit

Permalink
CURA-12244 coasting generates z0 points (#2163)
Browse files Browse the repository at this point in the history
  • Loading branch information
HellAholic authored Nov 1, 2024
2 parents 981ac86 + 71e058c commit 28b52c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/LayerPlan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2960,7 +2960,8 @@ bool LayerPlan::writePathWithCoasting(

previous_position = path.points[point_idx];
}
gcode.writeExtrusion(path_coasting.coasting_start_pos, extrude_speed, path.getExtrusionMM3perMM(), path.config.type);

writeExtrusionRelativeZ(gcode, path_coasting.coasting_start_pos, extrude_speed, path.z_offset, path.getExtrusionMM3perMM(), path.config.type);
sendLineTo(path, path_coasting.coasting_start_pos, extrude_speed);
}

Expand Down

0 comments on commit 28b52c9

Please sign in to comment.