MCPcopy Index your code
hub / github.com/AFCProject/AFC-Klipper-Add-On

github.com/AFCProject/AFC-Klipper-Add-On @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
1,914 symbols 6,864 edges 59 files 554 documented · 29% updated 4d agov1.1.0 · 2026-03-14★ 24470 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Automated Filament Control (AFC) Klipper Add-on

This Klipper plugin is for use with modern filament control systems such as BoxTurtle, NightOwl etc.

More information about BoxTurtle can be found here

Further information to include command references can be found here.

Usage

Usage instructions for the install-afc.sh script can be shown by running:

./install-afc.sh -h

Installation

To install this plugin, you should have the following pre-requisites installed:

  1. Klipper
  2. Moonraker
  3. WebUI (Mainsail or Fluidd)
  4. Both jq and crudini should be installed on your RaspPi (or equivalent). This can typically be accomplished with the following commands:

    bash sudo apt-get install jq crudini 5. Python >= 3.8

To install this plugin, you can use the following commands from the users home directory:

cd ~
git clone https://github.com/ArmoredTurtle/AFC-Klipper-Add-On.git
cd AFC-Klipper-Add-On
./install-afc.sh

Full options for the install-afc.sh script can be found by running the following command:

./install-afc.sh -h

Updates

To update the AFC plugin software, you can simply run the following command:

cd AFC-Klipper-Add-On
./install-afc.sh

The update process should be non-destructive and will not overwrite any existing configuration files without your permission. If you run into an issue due to a specific configuration, you may need to comment out the AFC plugin software and re-run the install-afc.sh script.

This can be accomplished by commenting out the following lines in your printer.cfg file:

[include AFC/*.cfg]

Once the plugin is updated, please uncomment the lines in your printer.cfg file (if applicable).

Documentation

Further documentation on the plugin, it's various commands and configuration references can be found here.

Support

Join me on Discord

Armored Turtle Configuration / Build Manuals here

Core symbols most depended-on inside this repo

info
called by 182
extras/AFC_logger.py
AFC_error
called by 76
extras/AFC_error.py
debug
called by 74
extras/AFC_logger.py
error
called by 57
extras/AFC_logger.py
register_mux_command
called by 41
extras/AFC_functions.py
save_vars
called by 34
extras/AFC.py
afc_led
called by 30
extras/AFC_functions.py
move
called by 29
extras/AFC_lane.py

Shape

Method 1,534
Class 276
Function 104

Languages

Python100%

Modules by API surface

tests/test_AFC_lane.py134 symbols
tests/conftest.py99 symbols
tests/test_AFC_extruder.py90 symbols
tests/test_AFC_spool.py83 symbols
tests/test_AFC_error.py76 symbols
extras/AFC_lane.py75 symbols
tests/test_AFC_utils.py72 symbols
tests/test_AFC_stats.py72 symbols
tests/test_AFC_buffer.py68 symbols
tests/test_AFC_vivid.py66 symbols
extras/AFC_functions.py66 symbols
extras/AFC.py57 symbols

For agents

$ claude mcp add AFC-Klipper-Add-On \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page