mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 03:07:55 -06:00
Skip the layer initial travel properly in vase mode (#10135)
Skip the layer initial travel properly in vase mode (SoftFever/OrcaSlicer#10072) --------- Co-authored-by: Rodrigo <162915171+RF47@users.noreply.github.com> Co-authored-by: Ian Bassi <ian.bassi@outlook.com>
This commit is contained in:
parent
f45155a966
commit
03d25c97b4
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ std::string SpiralVase::process_layer(const std::string &gcode, bool last_layer)
|
|||
if (line.cmd_is("G1")) {
|
||||
// Orca: Filter out retractions at layer change
|
||||
if (line.retracting(reader) || (line.extruding(reader) && line.dist_XY(reader) < EPSILON)) return;
|
||||
if (line.has_z() && !line.retracting(reader)) {
|
||||
if (line.has_z() && !(line.has_x() || line.has_y())) {
|
||||
// If this is the initial Z move of the layer, replace it with a
|
||||
// (redundant) move to the last Z of previous layer.
|
||||
line.set(Z, z);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue