mirror of
https://github.com/teachingtechYT/teachingtechYT.github.io.git
synced 2024-08-30 18:23:26 +00:00
Merge gcode processing into one function
Instead of functions for each gcode generator, one function that processes common changes plus specific for each test. Much less code and easier to add future tests.
This commit is contained in:
@ -6,14 +6,13 @@ M82
|
||||
M106 S0
|
||||
M140 S60
|
||||
M190 S60
|
||||
M104 S210 T0
|
||||
M109 S210 T0
|
||||
;temp0a
|
||||
;temp0b
|
||||
G28 ; home all axes
|
||||
;G29 ; probe ABL
|
||||
;M420 S1 ; restore ABL mesh
|
||||
;customstart
|
||||
G0 Z3; fix for delta printers that home at max
|
||||
`;
|
||||
G0 Z3; fix for delta printers that home at max`;
|
||||
|
||||
var commonEnd = `G28 X0 ; home X axis
|
||||
M106 S0 ; turn off cooling fan
|
||||
|
Reference in New Issue
Block a user