FreeCAD

Форк
0
/
TaskSketcherSolverAdvanced.ui 
676 строк · 21.3 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>TaskSketcherSolverAdvanced</class>
4
 <widget class="QWidget" name="TaskSketcherSolverAdvanced">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>326</width>
10
    <height>630</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string notr="true">Form</string>
15
  </property>
16
  <layout class="QVBoxLayout" name="verticalLayout">
17
   <item>
18
    <layout class="QHBoxLayout" name="horizontalLayout_4">
19
     <item>
20
      <widget class="QLabel" name="labelDefaultSolver">
21
       <property name="toolTip">
22
        <string>Default algorithm used for Sketch solving</string>
23
       </property>
24
       <property name="text">
25
        <string>Default solver:</string>
26
       </property>
27
      </widget>
28
     </item>
29
     <item>
30
      <widget class="Gui::PrefComboBox" name="comboBoxDefaultSolver">
31
       <property name="toolTip">
32
        <string>Solver is used for solving the geometry.
33
LevenbergMarquardt and DogLeg are trust region optimization algorithms.
34
BFGS solver uses the Broyden–Fletcher–Goldfarb–Shanno algorithm.</string>
35
       </property>
36
       <property name="currentIndex">
37
        <number>2</number>
38
       </property>
39
       <property name="prefEntry" stdset="0">
40
        <cstring>DefaultSolver</cstring>
41
       </property>
42
       <property name="prefPath" stdset="0">
43
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
44
       </property>
45
       <item>
46
        <property name="text">
47
         <string>BFGS</string>
48
        </property>
49
       </item>
50
       <item>
51
        <property name="text">
52
         <string>LevenbergMarquardt</string>
53
        </property>
54
       </item>
55
       <item>
56
        <property name="text">
57
         <string>DogLeg</string>
58
        </property>
59
       </item>
60
      </widget>
61
     </item>
62
    </layout>
63
   </item>
64
   <item>
65
    <layout class="QHBoxLayout" name="horizontalLayout_4_2">
66
     <item>
67
      <widget class="QLabel" name="labelDogLegGaussStep">
68
       <property name="toolTip">
69
        <string>Type of function to apply in DogLeg for the Gauss step</string>
70
       </property>
71
       <property name="text">
72
        <string>DogLeg Gauss step:</string>
73
       </property>
74
      </widget>
75
     </item>
76
     <item>
77
      <widget class="Gui::PrefComboBox" name="comboBoxDogLegGaussStep">
78
       <property name="toolTip">
79
        <string>Step type used in the DogLeg algorithm</string>
80
       </property>
81
       <property name="currentIndex">
82
        <number>0</number>
83
       </property>
84
       <property name="prefEntry" stdset="0">
85
        <cstring>DogLegGaussStep</cstring>
86
       </property>
87
       <property name="prefPath" stdset="0">
88
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
89
       </property>
90
       <item>
91
        <property name="text">
92
         <string>FullPivLU</string>
93
        </property>
94
       </item>
95
       <item>
96
        <property name="text">
97
         <string>LeastNorm-FullPivLU</string>
98
        </property>
99
       </item>
100
       <item>
101
        <property name="text">
102
         <string>LeastNorm-LDLT</string>
103
        </property>
104
       </item>
105
      </widget>
106
     </item>
107
    </layout>
108
   </item>
109
   <item>
110
    <layout class="QHBoxLayout" name="horizontalLayout_2">
111
     <item>
112
      <widget class="QLabel" name="labelMaxIter">
113
       <property name="toolTip">
114
        <string>Maximum number of iterations of the default algorithm</string>
115
       </property>
116
       <property name="text">
117
        <string>Maximum iterations:</string>
118
       </property>
119
      </widget>
120
     </item>
121
     <item>
122
      <widget class="Gui::PrefSpinBox" name="spinBoxMaxIter">
123
       <property name="toolTip">
124
        <string>Maximum iterations to find convergence before solver is stopped</string>
125
       </property>
126
       <property name="alignment">
127
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
128
       </property>
129
       <property name="maximum">
130
        <number>999</number>
131
       </property>
132
       <property name="value">
133
        <number>100</number>
134
       </property>
135
       <property name="prefEntry" stdset="0">
136
        <cstring>MaxIter</cstring>
137
       </property>
