3dprint: add default profile for klipper calibration

This commit is contained in:
makefu 2024-01-18 23:35:03 +01:00
parent 23b33633c2
commit e39bdff2a4
No known key found for this signature in database
GPG key ID: 36F7711F3FC0F225
2 changed files with 26 additions and 2 deletions

View file

@ -1,3 +1,4 @@
{ pkgs, ... }:
{
services.octoprint = {
enable = true;

View file

@ -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