#Can variable_bed_mesh_profile be set in the slicer?
16 messages · Page 1 of 1 (latest)
absolutely. use SET_GCODE_VARIABLE MACRO=RatOS VARIABLE=bed_mesh_profile VALUE="'your_mesh'"
quick question, VALUE has to be in string?
in quotes?
without quotes I am getting: Unable to parse 'beacon_ASA_G11' as a literal: malformed node or string:
Yes if it has spaces
i tried manually typing in console
SET_GCODE_VARIABLE MACRO=RatOS VARIABLE=bed_mesh_profile VALUE=ASA1
and it returns the same error
Just use quotes then
@lone raptor well quotes just gave me the same error. i am lost
Hmm.. Seems like there's a bug in klipper, you can't use SET_GCODE_VARIABLE with strings.
Ah.. not a bug, that's apparently intended. I have no idea why
@novel raven this should work: SET_GCODE_VARIABLE MACRO=RatOS VARIABLE=bed_mesh_profile VALUE="'ASA1'"
It makes sense now. It's parsed as a literal or else you wouldn't be able to assign anything other than strings. This way you can do all types.