From 03d25c97b401e4f82d2354deb3d12fa64868f1a4 Mon Sep 17 00:00:00 2001 From: Noisyfox Date: Mon, 14 Jul 2025 21:21:40 +0800 Subject: [PATCH] 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 --- src/libslic3r/GCode/SpiralVase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode/SpiralVase.cpp b/src/libslic3r/GCode/SpiralVase.cpp index 908411f9c8..6e7f37afc1 100644 --- a/src/libslic3r/GCode/SpiralVase.cpp +++ b/src/libslic3r/GCode/SpiralVase.cpp @@ -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);