Maximum Z Height/Maximum Y coordinates.
-
Hi,
I would like my printer to go to the maximum z height and maximum y when the print is completed. I am not sure as to where to get the 'variables' that can be used in a macro?
Any/all help is greatly appreciated!
-
@reefwarrior In the object model: move.axes[2].max is the maximum printer height.
-
@reefwarrior
Currently the only way to do this is addM0
to your slicer end gcode. This calls stop.g at the end of your print. You don't really need variables for this, but if you want to get complicated you can add the following instop.g
G1 Y{move.axes[1].max} Z{move.axes[2].max}
This is kind of pointless if you know the extents of your printer. I would just add something like this to
stop.g
G1 Y300 Z260 ;much more readable
-
You don't even need to know the extents of the axis, you can just use a relative movement to move a distance larger than the axis. It will stop when it gets to the max point automatically.
-
@phaedrux
@ctilley79
@Stephen6309Thank you all!
-
-