Skip to content

A collection of my Klipper G-code macros.

License

Notifications You must be signed in to change notification settings

Desuuuu/klipper-macros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

klipper-macros

A collection of my Klipper G-code macros.

Usage

Copy the macros folder alongside your printer configuration file and edit it to add:

[include macros/*.cfg]

Configuration

You can configure some macros using SAVE_VARIABLE in the following way:

[save_variables]
filename: ~/variables.cfg

[delayed_gcode macros_initialize]
initial_duration: 1
gcode:
  INITIALIZE_VARIABLE VARIABLE=park_x VALUE=30
  INITIALIZE_VARIABLE VARIABLE=park_y VALUE=30
  INITIALIZE_VARIABLE VARIABLE=bowden_len VALUE=300

Here's the list of parameters you can configure:

Name Default Description
park_x x_min + 20 Default X park position
park_y y_min + 20 Default Y park position
bowden_len 100 Bowden tube length

Macros

About

A collection of my Klipper G-code macros.

Topics

Resources

License

Stars

Watchers

Forks