Skip to content

Latest commit

 

History

History
53 lines (45 loc) · 1.73 KB

README.md

File metadata and controls

53 lines (45 loc) · 1.73 KB

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