HaythamB / TAMV

TAMV = Tool Align Machine Vision for Duet based tool changing 3D printers.
MIT License
46 stars 22 forks source link

Support additional axis mapping (IDEX, etc) #26

Open jcwebber93 opened 3 years ago

jcwebber93 commented 3 years ago

Additional axis mapping (U, V, etc) would allow TAMV to better interface with additional machine types (e.g. IDEX machines).

Example config.g lines from an IDEX machine:

;T0
M563 P0 D0 H1                               ; Define tool 0, extruder 0, heater 1
G10 P0 X0 Y0 Z0                             ; Set tool 0 axis offsets
;T1
M563 P1 D1 H2 X3                            ; Define tool 1, extruder 1, heater 2, maps X to U
G10 P1 X0 Y0 U0 Z0                  ; Set tool 1 axis offsets

Example current TAMV output for T1: G10 P1 X-0.118 Y0.237

Example TAMV output for T1 w/additional axis support: G10 P1 X0 Y0.237 U-0.118

HaythamB commented 3 years ago

Would the other axes be involved in the alignment in any way? TAMV always assumes the movement is along the X and Y axes.