Skip to content

Commit 8cc27ae

Browse files
fix: prevent Travel Fix Up injection inside wipe blocks
BrickLayers was storing travel line references during wipe blocks, then replacing them with Travel Fix Up moves that broke the wipe sequence. This caused: 1. Missing chunks in Bambu Studio's G-code preview 2. Incomplete nozzle wipe at brick layer transitions (print quality) One-line fix: added 'and not feature.wiping' check when storing last_noninternalperimeter_xy_line reference. Affects Bambu Studio format only — OrcaSlicer format was unaffected.
1 parent 6d0d649 commit 8cc27ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bricklayers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2183,7 +2183,7 @@ def process_gcode(self, gcode_stream):
21832183
buffer_lines.append(myline)
21842184

21852185
self.last_noninternalperimeter_state = current_state
2186-
if simulator.moved_in_xy:
2186+
if simulator.moved_in_xy and not feature.wiping:
21872187
myline.current = current_state
21882188
self.last_noninternalperimeter_xy_line = myline
21892189

0 commit comments

Comments
 (0)