You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Configuration/Line_Purge.cfg
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,6 @@
7
7
# ...
8
8
# max_extrude_cross_section: 5
9
9
10
-
11
10
[gcode_macro LINE_PURGE]
12
11
description: A purge macro that adapts to be near your actual printed objects
13
12
@@ -20,7 +19,23 @@ variable_x_default: 10 # Default X location to purge. If adaptive_e
20
19
variable_y_default: 10 # Default Y location to purge. If adaptive_enable is True, this is overwritten
21
20
variable_distance_to_object_y: 10 # Y distance in millimeters away from the print area for purging. Must be less than or equal to y_default if adaptive_enable is False
22
21
22
+
### This section is for those who are using Moonraker's Update Manager for KAMP, or want a more verbose macro. ###
23
+
24
+
variable_display_parameters: True # Display macro paramters in the console, useful for debugging the SETUP_LINE_PURGE call, or more verbosity.
This should be all that needs to be done for enabling updates via Moonraker's Update Manager! Be sure to restart your firmware and moonraker instance, or reboot your Pi for all changes to take effect. [^1]
248
+
249
+
⚠️ Please pay special attention to the following, as this is a critical step:
250
+
251
+
Before using any macros from KAMP when using the moonraker managed method, you have to **SET** the parameters for the macros before they are called, or they will only use the default parameters. You should only have to change your `PRINT_START` once or twice until you have the parameters set how you like them, then you can leave them alone. There is an example provided at the bottom of this section to show you how you can do this.
252
+
253
+
> For setting up adaptive meshing, you need to call the macro:
254
+
>> ```jinja
255
+
>> SETUP_KAMP_MESHING [parameters]
256
+
>> ```
257
+
> For adaptive purging (Voron-logo):
258
+
>> ```jinja
259
+
>> SETUP_VORON_PURGE [parameters]
260
+
>> ```
261
+
> For an adaptive purging in a form of a simple line:
262
+
>> ```jinja
263
+
>> SETUP_LINE_PURGE [parameters]
264
+
>> ```
265
+
266
+
Be sure the calls for `BED_MESH_CALIBRATE` and/or `VORON_PURGE`/`LINE_PURGE` are also included in your `PRINT_START` and are called **AFTER** calling these setup macros.
267
+
268
+
As for the parameters, you can inspect the individual config files and the macros. You can also add the parameter `DISPLAY_PARAMETERS=1` to either of the SETUP calls and it will print current values (useful for debugging) when calling the actual macros.
269
+
After modifying the `PRINT_START` macro, do not forget to restart klipper again. [^1]
As you can see, `SETUP_KAMP_MESHING` is setting `LED_ENABLE` and `FUZZ_ENABLE` *before* `BED_MESH_CALIBRATE` is called. The same has also been done using `SETUP_VORON_PURGE`.
289
+
290
+
<br>
291
+
292
+
**It is important that the `SETUP` macros are being called *before* the actual macro, otherwise default values are used.**
210
293
211
294
</details>
212
295
<br>
@@ -245,8 +328,6 @@ Solution:
245
328
246
329
# Adaptive Purging
247
330
248
-
<br>
249
-
250
331
## Introduction
251
332
Adaptive Purging takes the same secret sauce of Adaptive Meshing, and uses it for a pre-print prime line or purge. So instead of the purge line always being in the same spot of your print bed, the purge will actually be near your print! Some folks find this useful as they can lower the count of lines in their print skirt, or remove it altogether!
0 commit comments