forked from meerk40t/gui-files-meerk40t
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meerk40t-operation-properties3.wxg
519 lines (518 loc) · 38.3 KB
/
meerk40t-operation-properties3.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
<?xml version="1.0"?>
<!-- generated by wxGlade 1.0.0 on Sat Jan 1 07:22:16 2022 -->
<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>350, 582</size>
<title>Operation Properties</title>
<style>wxDEFAULT_FRAME_STYLE|wxFRAME_FLOAT_ON_PARENT|wxTAB_TRAVERSAL</style>
<centered>1</centered>
<object class="wxNotebook" name="notebook_main" base="EditNotebook">
<style>wxNB_TOP</style>
<tabs>
<tab window="param_panel">Properties</tab>
<tab window="advanced_panel">Advanced</tab>
</tabs>
<object class="ParameterPanel" name="param_panel" base="EditPanel">
<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="LayerSettingPanel" name="layer_panel" base="EditPanel">
<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. When Meerk40t classifies elements to operations, this exact color is used to match elements to this operation.</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>Operation Type\n\nCut & Engrave are vector operations, Raster and Image are raster operations.\n\nCut and Engrave operations are essentially the same except that for a Cut operation with Cut Outer Paths last, only closed Paths in Cut operations are considered as being Outer-most.</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>Enable this operation for inclusion in Execute Job.</tooltip>
<label>Enable</label>
<checked>1</checked>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="checkbox_default" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_default</handler>
</events>
<tooltip>When classifying elements, Default operations gain all appropriate elements not matched to an existing operation of the same colour, rather than a new operation of that color being created.\n\nRaster operations created automatically.\n</tooltip>
<label>Default</label>
<checked>1</checked>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="SpeedPpiPanel" name="speedppi_panel" base="EditPanel">
<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 the head moves in mm/s.\n\nFor Cut/Engrave vector operations, this is the speed of the head regardless of direction i.e. the separate x/y speeds vary according to the direction.\n\nFor Raster/Image operations, this is the speed of the head as it sweeps backwards and forwards.</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>Pulses Per Inch - This is software created laser power control.\n\n1000 is always on, 500 is half power (fire every other step).\n\nValues of 100 or have pulses > 1/10" and are generally used only for dotted or perforated lines.\n</tooltip>
<value>1000.0</value>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="PassesPanel" name="passes_panel" base="EditPanel">
<object class="wxStaticBoxSizer" name="sizer_passes" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Passes:</label>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxCheckBox" name="check_passes" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_passes</handler>
</events>
<tooltip>Enable Operation Passes</tooltip>
<label>Passes</label>
</object>
</object>
<object class="sizeritem">
<option>1</option>
<border>0</border>
<object class="wxTextCtrl" name="text_passes" base="EditTextCtrl">
<events>
<handler event="EVT_TEXT">on_text_passes</handler>
</events>
<tooltip>How many times to repeat this operation?\n\nSetting e.g. passes to 2 is essentially equivalent to Duplicating the operation, creating a second identical operation with the same settings and same elements.\n\nThe number of Operation Passes can be changed extremely easily, but you cannot change any of the other settings.\n\nDuplicating the Operation gives more flexibility for changing settings, but is far more cumbersome to change the number of duplications because you need to add and delete the duplicates one by one.\n</tooltip>
<value>1</value>
</object>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="RasterSettingsPanel" 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="wxStaticBoxSizer" name="sizer_3" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Raster Step:</label>
<object class="sizeritem">
<option>0</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>In a raster engrave, the step size is the distance between raster lines in 1/1000" and also the number of raster dots that get combined together.\n\nBecause the laser dot is >> 1/1000" in diameter, at step 1 the raster lines overlap a lot, and consequently you can raster with steps > 1 without leaving gaps between the lines.\n\nThe step size before you get gaps will depend on your focus and the size of your laser dot.\n\nStep size > 1 reduces the laser energy delivered by the same factor, so you may need to increase power equivalently with a higher front-panel power, a higher PPI or by rastering at a slower speed.\n\nStep size > 1 also turns the laser on and off fewer times, and combined with a slower speed this can prevent your laser from stuttering.\n\n\n\n</tooltip>
<value>1</value>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="sizer_6" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Overscan:</label>
<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 class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxComboBox" name="combo_overscan_units" base="EditComboBox">
<style>wxCB_DROPDOWN|wxCB_READONLY</style>
<selection>0</selection>
<choices>
<choice>steps</choice>
<choice>mm</choice>
<choice>cm</choice>
<choice>inch</choice>
<choice>mil</choice>
<choice>%</choice>
</choices>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="wxStaticBoxSizer" name="sizer_4" base="EditStaticBoxSizer">
<orient>wxHORIZONTAL</orient>
<label>Direction:</label>
<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\n\nNormally you would raster in an X-direction and select Top-to-Bottom (T2B) or Bottom-to-Top (B2T).\n\nThis is because rastering in the X-direction involve moving only the laser head which is relatively low mass.\n\nRastering in the Y-direction (Left-to-Right or Right-to-Left) involves moving not only the laser head but additionally the entire x-axis gantry assembly including the stepper motor, mirror and the gantry itself.\n\nThis total mass is much greater, acceleration therefore needs to be much slower, and allow for space at each end of the raster to reverse direction the speed has to be much slower.</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>Raster on forward and backswing or only forward swing?\n\nRastering only on forward swings will double the time required to complete the raster.\n\nIt seems doubtful that there will be significant quality benefits from rastering in one direction.\n</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>0</option>
<border>0</border>
<flag>wxEXPAND</flag>
<object class="PanelStartPreference" name="panel_start" base="EditPanel">
<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>
</object>
</object>
<object class="LhyAdvancedPanel" 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>Speed Code Features:</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 acceleration override</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>The m2-nano controller has four acceleration settings, and automatically selects the appropriate setting for the Cut or Raster speed.\n\nThis setting allows you to override the automatic selection and specify your own.</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>Plot Planner</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</tooltip>
<label>Dot Length</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>For Cut/Engrave operations, when using PPI, Dot Length sets the minimum length for the laser to be on in order to change a continuous lower power burn into a series of dashes.\n\nWhen this is set, the PPI effectively becomes the ratio of dashes to gaps. For example:\n\nIf you set Dot Length to 500 = 1/2", a PPI of 500 would result in 1/2" dashes and 1/2" gaps.\n\nIf you set Dot Length to 250 = 1/4", a PPI of 250 would result in 1/4" dashes and 3/4" gaps.\n</tooltip>
<value>1</value>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxComboBox" name="combo_dot_length_units" base="EditComboBox">
<style>wxCB_DROPDOWN|wxCB_READONLY</style>
<selection>0</selection>
<choices>
<choice>steps</choice>
<choice>mm</choice>
<choice>cm</choice>
<choice>inch</choice>
<choice>mil</choice>
<choice>%</choice>
</choices>
</object>
</object>
</object>
</object>
<object class="sizeritem">
<option>0</option>
<border>0</border>
<object class="wxCheckBox" name="check_shift_enabled" base="EditCheckBox">
<events>
<handler event="EVT_CHECKBOX">on_check_shift_enabled</handler>
</events>
<tooltip>Pulse Grouping is an alternative means of reducing the incidence of stuttering, allowing you potentially to burn at higher speeds.\n\nThis setting is an operation-by-operation equivalent to the Pulse Grouping option in Device Config.\n\nIt works by swapping adjacent on or off bits to group on and off together and reduce the number of switches.\n\nAs an example, instead of 1010 it will burn 1100 - because the laser beam is overlapping, and because a bit is only moved at most 1/1000", the difference should not be visible even under magnification.\n</tooltip>
<label>Group Pulses</label>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</object>
</application>