GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - 3DCoded/DynamicMacros: Never restart Klipper again for simple macros.

BranchesTags
Open more actions menu

Latest commit

 

History

234 Commits
234 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
dynamicmacros.py
dynamicmacros.py
 
 
install.sh
install.sh
 
 
logo.png
logo.png
 
 

Repository files navigation

Klipper Dynamic Macros

Never restart Klipper again for simple macros...and so much more

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

More Projects

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

  • 3MS, a modular multimaterial system for Klipper
  • KlipperMaintenance, maintenance reminders for Klipper

Features

  • Recursion
  • Receiving Variables
  • Utility Functions
  • Variables
  • Python
  • Delayed GCode
  • Macro Clusters
  • Rendering Macros

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 Features for the currently available features, and planned features.

About

Never restart Klipper again for simple macros.

docs.3dcoded.xyz/DynamicMacros

Topics

3dprintingdynamicgcodeklippermacro

Resources

Readme
GPL-3.0 license
Activity

Stars

80 stars

Watchers

8 watching

Forks

7 forks
Report repository

Releases

Sponsor this project

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.