138
       <property name="prefPath" stdset="0">
139
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
140
       </property>
141
      </widget>
142
     </item>
143
    </layout>
144
   </item>
145
   <item>
146
    <layout class="QHBoxLayout" name="horizontalLayout_3">
147
     <item>
148
      <widget class="QLabel" name="labelSketchSizeMultiplier">
149
       <property name="toolTip">
150
        <string>If selected, the Maximum iterations value is multiplied by the sketch size</string>
151
       </property>
152
       <property name="text">
153
        <string>Sketch size multiplier:</string>
154
       </property>
155
      </widget>
156
     </item>
157
     <item>
158
      <widget class="Gui::PrefCheckBox" name="checkBoxSketchSizeMultiplier">
159
       <property name="sizePolicy">
160
        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
161
         <horstretch>0</horstretch>
162
         <verstretch>0</verstretch>
163
        </sizepolicy>
164
       </property>
165
       <property name="toolTip">
166
        <string>Maximum iterations will be multiplied by number of parameters</string>
167
       </property>
168
       <property name="layoutDirection">
169
        <enum>Qt::RightToLeft</enum>
170
       </property>
171
       <property name="text">
172
        <string/>
173
       </property>
174
       <property name="prefEntry" stdset="0">
175
        <cstring>SketchSizeMultiplier</cstring>
176
       </property>
177
       <property name="prefPath" stdset="0">
178
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
179
       </property>
180
      </widget>
181
     </item>
182
    </layout>
183
   </item>
184
   <item>
185
    <layout class="QHBoxLayout" name="horizontalLayout_9">
186
     <item>
187
      <widget class="QLabel" name="labelSolverConvergence">
188
       <property name="toolTip">
189
        <string>Error threshold under which convergence is reached</string>
190
       </property>
191
       <property name="text">
192
        <string>Convergence:</string>
193
       </property>
194
      </widget>
195
     </item>
196
     <item>
197
      <widget class="Gui::PrefLineEdit" name="lineEditConvergence">
198
       <property name="toolTip">
199
        <string>Threshold for squared error that is used
200
to determine whether a solution converges or not</string>
201
       </property>
202
       <property name="layoutDirection">
203
        <enum>Qt::LeftToRight</enum>
204
       </property>
205
       <property name="text">
206
        <string notr="true">1E-10</string>
207
       </property>
208
       <property name="alignment">
209
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
210
       </property>
211
       <property name="prefEntry" stdset="0">
212
        <cstring>Convergence</cstring>
213
       </property>
214
       <property name="prefPath" stdset="0">
215
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
216
       </property>
217
      </widget>
218
     </item>
219
    </layout>
220
   </item>
221
   <item>
222
    <layout class="QHBoxLayout" name="horizontalLayout_10">
223
     <item>
224
      <widget class="QLabel" name="labelSolverParam1">
225
       <property name="text">
226
        <string notr="true">Param1</string>
227
       </property>
228
      </widget>
229
     </item>
230
     <item>
231
      <widget class="Gui::PrefLineEdit" name="lineEditSolverParam1">
232
       <property name="alignment">
233
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
234
       </property>
235
       <property name="prefEntry" stdset="0">
236
        <cstring>param</cstring>
237
       </property>
238
       <property name="prefPath" stdset="0">
239
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
240
       </property>
241
      </widget>
242
     </item>
243
    </layout>
244
   </item>
245
   <item>
246
    <layout class="QHBoxLayout" name="horizontalLayout_11">
247
     <item>
248
      <widget class="QLabel" name="labelSolverParam2">
249
       <property name="text">
250
        <string notr="true">Param2</string>
251
       </property>
252
      </widget>
253
     </item>
254
     <item>
255
      <widget class="Gui::PrefLineEdit" name="lineEditSolverParam2">
256
       <property name="alignment">
257
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
258
       </property>
259
       <property name="prefEntry" stdset="0">
260
        <cstring>param</cstring>
261
       </property>
262
       <property name="prefPath" stdset="0">
263
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
264
       </property>
265
      </widget>
266
     </item>
267
    </layout>
268
   </item>
269
   <item>
270
    <layout class="QHBoxLayout" name="horizontalLayout_12">
271
     <item>
272
      <widget class="QLabel" name="labelSolverParam3">
273
       <property name="text">
274
        <string notr="true">Param3</string>
275
       </property>
276
      </widget>
277
     </item>
278
     <item>
279
      <widget class="Gui::PrefLineEdit" name="lineEditSolverParam3">
280
       <property name="alignment">
281
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
282
       </property>
283
       <property name="prefEntry" stdset="0">
284
        <cstring>param</cstring>
285
       </property>
286
       <property name="prefPath" stdset="0">
287
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
288
       </property>
289
      </widget>
290
     </item>
291
    </layout>
292
   </item>
293
   <item>
294
    <layout class="QHBoxLayout" name="horizontalLayout">
295
     <item>
296
      <widget class="QLabel" name="labelQRAlgorithm">
297
       <property name="toolTip">
298
        <string>Algorithm used for the rank revealing QR decomposition</string>
299
       </property>
300
       <property name="text">
301
        <string>QR algorithm:</string>
302
       </property>
303
      </widget>
304
     </item>
305
     <item>
306
      <widget class="Gui::PrefComboBox" name="comboBoxQRMethod">
307
       <property name="toolTip">
308
        <string>During diagnosing the QR rank of matrix is calculated.
309
Eigen Dense QR is a dense matrix QR with full pivoting; usually slower
310
Eigen Sparse QR algorithm is optimized for sparse matrices; usually faster</string>
311
       </property>
312
       <property name="currentIndex">
313
        <number>1</number>
314
       </property>
315
       <property name="prefEntry" stdset="0">
316
        <cstring>QRMethod</cstring>
317
       </property>
318
       <property name="prefPath" stdset="0">
319
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
320
       </property>
321
       <item>
322
        <property name="text">
323
         <string>Eigen Dense QR</string>
324
        </property>
325
       </item>
326
       <item>
327
        <property name="text">
328
         <string>Eigen Sparse QR</string>
329
        </property>
330
       </item>
331
      </widget>
332
     </item>
333
    </layout>
334
   </item>
335
   <item>
336
    <layout class="QHBoxLayout" name="horizontalLayout_18">
337
     <item>
338
      <widget class="QLabel" name="labelPivotThreshold">
339
       <property name="text">
340
        <string>Pivot threshold</string>
341
       </property>
342
      </widget>
343
     </item>
344
     <item>
345
      <widget class="Gui::PrefLineEdit" name="lineEditQRPivotThreshold">
346
       <property name="toolTip">
347
        <string>During a QR, values under the pivot threshold are treated as zero</string>
348
       </property>
349
       <property name="text">
350
        <string>1E-13</string>
351
       </property>
352
       <property name="alignment">
353
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
354
       </property>
355
       <property name="prefEntry" stdset="0">
356
        <cstring>QRPivotThreshold</cstring>
357
       </property>
358
       <property name="prefPath" stdset="0">
359
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
360
       </property>
361
      </widget>
362
     </item>
363
    </layout>
364
   </item>
365
   <item>
366
    <layout class="QHBoxLayout" name="horizontalLayout_5">
367
     <item>
368
      <widget class="QLabel" name="labelRedundantSolver">
369
       <property name="toolTip">
370
        <string>Solving algorithm used for determination of Redundant constraints</string>
371
       </property>
372
       <property name="text">
373
        <string>Redundant solver:</string>
374
       </property>
375
      </widget>
376
     </item>
377
     <item>
378
      <widget class="Gui::PrefComboBox" name="comboBoxRedundantDefaultSolver">
379
       <property name="toolTip">
380
        <string>Solver used to determine whether a group is redundant or conflicting</string>
381
       </property>
382
       <property name="currentIndex">
383
        <number>2</number>
384
       </property>
385
       <property name="prefEntry" stdset="0">
386
        <cstring>RedundantDefaultSolver</cstring>
387
       </property>
388
       <property name="prefPath" stdset="0">
389
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
390
       </property>
391
       <item>
392
        <property name="text">
393
         <string>BFGS</string>
394
        </property>
395
       </item>
396
       <item>
397
        <property name="text">
398
         <string>LevenbergMarquardt</string>
399
        </property>
400
       </item>
401
       <item>
402
        <property name="text">
403
         <string>DogLeg</string>
404
        </property>
405
       </item>
406
      </widget>
407
     </item>
408
    </layout>
409
   </item>
410
   <item>
