- Python 87.2%
- Shell 12.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| AFC | ||
| config | ||
| data | ||
| macros | ||
| .editorconfig | ||
| .gitignore | ||
| crowsnest.conf | ||
| KlipperScreen.conf | ||
| moonraker.conf | ||
| octoeverywhere-system.cfg | ||
| octoeverywhere.conf | ||
| printer.cfg | ||
| README.md | ||
| saved_variables.cfg | ||
| sonar.conf | ||
Voron 2.4 config
Herein lies the config for my self-built Voron 2.4.
Below is extra steps for setup.
Debugging
PID Tuning
Be sure to turn on the filter fan before bed tuning:
START_FILTER SPEED=1
PID_CALIBRATE HEATER=heater_bed TARGET=100
STOP_FILTER
PID_CALIBRATE HEATER=extruder TARGET=255
Set vars during runtime
# Temporarily change a variable (reset on restart)
SET_GCODE_VARIABLE MACRO=_USER_VARIABLES_OTHER VARIABLE=force_homing_in_start_print VALUE=False
# Save a var locally
SAVE_VARIABLE VARIABLE=temperature_target VALUE={TARGET_TEMP}
Filter monitoring
Check the status of the filter:
QUERY_FILTER EXTENDED=True
Reset the filter:
FILTER_RESET
Auto-Z calibration (removed)
https://github.com/protoloft/klipper_z_calibration/wiki/How-To-Use-It
Run CALIBRATE_Z to find the actual Z offset.
To figure out the switch_offset, do the paper level test, then run;
CALCULATE_SWITCH_OFFSET
Quad gantry leveling
https://docs.vorondesign.com/build/startup/#quad-gantry-level-v2
PROBE_ACCURACY
QUAD_GANTRY_LEVEL
Input Shaping Setup:
https://www.klipper3d.org/RPi_microcontroller.html https://www.klipper3d.org/Measuring_Resonances.html#measuring-the-resonances
Make sure the Linux SPI driver is enabled by running sudo raspi-configand
enabling SPI under the "Interfacing options" menu.
cd ~/klipper/
sudo cp ./scripts/klipper-mcu.service /etc/systemd/system/
sudo systemctl enable klipper-mcu.service
cd ~/klipper/
make menuconfig
In the menu, set "Microcontroller Architecture" to "Linux process," then save and exit.
To build and install the new micro-controller code, run:
sudo service klipper stop
make flash
sudo service klipper start
Once things are setup, use the following macros:
MEASURE_AXES_NOISE # Reports the noise level of the adxl sensor
ACCELEROMETER_QUERY # Takes a sensor reading. Useful to ensure the sensor is alive.
SHAPER_CALIBRATE # Calibrate X & Y
TEST_RESONANCES AXIS=X # Calibrate just X
TEST_RESONANCES AXIS=Y # Calibrate just Y
To get a graph, run:
./data/shaper_parse.sh
tmc setter autotune
https://github.com/andrewmcgr/klipper_tmc_autotune
AUTOTUNE_TMC STEPPER=<name> [PARAMETER=<value>]
e.g.:
AUTOTUNE_TMC STEPPER=stepper_x tuning_goal=silent
Maintanence
https://3dcoded.github.io/KlipperMaintenance/gcodes/
MAINTAIN_STATUSShows the current maintenance statusCHECK_MAINTENANCE NAME=airfilterShows a specific maintenance itemUPDATE_MAINTENANCE NAME=airfilterSets the last maintenance time to now
Cartographer
Canbus
~/klippy-env/bin/python ~/klipper/scripts/canbus_query.py can0
https://canbus.esoterical.online/
CARTOGRAPHER_THRESHOLD_SCAN
CATROGRAPHER_TOUCH
saved menuconfig
https://slawi.eu/posts/klipper_make_config/
menuconfig for BigTreeTech Octopus CANBUS
cd ~/katapult
cp .config config-octopus-canbus
make KCONFIG_CONFIG=config-octopus-canbus
klipper updates
When updating klipper, be sure to also update the canbus firmware:
cd ~/klipper/
git pull
make clean
make menuconfig
data/external_stuff/update_canbus.sh
Forgot to add print pause
SET_PAUSE_AT_LAYER ENABLE=1 LAYER=15 MACRO=CHANGE_FILAMENT
or
SET_PAUSE_NEXT_LAYER ENABLE=1 MACRO=CHANGE_FILAMENT
AFC
Mainsail official is working on bringing AFC upstream Dev build as of Sept 7, 2025: https://github.com/mainsail-crew/mainsail/actions/runs/17531279593
To manually update to latest devel:
pushd ~/tmp/mainsail-repo
git checkout develop
git pull
npm ci
npm run build
unzip ./dist/mainsail.zip -d ~/mainsail/