Notifiche
Cancella tutti
Are min(A,B) and max(A,B) functions nestable?
In PrusaSlicer, are the min and max functions nestable? For example, in this line of the custom end g-code...
{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+49, max_print_height)} F720 ; Move print head further up{endif}
if I want to move to a minimum of z=100, or then the lesser of max_layer_z+49 or max_print_height, can I do something like...
{if max_layer_z < max_print_height}G1 Z{z_offset+min(max(max_layer_z+49,100), max_print_height)} F720 ; Move print head further up{endif}
?? Thanks!
Postato : 17/03/2023 7:14 pm