Files
teachingtechYT.github.io/js/commongcode.js
lawgicau 8707323b18 Dynamic forms
All forms now generated from a single function. Huge reduction in code and easier to make global changes.
2021-07-14 17:35:30 +10:00

25 lines
614 B
JavaScript

var commonStart =`; G-Code originally generated by Simplify3D(R) Version 4.1.2
;This calibration test gcode modified by the Teaching Tech Calibration website: https://teachingtechyt.github.io/calibration.html
;M80 ; power supply on
G90
M82
M106 S0
M140 S60
M190 S60
M104 S210 T0
M109 S210 T0
G28 ; home all axes
;G29 ; probe ABL
;M420 S1 ; restore ABL mesh
;customstart
G0 Z3; fix for delta printers that home at max
`;
var commonEnd = `G28 X0 ; home X axis
M106 S0 ; turn off cooling fan
M104 S0 ; turn off extruder
M140 S0 ; turn off bed
M84 ; disable motors
M501 ; restore previous EEPROM values
;customend
`;