forked from meerk40t/gui-files-meerk40t
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meerk40t-execute-jobs2.wxg
235 lines (234 loc) · 12.7 KB
/
meerk40t-execute-jobs2.wxg
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<?xml version="1.0"?>
<!-- generated by wxGlade 1.0.0 on Thu Dec 23 04:38:25 2021 -->
<application class="Foresight" encoding="UTF-8" for_version="3.0" header_extension=".h" indent_amount="4" indent_symbol="space" is_template="0" language="python" mark_blocks="1" name="app" option="0" overwrite="1" path="./meerk40t-preview.py" source_extension=".cpp" top_window="Preview" use_gettext="0" use_new_namespace="1">
<object class="Preview" name="Preview" base="EditFrame">
<size>496, 573</size>
<title>Preview Job</title>
<style>wxDEFAULT_FRAME_STYLE</style>
<menubar>1</menubar>
<object class="wxMenuBar" name="preview_menu" base="EditMenuBar">
<menus>
<menu label="Automatic" name="">
<menu label="Before" name="">
<item>
<label>Home</label>
<name>menu_prehome</name>
<help_str>Automatically add a home command before all jobs</help_str>
<checkable>1</checkable>
<handler>on_check_home_before</handler>
</item>
</menu>
<menu label="After" name="">
<item>
<label>Home</label>
<name>menu_autohome</name>
<help_str>Automatically add a home command after all jobs</help_str>
<checkable>1</checkable>
<handler>on_check_home_after</handler>
</item>
<item>
<label>Return to Origin</label>
<name>menu_autoorigin</name>
<help_str>Automatically return to origin after a job</help_str>
<checkable>1</checkable>
<handler>on_check_origin_after</handler>
</item>
<item>
<label>Beep</label>
<name>menu_autobeep</name>
<help_str>Automatically add a beep after all jobs</help_str>
<checkable>1</checkable>
<handler>on_check_beep_after</handler>
</item>
<item>
<label>Interrupt</label>
<name>menu_interrupt</name>
<help_str>Automatically add an interrupt after all jobs</help_str>
<checkable>1</checkable>
<handler>on_check_interrupt_after</handler>
</item>
</menu>
</menu>
<menu label="Add" name="">
<item>
<label>Home</label>
<name>menu_jobadd_home</name>
<help_str>Add a home</help_str>
<handler>jobadd_home</handler>
</item>
<item>
<label>Wait</label>
<name>menu_jobadd_wait</name>
<help_str>Add a wait</help_str>
<handler>jobadd_wait</handler>
</item>
<item>
<label>Beep</label>
<name>menu_jobadd_beep</name>
<help_str>Add a beep</help_str>
<handler>jobadd_beep</handler>
</item>
<item>
<label>Interrupt</label>
<name>menu_jobadd_interrupt</name>
<help_str>Add an interrupt</help_str>
<handler>jobadd_interrupt</handler>
</item>
<item>
<label>Command</label>
<name>menu_jobadd_command</name>
<help_str>Add a command</help_str>
<handler>jobadd_command</handler>
</item>
</menu>
</menus>
</object>
<object class="ExecuteJobPanel" name="panel_executejob" base="EditPanel">
<object class="wxBoxSizer" name="sizer_frame" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxComboBox" name="combo_device" base="EditComboBox">
<events>
<handler event="EVT_COMBOBOX">on_combo_device</handler>
</events>
<tooltip>Select the device to which to send the current job</tooltip>
<style>wxCB_DROPDOWN</style>
<selection>-1</selection>
<choices>
</choices>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_main" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>2</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxListBox" name="list_operations" base="EditListBox">
<events>
<handler event="EVT_LISTBOX">on_listbox_operation_click</handler>
<handler event="EVT_LISTBOX_DCLICK">on_listbox_operation_dclick</handler>
</events>
<tooltip>Operations being added to the current job</tooltip>
<style>wxLB_SINGLE</style>
<selection>-1</selection>
<choices>
</choices>
</object>
</object>
<object class="sizeritem">
<option>2</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxListBox" name="list_command" base="EditListBox">
<events>
<handler event="EVT_LISTBOX">on_listbox_commands_click</handler>
<handler event="EVT_LISTBOX_DCLICK">on_listbox_commands_dclick</handler>
</events>
<tooltip>Commands being applied to the current job</tooltip>
<style>wxLB_SINGLE</style>
<selection>-1</selection>
<choices>
</choices>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_options" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>2</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="sizer_optimizations" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Optimizations</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_reduce_travel_time" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_reduce_travel</handler>
</events>
<tooltip>Reduce the travel time by optimizing the order of the elements</tooltip>
<disabled>1</disabled>
<label>Reduce Travel Time</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_cut_inner_first" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_inner_first</handler>
</events>
<tooltip>Reorder elements to cut the inner elements first</tooltip>
<disabled>1</disabled>
<label>Cut Inner First</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_reduce_direction_changes" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_reduce_directions</handler>
</events>
<tooltip>Reorder to reduce the number of sharp directional changes</tooltip>
<disabled>1</disabled>
<label>Reduce Direction Changes</label>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_remove_overlap_cuts" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_remove_overlap</handler>
</events>
<tooltip>Remove elements of overlapped cuts</tooltip>
<disabled>1</disabled>
<label>Remove Overlap Cuts</label>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>3</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxButton" name="button_start" base="EditButton">
<events>
<handler event="EVT_BUTTON">on_button_start</handler>
</events>
<background>#00ff00</background>
<font>
<size>14</size>
<family>default</family>
<style>normal</style>
<weight>normal</weight>
<underlined>0</underlined>
<face>Segoe UI</face>
</font>
<tooltip>Start the Laser Job</tooltip>
<label>Start</label>
<bitmap>.\icons8-choose-font-50.png</bitmap>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</application>