forked from meerk40t/gui-files-meerk40t
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meerk40t-operation-properties.wxg
611 lines (610 loc) · 44.3 KB
/
meerk40t-operation-properties.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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<?xml version="1.0"?>
<!-- generated by wxGlade 0.9.6 on Mon Jul 6 13:31:44 2020 -->
<application class="MyApp" 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-op-properties.py" source_extension=".cpp" top_window="OperationProperty" use_gettext="0" use_new_namespace="1">
<object class="OperationProperty" name="OperationProperty" base="EditFrame">
<size>612, 500</size>
<title>Operation Properties</title>
<style>wxDEFAULT_FRAME_STYLE|wxFRAME_FLOAT_ON_PARENT|wxTAB_TRAVERSAL</style>
<centered>1</centered>
<menubar>1</menubar>
<object class="wxMenuBar" name="RasterProperty_menubar" base="EditMenuBar">
<menus>
<menu label="Layers" name="">
<item>
<label>Clear</label>
<help_str>Delete all the layers</help_str>
<handler>on_menu_clear</handler>
</item>
<item>
<label>Other/Blue/Red</label>
<help_str>Set layers to the default</help_str>
<handler>on_menu_default0</handler>
</item>
<item>
<label>Basic</label>
<handler>on_menu_default1</handler>
</item>
<item>
<label>---</label>
<id>---</id>
<name>---</name>
</item>
<item>
<label>Save</label>
<help_str>Save the current layer set</help_str>
<handler>on_menu_save</handler>
</item>
<item>
<label>Load</label>
<help_str>Load existing layer sets</help_str>
<handler>on_menu_load</handler>
</item>
<item>
<label>Import</label>
<help_str>Import existing layers</help_str>
<handler>on_menu_import</handler>
</item>
</menu>
</menus>
</object>
<object class="wxBoxSizer" name="sizer_1" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxPanel" name="main_panel" base="EditPanel">
<object class="wxBoxSizer" name="sizer_main" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="layers_sizer" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxBitmapButton" name="button_add_layer" base="EditBitmapButton">
<events>
<handler event="EVT_BUTTON">on_button_add</handler>
</events>
<style>wxBU_AUTODRAW|wxBU_EXACTFIT|wxBU_NOTEXT</style>
<bitmap>.\icons8-level-1-50.png</bitmap>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxListBox" name="listbox_layer" base="EditListBox">
<events>
<handler event="EVT_LISTBOX">on_list_layer_click</handler>
<handler event="EVT_LISTBOX_DCLICK">on_list_layer_dclick</handler>
</events>
<size>40, -1</size>
<style>wxLB_SINGLE|wxLB_ALWAYS_SB</style>
<selection>-1</selection>
<choices>
</choices>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxBitmapButton" name="button_remove_layer" base="EditBitmapButton">
<events>
<handler event="EVT_BUTTON">on_button_remove</handler>
</events>
<style>wxBU_AUTODRAW|wxBU_EXACTFIT|wxBU_NOTEXT</style>
<bitmap>.\icons8-level-1-50.png</bitmap>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="param_sizer" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="layer_sizer" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Layer</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxButton" name="button_layer_color" base="EditButton">
<events>
<handler event="EVT_BUTTON">on_button_layer</handler>
</events>
<background>#000000</background>
<tooltip>Change/View color of this layer</tooltip>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxComboBox" name="combo_type" base="EditComboBox">
<events>
<handler event="EVT_COMBOBOX">on_combo_operation</handler>
</events>
<tooltip>Default Operation Mode Type</tooltip>
<style>wxCB_DROPDOWN</style>
<selection>0</selection>
<choices>
<choice>Engrave</choice>
<choice>Cut</choice>
<choice>Raster</choice>
<choice>Image</choice>
</choices>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="checkbox_output" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_output</handler>
</events>
<tooltip>Output This Layer</tooltip>
<label>Output</label>
<checked>1</checked>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="checkbox_show" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_show</handler>
</events>
<tooltip>Show This Layer</tooltip>
<label>Show</label>
<checked>1</checked>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="speed_power_sizer" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="speed_sizer" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Speed (mm/s)</label>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_speed" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_speed</handler>
<handler event="EVT_TEXT_ENTER">on_text_speed</handler>
</events>
<tooltip>Speed at which to perform the action in mm/s.</tooltip>
<value>20.0</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="power_sizer" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Power (ppi)</label>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_power" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_power</handler>
<handler event="EVT_TEXT_ENTER">on_text_power</handler>
</events>
<tooltip>1000 always on. 500 it's half power (fire every other step). This is software PPI control.</tooltip>
<value>1000.0</value>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxPanel" name="raster_panel" base="EditPanel">
<object class="wxStaticBoxSizer" name="raster_sizer" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Raster</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_3" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxStaticText" name="label_7" base="EditStaticText">
<label>Raster Step (mils)</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_raster_step" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_raster_step</handler>
<handler event="EVT_TEXT_ENTER">on_text_raster_step</handler>
</events>
<tooltip>Scan gap / step size, is the distance between scanlines in a raster engrave. Distance here is in 1/1000th of an inch.</tooltip>
<value>1</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_6" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxStaticText" name="label_6" base="EditStaticText">
<label>Overscan (mils/%)</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_overscan" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_overscan</handler>
<handler event="EVT_TEXT_ENTER">on_text_overscan</handler>
</events>
<tooltip>Overscan amount</tooltip>
<value>20</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_4" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxStaticText" name="label_5" base="EditStaticText">
<label>Raster Direction</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxComboBox" name="combo_raster_direction" base="EditComboBox">
<events>
<handler event="EVT_COMBOBOX">on_combo_raster_direction</handler>
</events>
<tooltip>Direction to perform a raster</tooltip>
<style>wxCB_DROPDOWN</style>
<selection>0</selection>
<choices>
<choice>Top To Bottom</choice>
<choice>Bottom To Top</choice>
<choice>Right To Left</choice>
<choice>Left To Right</choice>
<choice>Crosshatch</choice>
</choices>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxRadioBox" name="radio_directional_raster" base="EditRadioBox">
<events>
<handler event="EVT_RADIOBOX">on_radio_directional</handler>
</events>
<tooltip>Rastering on forward and backswing or only forward swing?</tooltip>
<label>Directional Raster</label>
<dimension>1</dimension>
<selection>0</selection>
<choices>
<choice>Bidirectional</choice>
<choice>Unidirectional</choice>
</choices>
<style>wxRA_SPECIFY_ROWS</style>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="sizer_2" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Start Preference</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxSlider" name="slider_top" base="EditSlider">
<events>
<handler event="EVT_SLIDER">on_slider_top</handler>
</events>
<style>wxSL_HORIZONTAL</style>
<range>0, 2</range>
<value>1</value>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_7" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxSlider" name="slider_left" base="EditSlider">
<events>
<handler event="EVT_SLIDER">on_slider_left</handler>
</events>
<style>wxSL_VERTICAL</style>
<range>0, 2</range>
<value>1</value>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxPanel" name="display_panel" base="EditPanel">
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxSlider" name="slider_right" base="EditSlider">
<events>
<handler event="EVT_SLIDER">on_slider_right</handler>
</events>
<style>wxSL_VERTICAL</style>
<range>0, 2</range>
<value>1</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxSlider" name="slider_bottom" base="EditSlider">
<events>
<handler event="EVT_SLIDER">on_slider_bottom</handler>
</events>
<style>wxSL_HORIZONTAL</style>
<range>0, 2</range>
<value>1</value>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="checkbox_advanced" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_advanced</handler>
</events>
<tooltip>Turn on advanced options?</tooltip>
<label>Advanced</label>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxPanel" name="advanced_panel" base="EditPanel">
<object class="wxBoxSizer" name="extras_sizer" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="advanced_sizer" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Speedcode Advanced</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_11" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="check_dratio_custom" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_dratio</handler>
</events>
<tooltip>Enables the ability to modify the diagonal ratio.</tooltip>
<label>Custom D-Ratio</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_dratio" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_dratio</handler>
<handler event="EVT_TEXT_ENTER">on_text_dratio</handler>
</events>
<tooltip>Diagonal ratio is the ratio of additional time needed to perform a diagonal step rather than an orthogonal step. (0.261 default)</tooltip>
<value>0.261</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_12" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxALIGN_CENTER_VERTICAL</flag>
<object class="wxCheckBox" name="checkbox_custom_accel" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_acceleration</handler>
</events>
<tooltip>Enables the ability to modify the acceleration factor.</tooltip>
<label>Acceleration</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxSlider" name="slider_accel" base="EditSlider">
<events>
<handler event="EVT_COMMAND_SCROLL">on_slider_accel</handler>
</events>
<tooltip>Acceleration Factor Override</tooltip>
<style>wxSL_AUTOTICKS|wxSL_LABELS</style>
<range>1, 4</range>
<value>1</value>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="advanced_ppi_sizer" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>PPI Advanced</label>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_19" base="EditBoxSizer">
<orient>wxVERTICAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_20" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="check_dot_length_custom" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_dot_length</handler>
</events>
<tooltip>Enable Dot Length Feature</tooltip>
<label>Dot Length (mils)</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_dot_length" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_dot_length</handler>
<handler event="EVT_TEXT_ENTER">on_text_dot_length</handler>
</events>
<tooltip>PPI minimum on length for making dash patterns</tooltip>
<value>1</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_group_pulse" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_group_pulses</handler>
</events>
<tooltip>Attempts to adjust the pulse grouping for data efficiency.</tooltip>
<label>Group Pulses</label>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="passes_sizer" base="EditStaticBoxSizer">
<orient>wxVERTICAL</orient>
<label>Passes</label>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxBoxSizer" name="sizer_22" base="EditBoxSizer">
<orient>wxHORIZONTAL</orient>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="check_passes" base="EditCheckBox">
<tooltip>Enable Passes</tooltip>
<label>Passes</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_passes" base="EditTextCtrl">
<tooltip>Run operation how many times?</tooltip>
<value>1</value>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</application>