How to change "color_change_gcode" setting?
 
Notifications
Clear all

How to change "color_change_gcode" setting?  

  RSS
Dennis M
(@dennis-m-2)
Active Member
How to change "color_change_gcode" setting?

Hi, I am fairly new to 3D printing (2 mos.) and was exclusively using Cura for all my slicing needs. When the PS alpha came out with the Arachne engine, I was excited to try it out and discovered that it generates cleaner gcode that what I was getting from Cura, so I switched to the alpha and have never looked back!

However, I don't have a Prusa printer, and my printer requires a G0 (Gee-zero) command not G600 (Gee-six-hundred) for color changes. I couldn't find any config files in the directory, so I exported via Export -> Export config and saved an .ini file.

In there I see "color_change_gcode" which is set to M600. I'd like to update that but am unclear how to do that for all slices from here on.

Here's my guess: Update the ini file manually and re-import, replacing the existing config? Not sure if that's what to do.

 

Thanks!

Posted : 07/08/2022 6:20 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: How to change "color_change_gcode" setting?

Hi Dennis, you seem to be confusing G600 and M600.... 

then mention G0 is the code you want to substitute... 

G0 is usually a 'Move' Command, 
M0 is usually a 'Stop' command,

Yes, you can export the ini file, edit it (I used Notepad++,   Word, and other microsoft editors can mess your files up... Notepad++ is Freeware)
And then you can re import the the ini file, which will then use the new code

AS you can see above I exchanged M600 for M601, to test the option.... 

regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Posted : 07/08/2022 8:36 pm
Dennis M
(@dennis-m-2)
Active Member
Topic starter answered:
RE: How to change "color_change_gcode" setting?

Yes, sorry for the confusion. I know most gcode contains G0 move commands, and I did mean M0 for pause.

I'll try your suggestion, and thank you for the quick reply!

Posted : 07/08/2022 10:44 pm
Dennis M
(@dennis-m-2)
Active Member
Topic starter answered:
RE: How to change "color_change_gcode" setting?

Confirmed! Thank you for the help...

G1 F1198.346
G1 X118.428 Y115.032 E7.81502; infill
M106 S122.4 ; enable fan
;LAYER_CHANGE
;Z:36.1
;HEIGHT:0.199997
G1 Z36.1 F7800 ; move to next layer (179)
;COLOR_CHANGE,T0,#47C9D5
M0  <---- SUCCESS!!
G1 X117.846 Y114.845 ; move to first perimeter point
;TYPE:Perimeter
;WIDTH:0.449999
G1 F4200
G1 F1217.748
G1 X117.788 Y114.564 E7.82377; perimeter
G1 F4200
G1 F1228.724
Posted : 07/08/2022 10:56 pm
Share: