viesturz / klipper-toolchanger

Toolcahnging extension for Klipper
GNU General Public License v3.0
49 stars 16 forks source link

TOOL_ALIGN macros protection #22

Open Contomo opened 2 months ago

Contomo commented 2 months ago

TOOL_ALIGN_TEST ive seen a clip from someone ramming their toolhead into another, and wondered how it happend. upgraded my gantry, recalibrating the docks right now.

issue is: there is no protection against ramming toolheads into eachother running tool align start tool align test and then calling T(X) will ram tools into eachother.

should there be an implementation of a check entering and exiting the tool change testing? (a global boolean set to testing mode, while youre in, and if that is true and any toolchanger stuff not related to testing mode is requested, it is checked for collision? ie: testing mode still active? Y < safe Y? disable testing mode and run TOOL_ALIGN_DONE) just looking for a small direction before i start implementing something like that ^^