GCode operations help
I would like to do something like "M190 S{first_layer_bed_temperature-10}" however this is invalid. This "{if layer_z < max_print_height}G1 Z{z_offset+min(layer_z+30, max_print_height)}{endif} " however is allowed so clearly some form of operations (addition and subtraction) are allowed in the GCode.
Where could I find more information on what GCode operation are allowed and how would I structure a command to set and wait for the bed level temperature to reach (first_layer_bed_temperature - 10)?
Best Answer by Dave Avery:
rough details @ https://github.com/prusa3d/PrusaSlicer/wiki/Slic3r-Prusa-Edition-Macro-Language
and your answer...
M190 S{first_layer_bed_temperature[0]-10}
RE: GCode operations help
rough details @ https://github.com/prusa3d/PrusaSlicer/wiki/Slic3r-Prusa-Edition-Macro-Language
and your answer...
M190 S{first_layer_bed_temperature[0]-10}
RE: GCode operations help
Have you tried using first_layer_bed_temperature[0]?
and miscellaneous other tech projects
He is intelligent, but not experienced. His pattern indicates two dimensional thinking. -- Spock in Star Trek: The Wrath of Khan