Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add G10, G43, G49 to interpret existing G-code like LinuxCNC #27615

Draft
wants to merge 2 commits into
base: bugfix-2.1.x
Choose a base branch
from

Conversation

DerAndere1
Copy link
Contributor

Description

  • G10 sets tool offsets, in addition to filament retract
  • G49 disables tool length compensation
  • G43 enables tool length compensation

Requirements

HOTEND_OFFSET_X
HOTEND_OFFSET_Y
HOTEND_OFFSET_Z
CNC_COORDINATE_SYSTEMS

Benefits

This is a prerequisite for multi axis kinematics, because G10, G43 and G49 in existing Gcode must be handled correctly for safety.

Configurations

See changes to default Configuration.h for an example that does not change behaviour.
For testing, enable DEFAULT_TOOL_LENGTH_COMPENSATION

Related Issues

#23688

@DerAndere1 DerAndere1 force-pushed the tool_length_compensation branch from d5d7256 to 9d13224 Compare December 29, 2024 22:58
@DerAndere1 DerAndere1 changed the title Add G10, G43, G49 to handle existing G-like LinuxCNC Add G10, G43, G49 to interpret existing G-code like LinuxCNC Dec 29, 2024
@DerAndere1 DerAndere1 force-pushed the tool_length_compensation branch from 9d13224 to 16a47f9 Compare December 30, 2024 22:59
@DerAndere1 DerAndere1 force-pushed the tool_length_compensation branch from 16a47f9 to e305da9 Compare December 30, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant