From acb6549a08324c623d76fddbdfd03dc0c2d25964 Mon Sep 17 00:00:00 2001 From: Bassam <61985779+bassamanator@users.noreply.github.com> Date: Fri, 26 Jul 2024 00:44:51 -0400 Subject: [PATCH 1/3] Update README.md Special considerations. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 975a15c..c3adc75 100644 --- a/README.md +++ b/README.md @@ -292,6 +292,12 @@ If enabled, cancelling, or resuming a print from pause, could lead to collisions In PrusaSlicer, please see Printer Settings > Notes, for extruder clearances. +## Renamed GCODE Commands + +### BED_MESH_CALIBRATE + +Renamed to `_BED_MESH_CALIBRATE`. + [🔼 Back to top](#outline) ## FAQ From efdfd869546d2a0e2050071a56d15671c6009f0a Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 12 Aug 2024 11:34:07 -0400 Subject: [PATCH 2/3] Fix kamp notes link. --- .vscode/settings.json | 1 + README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 226a9c2..6b378fa 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -24,6 +24,7 @@ "normalsize", "octahedroflake", "osskc", + "Painis", "PARKBED", "PARKCENTER", "PARKFRONT", diff --git a/README.md b/README.md index 7f73364..cecf447 100644 --- a/README.md +++ b/README.md @@ -310,11 +310,11 @@ Edit the relevant file according to your needs. | ---------------------- | ------------------------ | | `cfgs/misc-macros.cfg` | `[gcode_macro _globals]` | -| Variable | Disable | Enable | Notes | -| ---------------------------------- | ------------- | ------------- | ------------------------------------------------------------------- | +| Variable | Disable | Enable | Notes | +| ---------------------------------- | ------------- | ------------- | ---------------------------------------------- | | `variable_beeping_enabled` | `0` | `1` (default) | | `variable_filament_sensor_enabled` | `0` (default) | `1` | -| `variable_kamp_enable` | `0` (default) | `1` | See [here](#how-do-i-enable-kamp-klipper-adaptive-meshing--purging) | +| `variable_kamp_enable` | `0` (default) | `1` | See [here](#what-do-i-need-to-know-about-kamp) | ### How do I import a configuration bundle into SuperSlicer/PrusaSlicer? From 116f6c9aa42e539ad9a7938e1b7decce1cef60d0 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Wed, 28 Aug 2024 23:01:20 -0400 Subject: [PATCH 3/3] Fix test_speed macro. --- cfgs/TEST_SPEED.cfg | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/cfgs/TEST_SPEED.cfg b/cfgs/TEST_SPEED.cfg index a8f1bd5..0137abd 100644 --- a/cfgs/TEST_SPEED.cfg +++ b/cfgs/TEST_SPEED.cfg @@ -1,10 +1,12 @@ # NOTE Find how to use instructions here: https://ellis3dp.com/Print-Tuning-Guide/articles/determining_max_speeds_accels.html +[gcode_macro TEST_SPEED] # Home, get position, throw around toolhead, home again. # If MCU stepper positions (first line in GET_POSITION) are greater than a full step different (your number of microsteps), then skipping occured. # We only measure to a full step to accomodate for endstop variance. # Example: TEST_SPEED SPEED=300 ACCEL=5000 ITERATIONS=10 -[gcode_macro TEST_SPEED] +description: Test for max speed and acceleration parameters for the printer. Procedure: Home -> ReadPositionFromMCU -> MovesToolhead@Vel&Accel -> Home -> ReadPositionfromMCU + gcode: # Speed {% set speed = params.SPEED|default(printer.configfile.settings.printer.max_velocity)|int %} @@ -12,6 +14,8 @@ gcode: {% set iterations = params.ITERATIONS|default(5)|int %} # Acceleration {% set accel = params.ACCEL|default(printer.configfile.settings.printer.max_accel)|int %} + # Minimum Cruise Ratio + {% set min_cruise_ratio = params.MIN_CRUISE_RATIO|default(0.5)|float %} # Bounding inset for large pattern (helps prevent slamming the toolhead into the sides after small skips, and helps to account for machines with imperfectly set dimensions) {% set bound = params.BOUND|default(20)|int %} # Size for small pattern box @@ -64,7 +68,11 @@ gcode: G0 X{x_min} Y{y_min} Z{bound + 10} F{speed*60} # Set new limits - SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} ACCEL_TO_DECEL={accel / 2} + {% if printer.configfile.settings.printer.minimum_cruise_ratio is defined %} + SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} MINIMUM_CRUISE_RATIO={min_cruise_ratio} + {% else %} + SET_VELOCITY_LIMIT VELOCITY={speed} ACCEL={accel} ACCEL_TO_DECEL={accel / 2} + {% endif %} {% for i in range(iterations) %} # Large pattern diagonals @@ -80,7 +88,7 @@ gcode: G0 X{x_min} Y{y_max} F{speed*60} G0 X{x_max} Y{y_max} F{speed*60} G0 X{x_max} Y{y_min} F{speed*60} - + # Small pattern diagonals G0 X{x_center_min} Y{y_center_min} F{speed*60} G0 X{x_center_max} Y{y_center_max} F{speed*60} @@ -89,7 +97,7 @@ gcode: G0 X{x_center_min} Y{y_center_max} F{speed*60} G0 X{x_center_max} Y{y_center_min} F{speed*60} - # Small patternbox + # Small pattern box G0 X{x_center_min} Y{y_center_min} F{speed*60} G0 X{x_center_min} Y{y_center_max} F{speed*60} G0 X{x_center_max} Y{y_center_max} F{speed*60} @@ -97,7 +105,11 @@ gcode: {% endfor %} # Restore max speed/accel/accel_to_decel to their configured values - SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} ACCEL_TO_DECEL={printer.configfile.settings.printer.max_accel_to_decel} + {% if printer.configfile.settings.printer.minimum_cruise_ratio is defined %} + SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} MINIMUM_CRUISE_RATIO={printer.configfile.settings.printer.minimum_cruise_ratio} + {% else %} + SET_VELOCITY_LIMIT VELOCITY={printer.configfile.settings.printer.max_velocity} ACCEL={printer.configfile.settings.printer.max_accel} ACCEL_TO_DECEL={printer.configfile.settings.printer.max_accel_to_decel} + {% endif %} # Re-home and get position again for comparison: M400 # Finish moves - https://github.com/AndrewEllis93/Print-Tuning-Guide/issues/66 @@ -109,4 +121,5 @@ gcode: GET_POSITION # Restore previous gcode state (absolute/relative, etc) - RESTORE_GCODE_STATE NAME=TEST_SPEED \ No newline at end of file + RESTORE_GCODE_STATE NAME=TEST_SPEED + \ No newline at end of file