From e39bdff2a49c925dedb9b7affd8cfa54885f8d20 Mon Sep 17 00:00:00 2001 From: makefu Date: Thu, 18 Jan 2024 23:35:03 +0100 Subject: [PATCH] 3dprint: add default profile for klipper calibration --- 2configs/home/3dprint/octoprint.nix | 1 + .../printer-artillery-sidewinder-x2-2022.cfg | 27 +++++++++++++++++-- 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/2configs/home/3dprint/octoprint.nix b/2configs/home/3dprint/octoprint.nix index b937ca4..e5ede5b 100644 --- a/2configs/home/3dprint/octoprint.nix +++ b/2configs/home/3dprint/octoprint.nix @@ -1,3 +1,4 @@ +{ pkgs, ... }: { services.octoprint = { enable = true; diff --git a/2configs/home/3dprint/printer-artillery-sidewinder-x2-2022.cfg b/2configs/home/3dprint/printer-artillery-sidewinder-x2-2022.cfg index 38df7bd..85624fc 100644 --- a/2configs/home/3dprint/printer-artillery-sidewinder-x2-2022.cfg +++ b/2configs/home/3dprint/printer-artillery-sidewinder-x2-2022.cfg @@ -283,11 +283,34 @@ gcode: g1 x150 y150 f9000 g1 z100 f3000 -[gocde_macro PROBE_CALIBRATE] +[gcode_macro CALIBRATE_PROBE] gcode: g28 ; home all axis PROBE_CALIBRATE -[gocde_macro SCREWS_TILT_CALCULATE] +[gcode_macro CALIBRATE_SCREWS] gcode: SCREWS_TILT_CALCULATE + +# added via klipper configuration logic +# to generate: +# chmod 777 /etc and then +# calibrate and SAVE_CONFIG +[bed_mesh default] +version = 1 +points = + -0.077500, 0.015833, 0.052500, 0.030000, -0.035000 + -0.070000, 0.000833, 0.054167, 0.026667, -0.018333 + -0.067500, -0.020000, 0.005833, -0.007500, -0.027500 + -0.035000, -0.022500, -0.017500, -0.025833, -0.040000 + -0.063333, -0.087500, -0.062500, -0.077500, -0.030833 +x_count = 5 +y_count = 5 +mesh_x_pps = 3 +mesh_y_pps = 3 +algo = bicubic +tension = 0.2 +min_x = 27.25 +max_x = 272.72 +min_y = 12.8 +max_y = 287.15999999999997