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
* Update Line_Purge.cfg
- Added 10mm rapid move at the end of the purge line to break any stringing and move nozzle to less likely area to collide with purged line.
- Added gcode state save and restore to finally fix issues with slicer profiles that do not use relative extrusion mode.
* Update Voron_Purge.cfg
- Added gcode state save and restore to finally fix issues with slicer profiles that do not use relative extrusion mode.
* Update Smart_Park.cfg
Update smart park to account for purge margin if it is present, and if there are objects detected.
* Update Smart_Park.cfg
Sometimes with a full buildplate, the park will fail. Smart park will now compare the purge+margin point with the minimum point of the printed area and choose the bigger of the two points.
* Update Adaptive_Meshing.cfg
If KAMP adjustments exceed printer configured default bounds, remove adjustments and verbose message
* fix spelling error for moonraker.conf
* fix for calculated mesh exceeding bounds
* fix readme, add common issue to troubleshooting
Copy file name to clipboardExpand all lines: Configuration/Adaptive_Meshing.cfg
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,11 @@ gcode:
33
33
{% set adapted_x_max = (bed_mesh_max[0] - fuzz_amount + mesh_margin, x_max) | min + (fuzz_range | random / 100.0) %} # Adapt x_max to margin and fuzz constraints
34
34
{% set adapted_y_max = (bed_mesh_max[1] - fuzz_amount + mesh_margin, y_max) | min + (fuzz_range | random / 100.0) %} # Adapt y_max to margin and fuzz constraints
35
35
36
+
{% set adapted_x_min = [adapted_x_min , bed_mesh_min[0]] | max %} # Compare adjustments to defaults and choose max
37
+
{% set adapted_y_min = [adapted_y_min , bed_mesh_min[1]] | max %} # Compare adjustments to defaults and choose max
38
+
{% set adapted_x_max = [adapted_x_max , bed_mesh_max[0]] | min %} # Compare adjustments to defaults and choose min
39
+
{% set adapted_y_max = [adapted_y_max , bed_mesh_max[1]] | min %} # Compare adjustments to defaults and choose min
40
+
36
41
{% set points_x = (((adapted_x_max - adapted_x_min) / max_probe_point_distance_x) | round(method='ceil') | int) + 1 %} # Define probe_count's x point count and round up
37
42
{% set points_y = (((adapted_y_max - adapted_y_min) / max_probe_point_distance_y) | round(method='ceil') | int) + 1 %} # Define probe_count's y point count and round up
38
43
@@ -44,10 +49,10 @@ gcode:
44
49
{% set min_points = 3 %} #
45
50
{% endif %} #
46
51
47
-
{% set points_x = [points_x, min_points]|max %}# Set probe_count's x points to fit the calculated algorithm
48
-
{% set points_y = [points_y, min_points]|max %}# Set probe_count's y points to fit the calculated algorithm
49
-
{% set points_x = [points_x, probe_count[0]]|min %}
50
-
{% set points_y = [points_y, probe_count[1]]|min %}
52
+
{% set points_x = [points_x, min_points]|max %} # Set probe_count's x points to fit the calculated algorithm
53
+
{% set points_y = [points_y, min_points]|max %} # Set probe_count's y points to fit the calculated algorithm
54
+
{% set points_x = [points_x, probe_count[0]]|min %}
55
+
{% set points_y = [points_y, probe_count[1]]|min %}
51
56
52
57
{% if verbose_enable == True %} # If verbose is enabled, print information about KAMP's calculations
Copy file name to clipboardExpand all lines: README.md
+13-3Lines changed: 13 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,9 +98,9 @@ The cleanest and easiest way to get started with KAMP is to use Moonraker's Upda
98
98
>
99
99
> It is also possible that with older setups of klipper or moonraker that your config path will be different. Be sure to use the correct config path for your machine when making the symbolic link, and when copying `KAMP_Settings.cfg` to your config directory.
100
100
101
-
2. Open your `moonraker.cfg` file and add this configuration:
101
+
2. Open your `moonraker.conf` file and add this configuration:
102
102
```yaml
103
-
[update_manager Klipper-Adaptive-Meshing-Purging]
103
+
[update_manager Klipper-Adaptive-Meshing-Purging]
104
104
type: git_repo
105
105
channel: dev
106
106
path: ~/Klipper-Adaptive-Meshing-Purging
@@ -207,7 +207,17 @@ It is required to add `max_extrude_cross_section: 5` to your `[extruder]` config
207
207
* `smart_park_height:` This is the height at which you'd like your printhead to be when calling the `Smart_Park` macro. **Don't forget to add `Smart_Park` near the end of your `Print_Start` macro, *before* the final heating command is called.**
208
208
209
209
## Troubleshooting:
210
-
*
210
+
211
+
<details>
212
+
<summary>
213
+
<b>
214
+
I'm getting 'gcode_macro BED_MESH_CALIBRATE:gcode': TypeError: bad operand type for abs(): 'Undefined'
215
+
</b>
216
+
</summary>
217
+
<p>
218
+
</p>
219
+
This was likely caused by you commenting out a setting in KAMP_Settings.cfg rather than just setting it to false. These checks needs to be in place, so instead of commenting them out, just set them to disabled.
0 commit comments