remove # from the color variables
 
Notifiche
Cancella tutti

[Risolto] remove # from the color variables  

  RSS
Helge
(@helge)
Active Member
remove # from the color variables

hi,

i am using in my slicer start gcode:
COLOR={extruder_colour[0]} COLOR_1={extruder_colour[1]}

which results in:
COLOR=#FFFFFF COLOR_1=#AAAAAA

unfortunately klipper cant parse any parameters that start with a #
atm i need to use a post processor to remove that sign, is there a better way to handle this situation, by removing the # with some regex magic or whatever

 

thanks helge 

Postato : 23/09/2023 11:55 am
Helge
(@helge)
Active Member
Topic starter answered:
RE: remove # from the color variables

ok, i jsut realized i can use the search and replace funciton of the slicer, nvm

Postato : 23/09/2023 1:47 pm
Condividi: