This is my klipper_config that uses custom gcode macros extensively to enhance the 3D printing experience.
It was originally envisioned to allow data to be communicated from the Slicer to Klipper and then stored in variables for use by other macros during/before/after the print but I would like eventually for it to be a much more extensive project that truly takes advantage of what gcode macros can do!
There is now quite a large selection of macros!
From filament changes to maintenance positioning to heat soaks and print-area-meshing. There's something for everyone! And I've done my best to make the user experience as clean as possible.
Additionally, this config now utilizes:
If you are looking for guides on calibrating or setting up a new Klipper printer, those are found here:
I'm working on, breaking, changing, and using this daily! I strongly suggest nobody use this full config for anything more than reference/inspiration at this time.
It is likely to fail/crash on your system in its current state!
Many of these macros work as great examples of using scripting and other Klipper features to perform different tasks.
Many may even work on your printer as-is.
But a lot of them won't.
So consider this more of a selection of examples that will likely need to be tailored to fit your unique system. Use it as a resource to see how you could do something, not necessarily how you should. Feel free to message me with questions if you have them.
extras
folder are not usedThis may be just because they conflict with other existing macros I already use, or they are there as samples/examples. But they aren't included on my personal system.
machine
and macros
folders are included in the configThe machine
folder is included by the printer.cfg file and the rest are included through zippy.cfg
printer.cfg
file is not synced in order to preserve automatic config overridesIts only contents (aside from automated overrides) are:
# Rootiest Zippy Klipper config
# Machine directory
[include machine/*.cfg]
This way we can have full access to modify any parts of the config without risking overwriting the automated overrides.
The zippy.cfg file contains the includes for the macros directory as well as some other files used by extensions. This allows the paths of those files to be preserved to maintain compatibility with extension updates.
A snapshot of the printer.cfg file is available to see here:
Sanitized examples can be seen here:
This helps to prevent accidental syncing of your private passwords or tokens as well as reducing clutter from backup files.
Many parts of this project were borrowed quite heavily from other people's work.
I am compiling a list of acknowledgements to include in this README before posting publicly.
Klipper is a 3D-Printer firmware. It combines the power of a general purpose computer with one or more micro-controllers. See the features document for more information on why you should use Klipper.
To begin using Klipper start by installing it.
Klipper is Free Software. See the license or read the documentation.
Rootiest on Discord (Voron and Klipper servers)
Donate to support my work:
Join the Rootiest Discord server for information and support for my projects.