diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-08-05 11:43:45 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-08-20 21:03:22 -0400 |
commit | 4c5e93d51dca2393946a67646499fef5fdd034b0 (patch) | |
tree | 5450c95a3aa8fe5554dad97df2adf9b2b05c1a64 /docs/Code_Overview.md | |
parent | cd7c1b8e68d8234524149c62e8ea2ad0bda07d2f (diff) | |
download | kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.gz kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.tar.xz kutter-4c5e93d51dca2393946a67646499fef5fdd034b0.zip |
gcode: Split G0/G1 command handling to new gcode_move class
Split up the main GCodeParser class into GCodeDispatch and GCodeMove
classes. The GCodeMove class is now available using the "gcode_move"
printer object name. This split simplifies the gcode.py code.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Code_Overview.md')
-rw-r--r-- | docs/Code_Overview.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/Code_Overview.md b/docs/Code_Overview.md index c47d783c..73111870 100644 --- a/docs/Code_Overview.md +++ b/docs/Code_Overview.md @@ -473,9 +473,9 @@ system specified in the config file. This may differ from the bed_tilt, skew_correction) is in effect. This may differ from the actual coordinates specified in the last `G1` command if the g-code origin has been changed (eg, `G92`, `SET_GCODE_OFFSET`, `M221`). The -`M114` command (`gcode.get_status()['gcode_position']`) will report -the last g-code position relative to the current g-code coordinate -system. +`M114` command (`gcode_move.get_status()['gcode_position']`) will +report the last g-code position relative to the current g-code +coordinate system. The "gcode base" is the location of the g-code origin in cartesian coordinates relative to the coordinate system specified in the config |