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

feat: adds _CLIENT_LINEAR_MOVE macro support #1530

Merged

Conversation

pedrolamas
Copy link
Member

@pedrolamas pedrolamas commented Nov 16, 2024

This mitigates the "noise" from the toolhead and extruder movement as we currently do call SAVE_GCODE_STATE and RESTORE_GCODE_STATE on each movement.

The changes on this PR will check if a _CLIENT_LINEAR_MOVE macro exists, and if so, it will use that to perform every toolhead and extruder movement.

This macro will be provided as a default in fluidd-config and mainsail-config, but can obviously be written by anyone.

Before

image

After (if macro exists)

image

@pedrolamas pedrolamas added the FR - Enhancement New feature or request label Nov 16, 2024
@pedrolamas pedrolamas added this to the 1.31 milestone Nov 16, 2024
@pedrolamas pedrolamas force-pushed the pedrolamas/client-linear-move-macro branch from 941c35d to c40df1d Compare November 16, 2024 17:40
@pedrolamas pedrolamas merged commit be9b053 into fluidd-core:develop Nov 24, 2024
4 checks passed
@pedrolamas pedrolamas deleted the pedrolamas/client-linear-move-macro branch November 24, 2024 18:27
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.

1 participant