Skip to content

Commit bb6dda7

Browse files
authored
Update Adaptive_Meshing.cfg
Remove RRI calls as they've been deprecated with new zero reference point configuration.
1 parent 79ab38d commit bb6dda7

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

Configuration/Adaptive_Meshing.cfg

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,6 @@ gcode:
4646
{% set points_x = [points_x, probe_count[0]]|min %}
4747
{% set points_y = [points_y, probe_count[1]]|min %}
4848

49-
{% if printer.configfile.settings.bed_mesh.relative_reference_index is defined %} #
50-
{% set ref_index = (points_x * points_y / 2) | int %} #
51-
{% else %} # Set reference index to be point closest to adapted mesh center point if defined
52-
{% set ref_index = -1 %} #
53-
{% endif %} #
54-
5549
{% if verbose_enable == True %} # If verbose is enabled, print information about KAMP's calculations
5650

5751
{ action_respond_info( "Algorithm: {}.".format(
@@ -66,13 +60,7 @@ gcode:
6660
{ action_respond_info("Adapted probe count: {},{}.".format(
6761
(points_x),
6862
(points_y),
69-
)) }
70-
71-
{% if ref_index != -1 %}
72-
{ action_respond_info( "Reference index adjusted to: {}.".format(ref_index) ) }
73-
{% else %}
74-
{ action_respond_info( "Reference index: None." ) }
75-
{% endif %}
63+
)) }
7664

7765
{action_respond_info("Default mesh bounds: {}, {}.".format(
7866
(bed_mesh_min[0],bed_mesh_min[1]),
@@ -109,8 +97,8 @@ gcode:
10997
{attach_macro} # Attach/deploy a probe if the probe is stored somewhere outside of the print area
11098
{% endif %}
11199

112-
_BED_MESH_CALIBRATE mesh_min={adapted_x_min},{adapted_y_min} mesh_max={adapted_x_max},{adapted_y_max} ALGORITHM={algorithm} PROBE_COUNT={points_x},{points_y} RELATIVE_REFERENCE_INDEX={ref_index}
100+
_BED_MESH_CALIBRATE mesh_min={adapted_x_min},{adapted_y_min} mesh_max={adapted_x_max},{adapted_y_max} ALGORITHM={algorithm} PROBE_COUNT={points_x},{points_y}
113101

114102
{% if probe_dock_enable == True %}
115103
{detach_macro} # Detach/stow a probe if the probe is stored somewhere outside of the print area
116-
{% endif %} # End of verbose
104+
{% endif %} # End of verbose

0 commit comments

Comments
 (0)