Skip to content

BDPrinterProbe.run_probe() takes 2 positional arguments. #253

Description

@Orin-Alchemical-3D

Good Morning/Afternoon.

I have and set up the BDsensor in Klipper/Kalico and am mostly working. The probe works for general homing and detection, but when trying to flesh out the Z_TILT_ADJUST the system errors out with the warning below.

"BDPrinterProbe.run_probe() takes 2 positional arguments but 3 were given"

The printer design, is similar to something like a Trident with Triple Z, (z, z1, z2)

Image

Here is what the config section looks like.

#-----------------------------------------------------------------------------
[z_tilt] ## Use Z_TILT_ADJUST to level the bed .
horizontal_move_z: 1
z_positions:
-50, 18
150, 348
350, 18
points:
30, 25
150, 245
270, 25
speed: 200
retries: 5
retry_tolerance: 0.0075
#-----------------------------------------------------------------------------

The macro lines have been copied and placed.

[gcode_macro Z_TILT_ADJUST]
rename_existing: _Z_TILT_ADJUST
description:
gcode:
#run z tilt with z move up and down at first
BDSENSOR_SET QGL_TILT_PROBE=1 #set this 1 to enable z axis up and down
BDSENSOR_SET COLLISION_HOMING=0
_Z_TILT_ADJUST horizontal_move_z=6 retry_tolerance=1
G28 Z0
#run z tilt with no z move up and down
BDSENSOR_SET QGL_TILT_PROBE=0 #set this 0 to disable z axis up and down while probe
_Z_TILT_ADJUST horizontal_move_z=1 retry_tolerance=0.04
#BDSENSOR_SET COLLISION_HOMING=1 #optional
G28 Z0

I have been surfing all of the guides, videos, etc able to be found and not located a solution.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions