-
Notifications
You must be signed in to change notification settings - Fork 8
Installation
Download flap_main.cfg and flap_temp_control.cfg. Upload them to your Klipper config folder.
Open flap_main.cfg in Klipper
Read and adjust any variables you would like. Each variable is explained by the comment.
Find the section called PIN ASSIGNMENT
There are two macros you need to assign your filament sensor and unload button to.

If you are not certain what your pins are called, check the manual of your mainboard or MCU. Please note that depending on your configuration a ^ before the pin might be required. Please check the Klipper documentation for more details.
If you do not have a button for unloading, simply comment out this section.

Save and restart
Open flap_temp_control.cfg in Klipper
Here you can add, remove or adjust material profiles.

To add a material, use the following template: ["PLA",215,200,60]. The first item is the name of the material. It must be in quotes. The 2nd, 3rd, and 4th, numbers are. Extrude temperature, minimum extrude temperature, and heatbed temp, respectively. Remember to add or remove commas as needed between items.
To remove a material, simply delete the item.
Save and restart
Open printer.cfg in Klipper
Add:
[include flap_temp_control.cfg]
[include flap_main.cfg]
[save_variables]
filename:~/variables.cfg
Save and restart.
If you have configured everything correctly, you should have new macros available in Mainsail and you can test by inserting filament.
Done 🎉
You can try to add an ! to the pin assignment. Like this ^!gpio1. This inverts the logic of the pin.
This is caused by having the Console open on the dashboard at the same time. Run the macro on a page without the console and the speed will be greatly improved. I don't have a good work around for this, it logging and showing the console slows things down a bit.
FLÀP adds the following macros. These might conflict with macros you already have in your setup. Please check to make sure otherwise errors or unintended behavior might occur.
Filament Load
FIlament Unload
Filament Runout
M600 (Color Change)
Pause
Resume
Cancel
If FLÀP's macros are missing a feature you require, you can of course add it yourself, but this is more of a technical process and it's assumed you know what you are doing.