fluidd-core / fluidd

Fluidd, the klipper UI.
https://docs.fluidd.xyz
GNU General Public License v3.0
1.42k stars 434 forks source link

feat: adds _CLIENT_LINEAR_MOVE macro support #1530

Closed pedrolamas closed 21 hours ago

pedrolamas commented 1 week ago

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