Skip to content

Latest commit

 

History

History
70 lines (55 loc) · 2.31 KB

File metadata and controls

70 lines (55 loc) · 2.31 KB

Extra Macros

Useful Macros for Common Functions and Tuning


Written with a Neptune 4 Pro on Open Nept4une firmware. However, the macros should be useful for any Klipper printer

Installation:

If you've installed KAMP then it should be fairly familiar. With advice from its author, Kyleisah, I've essentially copied the process.

1. SSH into your printer.

  • For Neptune 4 owners USER: mks PASSWORD: makerbase (USER: root will break the process as far as I can tell)

2. Run the following commands in order:

 cd ~/

 git clone https://github.com/dcchillin46/extra-macros.git

 ln -s ~/extra-macros ~/printer_data/config/extra-macros

 cp ~/extra-macros/extra_macros.cfg ~/printer_data/config/extra_macros.cfg

This will:

  • Change to the home directory
  • Clone the extra-macros repo
  • Create a symbolic link between the clone repository and the printers config folder
  • Create a copy of the extra_macros.cfg for local editing that wont invalidate (dirty) the local files

3. Open printer.cfg through SSH or your front end of choice (fluidd, Mainsail, etc) and add:

[include extra_macros.cfg]

4. (Optional) Open moonraker.cfg and add:

[update_manager]
channel: dev
refresh_interval: 168

This enables Moonraker Update Manager with a refresh rate of once every 7 days

[update_manager extra-macros]
type: git_repo
path: ~/extra-macros
origin: https://github.com/dcchillin46/extra-macros.git
managed_services: klipper
primary_branch: main

This will allow moonraker to handle updating the extra_macros.cfg with changes pushed to the repo

Alternatively:

1. Download raw extra_macros.cfg from repo
2. Place in ~/printer_data/config
3. Add [include extra_macros.cfg] to printer.cfg

*This method will require manual updating



It's probably pretty evident I'm new to all of this. If you run into any issues with the macros, install process, or updater please let me know and I'll try to refine things as I can. Expect frequent, minor updates as I learn