411
    <layout class="QHBoxLayout" name="horizontalLayout_6">
412
     <item>
413
      <widget class="QLabel" name="labelRedundantSolverMaxIterations">
414
       <property name="toolTip">
415
        <string>Maximum number of iterations of the solver used for determination of Redundant constraints</string>
416
       </property>
417
       <property name="text">
418
        <string>Redundant max. iterations:</string>
419
       </property>
420
      </widget>
421
     </item>
422
     <item>
423
      <widget class="Gui::PrefSpinBox" name="spinBoxRedundantSolverMaxIterations">
424
       <property name="toolTip">
425
        <string>Same as 'Maximum iterations', but for redundant solving</string>
426
       </property>
427
       <property name="alignment">
428
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
429
       </property>
430
       <property name="maximum">
431
        <number>999</number>
432
       </property>
433
       <property name="value">
434
        <number>100</number>
435
       </property>
436
       <property name="prefEntry" stdset="0">
437
        <cstring>RedundantSolverMaxIterations</cstring>
438
       </property>
439
       <property name="prefPath" stdset="0">
440
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
441
       </property>
442
      </widget>
443
     </item>
444
    </layout>
445
   </item>
446
   <item>
447
    <layout class="QHBoxLayout" name="horizontalLayout_7">
448
     <item>
449
      <widget class="QLabel" name="labelRedundantSketchSizeMultiplier">
450
       <property name="toolTip">
451
        <string>If selected, the Maximum iterations value for the redundant algorithm is multiplied by the sketch size</string>
452
       </property>
453
       <property name="text">
454
        <string>Redundant sketch size multiplier:</string>
455
       </property>
456
      </widget>
457
     </item>
458
     <item>
459
      <widget class="Gui::PrefCheckBox" name="checkBoxRedundantSketchSizeMultiplier">
460
       <property name="toolTip">
461
        <string>Same as 'Sketch size multiplier', but for redundant solving</string>
462
       </property>
463
       <property name="layoutDirection">
464
        <enum>Qt::RightToLeft</enum>
465
       </property>
466
       <property name="text">
467
        <string/>
468
       </property>
469
       <property name="prefEntry" stdset="0">
470
        <cstring>RedundantSketchSizeMultiplier</cstring>
471
       </property>
472
       <property name="prefPath" stdset="0">
473
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
474
       </property>
475
      </widget>
476
     </item>
477
    </layout>
478
   </item>
479
   <item>
480
    <layout class="QHBoxLayout" name="horizontalLayout_13">
481
     <item>
482
      <widget class="QLabel" name="labelRedundantConvergence">
483
       <property name="toolTip">
484
        <string>Error threshold under which convergence is reached for the solving of redundant constraints</string>
485
       </property>
486
       <property name="text">
487
        <string>Redundant convergence</string>
488
       </property>
489
      </widget>
490
     </item>
491
     <item>
492
      <widget class="Gui::PrefLineEdit" name="lineEditRedundantConvergence">
493
       <property name="toolTip">
494
        <string>Same as 'Convergence', but for redundant solving</string>
495
       </property>
496
       <property name="text">
497
        <string>1E-10</string>
498
       </property>
499
       <property name="alignment">
500
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
501
       </property>
502
       <property name="prefEntry" stdset="0">
503
        <cstring>RedundantConvergence</cstring>
504
       </property>
505
       <property name="prefPath" stdset="0">
506
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
507
       </property>
508
      </widget>
509
     </item>
510
    </layout>
511
   </item>
512
   <item>
513
    <layout class="QHBoxLayout" name="horizontalLayout_14">
514
     <item>
515
      <widget class="QLabel" name="labelRedundantSolverParam1">
516
       <property name="text">
517
        <string notr="true">Redundant param1</string>
518
       </property>
519
      </widget>
520
     </item>
521
     <item>
522
      <widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam1">
523
       <property name="alignment">
524
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
525
       </property>
526
       <property name="prefEntry" stdset="0">
527
        <cstring>param</cstring>
528
       </property>
529
       <property name="prefPath" stdset="0">
530
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
531
       </property>
532
      </widget>
533
     </item>
534
    </layout>
535
   </item>
536
   <item>
537
    <layout class="QHBoxLayout" name="horizontalLayout_15">
538
     <item>
