klipper/klippy
Robert Konklewski 6f91574cd9 menu: Show current positions based on gcode positions (#1389)
menu: Show current positions based on gcode positions

Added "move_[xyze]pos" properties to the "gcode" object for use in menus.
The new properties track the toolhead's position in gcode coordinates,
taking gcode and bed leveling offsets into account.
This position is equal to the value returned by M114 gcode.

Changes the move menus to show current position based on gcode
position. This allows gcode offsets and bed leveling offsets
to be taken into account, and prevents unexpected toolhead
movements when moving it using the menu.

Signed-off-by: Robert Konklewski <nythil@gmail.com>
2019-03-21 10:37:28 -04:00
..
chelper serialqueue: Wrap code to 80 columns 2019-02-27 14:20:15 -05:00
extras menu: Show current positions based on gcode positions (#1389) 2019-03-21 10:37:28 -04:00
kinematics gcode: Change respond_info() to log by default 2019-03-04 13:04:18 -05:00
clocksync.py clocksync: Wrap code to 80 columns 2019-02-27 13:01:52 -05:00
configfile.py configfile: Strip trailing comments 2018-10-16 11:45:20 -04:00
console.py console: Wrap code to 80 columns 2019-02-27 13:00:30 -05:00
gcode.py menu: Show current positions based on gcode positions (#1389) 2019-03-21 10:37:28 -04:00
heater.py heater: Wrap code to 80 columns 2019-02-27 13:09:24 -05:00
homing.py bltouch: Verify probe always deploys during a homing operation 2019-01-21 09:52:11 -05:00
klippy.py klippy: Wrap code to 80 columns 2019-02-27 13:18:43 -05:00
mathutil.py gcode: Change respond_info() to log by default 2019-03-04 13:04:18 -05:00
mcu.py endstop: Use "pin_value" instead of "pin" when querying endstop state 2019-03-19 10:48:33 -04:00
msgproto.py msgproto: Convert static strings to a more generic enumeration system 2019-03-17 19:38:18 -04:00
parsedump.py build: Request python2 for all directly executed python binaries 2017-06-27 20:26:02 -04:00
pins.py pins: Document support for '~' to enable pull-down resistors 2019-03-17 21:07:31 -04:00
queuelogger.py klippy: Automatically clear rollover_info on each restart 2018-04-03 13:18:52 -04:00
reactor.py reactor: support for delayed callbacks 2019-01-07 21:38:36 -05:00
serialhdl.py msgproto: Convert static strings to a more generic enumeration system 2019-03-17 19:38:18 -04:00
stepper.py endstop_phase: Move endstop phase homing code to new "extras" module 2018-10-16 13:09:23 -04:00
toolhead.py gcode: Change respond_info() to log by default 2019-03-04 13:04:18 -05:00
util.py util: Wrap code to 80 columns 2019-02-27 13:05:37 -05:00