Different parking positions
stenmic opened this issue · 8 comments
Hi,
with the variables in Customize macros I can define the parking position for X and Y.
I would like to have different positions for PAUSE and CANCEL_PRINT. e.g.
#########################################################################
[gcode_macro _CLIENT_VARIABLE]
variable_use_custom_pos : True ; use custom park coordinates for x,y [True/False]
variable_custom_park_x_pause : -5.0 ; custom x position; value must be within your defined min and max of X
variable_custom_park_y_pause : -5.0 ; custom y position; value must be within your defined min and max of Y
variable_custom_park_x_cancel : -5.0 ; custom x position; value must be within your defined min and max of X
variable_custom_park_y_cancel : 250.0 ; custom y position; value must be within your defined min and max of Y
variable_custom_park_dz : 2.0 ; custom dz value; the value in mm to lift the nozzle when move to park position
variable_retract : 1.0 ; the value to retract while PAUSE
variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT
variable_speed_retract : 35.0 ; retract speed in mm/s
variable_unretract : 1.0 ; the value to unretract while RESUME
variable_speed_unretract : 35.0 ; unretract speed in mm/s
variable_speed_hop : 15.0 ; z move speed in mm/s
variable_speed_move : 100.0 ; move speed in mm/s
#variable_use_fw_retract : False ; use fw_retraction instead of the manual version [True/False]
gcode:
#########################################################################
Can you explain why you need that. If we talking about an M600 then look at https://github.com/mainsail-crew/mainsail-config/blob/master/mainsail.cfg#L33.
I still wonder, why you need that? So what is your workflow that needs separate park position for pause and cancel. From your values I assume you using a delta, so what is the motivation to have the tool head nearly in the middle while pause and mid-back while cancel. Why not using the mid-back position in both cases.
Don’t get me wrong the change is doable but I want to understand the motivation behind it before I add more complexity to the setup by adding at least 3 more parameter.
I have a change in the pipe that will add a feature like that.
Thanks for the description, as said I have that feature in the pipe but need to wait for the open PR to merge. I will link the merge here when it is done.
that's great
Feature added in 7f7cb7b