mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
FIX: scratches on the surface in byobject mode
When printing by object, not lifted when traveling to the second piece, which causes scratches on the surface of the first piece. Modify the lift height in GCode.cpp to add a z_hop height to the highest print height to avoid scratches. jira: STUDIO-14001 Change-Id: I97835fce5b82f405d600f5aa6ce74edae1e97b47 (cherry picked from commit 9282806196e455883b36b17391a404106c4b3c82)
This commit is contained in:
@@ -2959,7 +2959,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
||||
else {
|
||||
file.write(this->retract());
|
||||
}
|
||||
file.write(m_writer.travel_to_z(m_max_layer_z));
|
||||
file.write(m_writer.travel_to_z(m_max_layer_z + m_writer.config.z_hop.get_at(initial_extruder_id)));
|
||||
file.write(this->travel_to(Point(0, 0), erNone, "move to origin position for next object"));
|
||||
m_enable_cooling_markers = true;
|
||||
// Disable motion planner when traveling to first object point.
|
||||
|
||||
Reference in New Issue
Block a user