Skip to content

feat: adds basic axis_twist_compensation support#1838

Merged
pedrolamas merged 2 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/axis-twist-compensation-support
May 12, 2026
Merged

feat: adds basic axis_twist_compensation support#1838
pedrolamas merged 2 commits into
fluidd-core:developfrom
pedrolamas:pedrolamas/axis-twist-compensation-support

Conversation

@pedrolamas
Copy link
Copy Markdown
Member

Adds basic support for AXIS_TWIST_COMPENSATION_CALIBRATE (and CARTOGRAPHER_AXIS_TWIST_COMPENSATION when Cartographer is used)

image

Resolves #1836

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
@pedrolamas pedrolamas added this to the 1.37.1 milestone May 12, 2026
@pedrolamas pedrolamas requested a review from Copilot May 12, 2026 17:11
@pedrolamas pedrolamas added the FR - Enhancement New feature or request label May 12, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds basic UI/typing support for Klipper axis twist compensation calibration, including a Cartographer-specific command entry, so users can trigger these calibration routines from the Toolhead widget.

Changes:

  • Add axis_twist_compensation to Klipper settings typings (with a new AxisTwistCompensationSettings interface).
  • Introduce new wait keys for the axis twist compensation-related commands.
  • Add Toolhead “tools” entries for AXIS_TWIST_COMPENSATION_CALIBRATE and CARTOGRAPHER_AXIS_TWIST_COMPENSATION.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/typings/klipper.d.ts Adds axis_twist_compensation config typing + settings interface.
src/globals.ts Adds wait keys for the new calibration commands.
src/components/widgets/toolhead/ToolheadCard.vue Exposes the new commands in the Toolhead tools list based on printer config.

Comment on lines +249 to +253
get printerSupportsCartographerAxisTwistCompensation (): boolean {
return (
this.printerSettings.cartographer != null &&
this.printerSettings.axis_twist_compensation != null
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The [scanner] section is part of the old cartographer code and is deprecated and should be removed as noted here: https://docs.cartographer3d.com/cartographer-probe/installation-and-setup/software-configuration/klipper-setup

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old cartographer scanner check removed in d973872.

Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 3 changed files in this pull request and generated no new comments.

@pedrolamas pedrolamas merged commit 0d88d0e into fluidd-core:develop May 12, 2026
8 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/axis-twist-compensation-support branch May 12, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FR - Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for CARTOGRAPHER_AXIS_TWIST_COMPENSATION

3 participants