forked from jadonmmiller/UltimateDuetMenuSystem
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbedLevel
More file actions
executable file
·51 lines (40 loc) · 1.71 KB
/
bedLevel
File metadata and controls
executable file
·51 lines (40 loc) · 1.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
; Duet 12864 Menu Files
;
; This is a set of menu files for running a 12864 display with a duet3D control board.
;
; Written by Jadon Miller - 2/27/2019
; Partially adapted from the work of tinkerlifeprojects on Github.
;
; File "bedLevel"
;
; This menu controls the various aspects of bed leveling. The goal is to
; be able to do everything leveling related from right here. After the
; simple header with the auto level button, (which runs the "bedLevel.g" file)
; we have homing commands, a Z height adjustment, a button to disable all
; motors, and a row of buttons at the bottom to go to three manual leveling
; points. (likely over the leveling screws) These run the files "goToLevelPoint1.g"
; "goToLevelPoint2.g" and "goToLevelPoint3.g" files, respectively.
; --------------- Header ---------------
button R0 C0 W63 F0 H1 T"Auto Level" A"M98 P""0:/menu/scripts/autoLevel.g"""
image L"imgs/vline.img"
button W64 F0 T"Back" A"return"
image R11 C0 L"imgs/hline.img"
; --------------- Homing Commands ---------------
image R14 C3 L"imgs/home.img"
button C13 W20 H2 T"All" A"G28"
image C50 L"imgs/home.img"
button C60 W20 H2 T"XY" A"G28 X Y"
image C95 L"imgs/home.img"
button C105 W20 H2 T" Z " A"G28 Z"
; --------------- Z Adjustment ---------------
image R27 C8 L"imgs/zstep.img"
alter N512 D2 W30 H2
text T"mm"
; --------------- Disable Motors Button ---------------
image R27 C70 L"imgs/motor.img"
button C80 T"Off" A"M18"
; --------------- Move Buttons ---------------
text C42 W40 H1 R39 T"Move to:"
button R51 C5 W36 H2 T"Point 1" A"M98 P""0:/menu/scripts/goToLevelPoint1.g"""
button C46 W36 H2 T"Point 2" A"M98 P""0:/menu/scripts/goToLevelPoint2.g"""
button C90 W36 H2 T"Point 3" A"M98 P""0:/menu/scripts/goToLevelPoint3.g"""