Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1d92be7 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinOConnor committed Jan 18, 2024
1 parent 0f25d8c commit c30395e
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 18 deletions.
36 changes: 19 additions & 17 deletions Code_Overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -1562,8 +1562,9 @@ <h2 id="code-flow-of-a-move-command">Code flow of a move command<a class="header
<ul>
<li>The ToolHead class (in toolhead.py) handles "look-ahead" and tracks
the timing of printing actions. The main codepath for a move is:
<code>ToolHead.move() -&gt; MoveQueue.add_move() -&gt; MoveQueue.flush() -&gt;
Move.set_junction() -&gt; ToolHead._process_moves()</code>.<ul>
<code>ToolHead.move() -&gt; LookAheadQueue.add_move() -&gt;
LookAheadQueue.flush() -&gt; Move.set_junction() -&gt;
ToolHead._process_moves()</code>.<ul>
<li>ToolHead.move() creates a Move() object with the parameters of the
move (in cartesian space and in units of seconds and millimeters).</li>
<li>The kinematics class is given the opportunity to audit each move
Expand All @@ -1572,10 +1573,10 @@ <h2 id="code-flow-of-a-move-command">Code flow of a move command<a class="header
may raise an error if the move is not valid. If check_move()
completes successfully then the underlying kinematics must be able
to handle the move.</li>
<li>MoveQueue.add_move() places the move object on the "look-ahead"
queue.</li>
<li>MoveQueue.flush() determines the start and end velocities of each
move.</li>
<li>LookAheadQueue.add_move() places the move object on the
"look-ahead" queue.</li>
<li>LookAheadQueue.flush() determines the start and end velocities of
each move.</li>
<li>Move.set_junction() implements the "trapezoid generator" on a
move. The "trapezoid generator" breaks every move into three parts:
a constant acceleration phase, followed by a constant velocity
Expand All @@ -1599,17 +1600,18 @@ <h2 id="code-flow-of-a-move-command">Code flow of a move command<a class="header
placed on a "trapezoid motion queue": <code>ToolHead._process_moves() -&gt;
trapq_append()</code> (in klippy/chelper/trapq.c). The step times are then
generated: <code>ToolHead._process_moves() -&gt;
ToolHead._update_move_time() -&gt; MCU_Stepper.generate_steps() -&gt;
itersolve_generate_steps() -&gt; itersolve_gen_steps_range()</code> (in
klippy/chelper/itersolve.c). The goal of the iterative solver is to
find step times given a function that calculates a stepper position
from a time. This is done by repeatedly "guessing" various times
until the stepper position formula returns the desired position of
the next step on the stepper. The feedback produced from each guess
is used to improve future guesses so that the process rapidly
converges to the desired time. The kinematic stepper position
formulas are located in the klippy/chelper/ directory (eg,
kin_cart.c, kin_corexy.c, kin_delta.c, kin_extruder.c).</li>
ToolHead._advance_move_time() -&gt; ToolHead._advance_flush_time() -&gt;
MCU_Stepper.generate_steps() -&gt; itersolve_generate_steps() -&gt;
itersolve_gen_steps_range()</code> (in klippy/chelper/itersolve.c). The
goal of the iterative solver is to find step times given a function
that calculates a stepper position from a time. This is done by
repeatedly "guessing" various times until the stepper position
formula returns the desired position of the next step on the
stepper. The feedback produced from each guess is used to improve
future guesses so that the process rapidly converges to the desired
time. The kinematic stepper position formulas are located in the
klippy/chelper/ directory (eg, kin_cart.c, kin_corexy.c,
kin_delta.c, kin_extruder.c).</li>
</ul>
<ul>
<li>Note that the extruder is handled in its own kinematic class:
Expand Down
Binary file modified _klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified fr/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified fr/sitemap.xml.gz
Binary file not shown.
Binary file modified hu/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified hu/sitemap.xml.gz
Binary file not shown.
Binary file modified it/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified it/sitemap.xml.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
Binary file modified zh-Hant/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified zh-Hant/sitemap.xml.gz
Binary file not shown.
Binary file modified zh/_klipper3d/__pycache__/mkdocs_hooks.cpython-38.pyc
Binary file not shown.
Binary file modified zh/sitemap.xml.gz
Binary file not shown.

0 comments on commit c30395e

Please sign in to comment.