diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2020-08-17 00:05:41 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2020-08-20 21:03:22 -0400 |
commit | 1286d3006c355a0fc7c51736a2466794ede00612 (patch) | |
tree | c3acfde95e2d06adc639608cbd3ae4005ad4d781 /docs/Code_Overview.md | |
parent | b691e013f090ba5bbc64ed087edd4713c3228f95 (diff) | |
download | kutter-1286d3006c355a0fc7c51736a2466794ede00612.tar.gz kutter-1286d3006c355a0fc7c51736a2466794ede00612.tar.xz kutter-1286d3006c355a0fc7c51736a2466794ede00612.zip |
gcode_move: Move GCodeMove class from gcode.py to new extras module
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Code_Overview.md')
-rw-r--r-- | docs/Code_Overview.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/Code_Overview.md b/docs/Code_Overview.md index 73111870..f7d14463 100644 --- a/docs/Code_Overview.md +++ b/docs/Code_Overview.md @@ -125,12 +125,13 @@ of a typical move command. The [kinematics](Kinematics.md) document provides further information on the mechanics of moves. * Processing for a move command starts in gcode.py. The goal of - gcode.py is to translate G-code into internal calls. Changes in - origin (eg, G92), changes in relative vs absolute positions (eg, - G90), and unit changes (eg, F6000=100mm/s) are handled here. The - code path for a move is: `_process_data() -> _process_commands() -> - cmd_G1()`. Ultimately the ToolHead class is invoked to execute the - actual request: `cmd_G1() -> ToolHead.move()` + gcode.py is to translate G-code into internal calls. A G1 command + will invoke cmd_G1() in klippy/extras/gcode_move.py. The + gcode_move.py code handles changes in origin (eg, G92), changes in + relative vs absolute positions (eg, G90), and unit changes (eg, + F6000=100mm/s). The code path for a move is: `_process_data() -> + _process_commands() -> cmd_G1()`. Ultimately the ToolHead class is + invoked to execute the actual request: `cmd_G1() -> ToolHead.move()` * The ToolHead class (in toolhead.py) handles "look-ahead" and tracks the timing of printing actions. The main codepath for a move is: |