Correct 'Change filament g-code (M600)' to start at new color location #1620

Open
opened 2026-04-05 18:42:06 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @truegret on 11/16/2025

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.1

Operating System (OS)

Windows

OS Version

Windows 11

Additional system information

Processor AMD Ryzen 5 5600U with Radeon Graphics (2.30 GHz)
Installed RAM 16.0 GB (13.9 GB usable)
System type 64-bit operating system, x64-based processor

Printer

Creality 10S 300mm x 300mm x 400mm

How to reproduce

  1. Created a multi-body model in Fusion 360
  2. Export all bodies in '3MF' file format
  3. Import the 3MF file as a new project/plate in Orca
  4. Set each body to have a different filament (color)
  5. Add 'M600 B5 E-0.1 L20 R210 T0 U50 X150.00 Y20.00 Z50.00' to 'Change filament G-code section
  6. Slice plate
  7. Export gcode
  8. In this case, I am using Simplify-3d v4.1.2, import G-code file to preview and print

Actual results

When color/filament change occurs,
M600 B5 E-0.1 L20 R210 T0 U50 X150.00 Y20.00 Z50.00

after new color is in the extruder, the print-head moves to the previous position, touches the model, moves up and advances to the start location of the 'new color'. This occurs on each filament/color change. When this occurs, a small 'zit' of the new color is left on the previous color.

Expected results

Expected/desired is to have the insertion of the
'Printer' -> 'Machine G-code' -> 'Change filament g-code'

section/code be after the new color/filament coordinates, and begin printing. This allows for a cleaner print.

Project file & Debug log uploads

Please find the Orca project file, 'CatWithAHat.3mf', and the Fusion 360 multi-body file 'F360_CatWithAHat.3mf'

F360_CatWithAHat.zip

Checklist of files to include

  • Log file
  • Project file

Anything else?

I believe this is a bug. The 'zit' of the previous color (especially darker new color on previous light color) is annoying and difficult to remove. I have to edit the gcode in a text editor, search for M600 and move the color change code to the first coordinate of the new color.

Current (bug code):
G1 X187.104 Y69.78 E.03201
;Color Change GCode START
M600 B5 E-0.1 L20 R205 T0 U50 X150.00 Y20.00 Z50.00
;Color Change GCode END
; stop printing object Assembly id:15 copy 0
; filament end gcode
G1 E-1.2 F960
G1 Z5.24 F3300
G1 X162.022 Y59.55
G1 Z5.24
G1 Z4.12
G1 E1.2 F960

Expected/desired gcode:
;Color Change GCode START
G1 X187.104 Y69.78 E.03201
; stop printing object Assembly id:15 copy 0
; filament end gcode
G1 E-1.2 F960
G1 Z5.24 F3300
G1 X162.022 Y59.55
G1 Z5.24
G1 Z4.12
G1 E1.2 F960
M600 B5 E-0.1 L20 R205 T0 U50 X150.00 Y20.00 Z50.00
;Color Change GCode END

*Originally created by @truegret on 11/16/2025* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.1 ### Operating System (OS) Windows ### OS Version Windows 11 ### Additional system information Processor AMD Ryzen 5 5600U with Radeon Graphics (2.30 GHz) Installed RAM 16.0 GB (13.9 GB usable) System type 64-bit operating system, x64-based processor ### Printer Creality 10S 300mm x 300mm x 400mm ### How to reproduce 1. Created a multi-body model in Fusion 360 2. Export all bodies in '3MF' file format 3. Import the 3MF file as a new project/plate in Orca 4. Set each body to have a different filament (color) 5. Add 'M600 B5 E-0.1 L20 R210 T0 U50 X150.00 Y20.00 Z50.00' to 'Change filament G-code section 6. Slice plate 7. Export gcode 8. In this case, I am using Simplify-3d v4.1.2, import G-code file to preview and print ### Actual results When color/filament change occurs, M600 B5 E-0.1 L20 R210 T0 U50 X150.00 Y20.00 Z50.00 after new color is in the extruder, the print-head moves to the previous position, touches the model, moves up and advances to the start location of the 'new color'. This occurs on each filament/color change. When this occurs, a small 'zit' of the new color is left on the previous color. ### Expected results Expected/desired is to have the insertion of the 'Printer' -> 'Machine G-code' -> 'Change filament g-code' section/code be after the new color/filament coordinates, and begin printing. This allows for a cleaner print. ### Project file & Debug log uploads Please find the Orca project file, 'CatWithAHat.3mf', and the Fusion 360 multi-body file 'F360_CatWithAHat.3mf' [F360_CatWithAHat.zip](https://github.com/user-attachments/files/23565847/F360_CatWithAHat.zip) ### Checklist of files to include - [ ] Log file - [x] Project file ### Anything else? I believe this is a bug. The 'zit' of the previous color (especially darker new color on previous light color) is annoying and difficult to remove. I have to edit the gcode in a text editor, search for M600 and move the color change code to the first coordinate of the new color. Current (bug code): G1 X187.104 Y69.78 E.03201 ;Color Change GCode START M600 B5 E-0.1 L20 R205 T0 U50 X150.00 Y20.00 Z50.00 ;Color Change GCode END ; stop printing object Assembly id:15 copy 0 ; filament end gcode G1 E-1.2 F960 G1 Z5.24 F3300 G1 X162.022 Y59.55 G1 Z5.24 G1 Z4.12 G1 E1.2 F960 Expected/desired gcode: ;Color Change GCode START G1 X187.104 Y69.78 E.03201 ; stop printing object Assembly id:15 copy 0 ; filament end gcode G1 E-1.2 F960 G1 Z5.24 F3300 G1 X162.022 Y59.55 G1 Z5.24 G1 Z4.12 G1 E1.2 F960 M600 B5 E-0.1 L20 R205 T0 U50 X150.00 Y20.00 Z50.00 ;Color Change GCode END
MrUnknownDE added the bugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbugbug labels 2026-04-05 18:42:50 +02:00
Sign in to join this conversation.
No Label bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug bug
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1620