539
      <widget class="QLabel" name="labelRedundantSolverParam2">
540
       <property name="text">
541
        <string notr="true">Redundant param2</string>
542
       </property>
543
      </widget>
544
     </item>
545
     <item>
546
      <widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam2">
547
       <property name="alignment">
548
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
549
       </property>
550
       <property name="prefEntry" stdset="0">
551
        <cstring>param</cstring>
552
       </property>
553
       <property name="prefPath" stdset="0">
554
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
555
       </property>
556
      </widget>
557
     </item>
558
    </layout>
559
   </item>
560
   <item>
561
    <layout class="QHBoxLayout" name="horizontalLayout_16">
562
     <item>
563
      <widget class="QLabel" name="labelRedundantSolverParam3">
564
       <property name="text">
565
        <string notr="true">Redundant param3</string>
566
       </property>
567
      </widget>
568
     </item>
569
     <item>
570
      <widget class="Gui::PrefLineEdit" name="lineEditRedundantSolverParam3">
571
       <property name="alignment">
572
        <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
573
       </property>
574
       <property name="prefEntry" stdset="0">
575
        <cstring>param</cstring>
576
       </property>
577
       <property name="prefPath" stdset="0">
578
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
579
       </property>
580
      </widget>
581
     </item>
582
    </layout>
583
   </item>
584
   <item>
585
    <layout class="QHBoxLayout" name="horizontalLayout_8">
586
     <item>
587
      <widget class="QLabel" name="labelDebugMode">
588
       <property name="toolTip">
589
        <string>Degree of verbosity of the debug output to the console</string>
590
       </property>
591
       <property name="text">
592
        <string>Console debug mode:</string>
593
       </property>
594
      </widget>
595
     </item>
596
     <item>
597
      <widget class="Gui::PrefComboBox" name="comboBoxDebugMode">
598
       <property name="toolTip">
599
        <string>Verbosity of console output</string>
600
       </property>
601
       <property name="currentIndex">
602
        <number>1</number>
603
       </property>
604
       <property name="prefEntry" stdset="0">
605
        <cstring>DebugMode</cstring>
606
       </property>
607
       <property name="prefPath" stdset="0">
608
        <cstring>Mod/Sketcher/SolverAdvanced</cstring>
609
       </property>
610
       <item>
611
        <property name="text">
612
         <string>None</string>
613
        </property>
614
       </item>
615
       <item>
616
        <property name="text">
617
         <string>Minimum</string>
618
        </property>
619
       </item>
620
       <item>
621
        <property name="text">
622
         <string>Iteration Level</string>
623
        </property>
624
       </item>
625
      </widget>
626
     </item>
627
    </layout>
628
   </item>
629
   <item>
630
    <layout class="QHBoxLayout" name="horizontalLayout_17">
631
     <item>
632
      <widget class="QPushButton" name="pushButtonSolve">
633
       <property name="text">
634
        <string>Solve</string>
635
       </property>
636
      </widget>
637
     </item>
638
     <item>
639
      <widget class="QPushButton" name="pushButtonDefaults">
640
       <property name="toolTip">
641
        <string>Resets all solver values to their default values</string>
642
       </property>
643
       <property name="text">
644
        <string>Restore Defaults</string>
645
       </property>
646
      </widget>
647
     </item>
648
    </layout>
649
   </item>
650
  </layout>
651
 </widget>
652
 <customwidgets>
653
  <customwidget>
654
   <class>Gui::PrefLineEdit</class>
655
   <extends>QLineEdit</extends>
656
   <header>Gui/PrefWidgets.h</header>
657
  </customwidget>
658
  <customwidget>
659
   <class>Gui::PrefComboBox</class>
660
   <extends>QComboBox</extends>
661
   <header>Gui/PrefWidgets.h</header>
662
  </customwidget>
663
  <customwidget>
664
   <class>Gui::PrefCheckBox</class>
665
   <extends>QCheckBox</extends>
666
   <header>Gui/PrefWidgets.h</header>
667
  </customwidget>
668
  <customwidget>
669
   <class>Gui::PrefSpinBox</class>
670
   <extends>QSpinBox</extends>
671
   <header>Gui/PrefWidgets.h</header>
672
  </customwidget>
673
 </customwidgets>
674
 <resources/>
675
 <connections/>
676
</ui>
677

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.