Skip to content

3DCoded/DynamicMacros

Repository files navigation

Klipper Dynamic Macros

Never restart Klipper again for simple macros.

logo


Klipper Dynamic Macros is an unofficial way to update macros without restarting Klipper, so you can update macros mid-print and see their results live. It also supports extra features that normal GCode Macros don't have.

Documentation

Read the documentation here

Built with Material for MkDocs

More Projects

If you like this project, don't forget to give it a star! Also, check out my other projects:

Features

How Normal Macros Work

Your macros are written in a .cfg file, then included into your printer.cfg. When Klipper restarts, it parses these files and saves the macros internally (you can't change them without restarting Klipper). When a macro is called, the cached code is interpreted and run.

How Dynamic Macros Work

Your macros are written in a .cfg file, then the relative path to that file is configured in a [dynamicmacros] config section. The config files are read and parsed every time you run the DYNAMIC_MACRO command, allowing you to update macros without restarting Klipper.

Get Started

Follow the Tutorial to get started with Dynamic Macros.

Features

See Development Status for the currently available features, and planned features.