FreeCAD

Форк
0
/
preferences-dxf.ui 
665 строк · 21.4 Кб
1
<?xml version="1.0" encoding="UTF-8"?>
2
<ui version="4.0">
3
 <class>Gui::Dialog::DlgSettingsDraft</class>
4
 <widget class="QWidget" name="Gui::Dialog::DlgSettingsDraft">
5
  <property name="geometry">
6
   <rect>
7
    <x>0</x>
8
    <y>0</y>
9
    <width>649</width>
10
    <height>773</height>
11
   </rect>
12
  </property>
13
  <property name="windowTitle">
14
   <string>DXF</string>
15
  </property>
16
  <layout class="QVBoxLayout">
17
   <property name="spacing">
18
    <number>6</number>
19
   </property>
20
   <property name="leftMargin">
21
    <number>9</number>
22
   </property>
23
   <property name="topMargin">
24
    <number>9</number>
25
   </property>
26
   <property name="rightMargin">
27
    <number>9</number>
28
   </property>
29
   <property name="bottomMargin">
30
    <number>9</number>
31
   </property>
32
   <item>
33
    <widget class="Gui::PrefCheckBox" name="checkBox_6">
34
     <property name="toolTip">
35
      <string>This preferences dialog will be shown when importing/ exporting DXF files</string>
36
     </property>
37
     <property name="text">
38
      <string>Show this dialog when importing and exporting</string>
39
     </property>
40
     <property name="prefEntry" stdset="0">
41
      <cstring>dxfShowDialog</cstring>
42
     </property>
43
     <property name="prefPath" stdset="0">
44
      <cstring>Mod/Draft</cstring>
45
     </property>
46
    </widget>
47
   </item>
48
   <item>
49
    <widget class="Gui::PrefCheckBox" name="checkBox_4">
50
     <property name="toolTip">
51
      <string>Python importer is used, otherwise the newer C++ is used.
52
Note: C++ importer is faster, but is not as featureful yet</string>
53
     </property>
54
     <property name="text">
55
      <string>Use legacy python importer</string>
56
     </property>
57
     <property name="checked">
58
      <bool>false</bool>
59
     </property>
60
     <property name="prefEntry" stdset="0">
61
      <cstring>dxfUseLegacyImporter</cstring>
62
     </property>
63
     <property name="prefPath" stdset="0">
64
      <cstring>Mod/Draft</cstring>
65
     </property>
66
    </widget>
67
   </item>
68
   <item>
69
    <widget class="Gui::PrefCheckBox" name="checkBox_7">
70
     <property name="toolTip">
71
      <string>Python exporter is used, otherwise the newer C++ is used.
72
Note: C++ exporter is faster, but is not as featureful yet</string>
73
     </property>
74
     <property name="text">
75
      <string>Use legacy python exporter</string>
76
     </property>
77
     <property name="prefEntry" stdset="0">
78
      <cstring>dxfUseLegacyExporter</cstring>
79
     </property>
80
     <property name="prefPath" stdset="0">
81
      <cstring>Mod/Draft</cstring>
82
     </property>
83
    </widget>
84
   </item>
85
   <item>
86
    <widget class="QGroupBox" name="groupBox_2">
87
     <property name="title">
88
      <string>Automatic update (legacy importer only)</string>
89
     </property>
90
     <layout class="QVBoxLayout" name="verticalLayout_2">
91
      <item>
92
       <layout class="QHBoxLayout" name="horizontalLayout_9">
93
        <item>
94
         <widget class="Gui::PrefCheckBox" name="checkBox_3">
95
          <property name="toolTip">
96
           <string>Allow FreeCAD to download the Python converter for DXF import and export.
97
You can also do this manually by installing the &quot;dxf_library&quot; workbench
98
from the Addon Manager.</string>
99
          </property>
100
          <property name="text">
101
           <string>Allow FreeCAD to automatically download and update the DXF libraries</string>
102
          </property>
103
          <property name="prefEntry" stdset="0">
104
           <cstring>dxfAllowDownload</cstring>
105
          </property>
106
          <property name="prefPath" stdset="0">
107
           <cstring>Mod/Draft</cstring>
108
          </property>
109
         </widget>
110
        </item>
111
       </layout>
112
      </item>
113
     </layout>
114
    </widget>
115
   </item>
116
   <item>
117
    <widget class="QGroupBox" name="GroupBox12">
118
     <property name="title">
119
      <string>Import options</string>
120
     </property>
121
     <layout class="QVBoxLayout">
122
      <property name="spacing">
123
       <number>6</number>
124
      </property>
125
      <property name="leftMargin">
126
       <number>9</number>
127
      </property>
128
      <property name="topMargin">
129
       <number>9</number>
130
      </property>
131
      <property name="rightMargin">
132
       <number>9</number>
133
      </property>
134
      <property name="bottomMargin">
135
       <number>9</number>
136
      </property>
137
      <item>
138
       <widget class="QLabel" name="label_2">
139
        <property name="text">
140
         <string>Note: Not all the options below are used by the new importer yet</string>
141
        </property>
142
       </widget>
143
      </item>
144
      <item>
145
       <layout class="QHBoxLayout" name="horizontalLayout_7">
146
        <item>
147
         <widget class="QLabel" name="label_3">
148
          <property name="text">
149
           <string>Import</string>
150
          </property>
151
         </widget>
152
        </item>
153
        <item>
154
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_2">
155
          <property name="toolTip">
156
           <string>If unchecked, texts and mtexts won't be imported</string>
157
          </property>
158
          <property name="text">
159
           <string>texts and dimensions</string>
160
          </property>
161
          <property name="prefEntry" stdset="0">
162
           <cstring>dxftext</cstring>
163
          </property>
164
          <property name="prefPath" stdset="0">
165
           <cstring>Mod/Draft</cstring>
166
          </property>
167
         </widget>
168
        </item>
169
        <item>
170
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_13">
171
          <property name="toolTip">
172
           <string>If unchecked, points won't be imported</string>
173
          </property>
174
          <property name="text">
175
           <string>points</string>
176
          </property>
177
          <property name="prefEntry" stdset="0">
178
           <cstring>dxfImportPoints</cstring>
179
          </property>
180
          <property name="prefPath" stdset="0">
181
           <cstring>Mod/Draft</cstring>
182
          </property>
183
         </widget>
184
        </item>
185
        <item>
186
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_3">
187
          <property name="toolTip">
188
           <string>If checked, paper space objects will be imported too</string>
189
          </property>
190
          <property name="text">
191
           <string>layouts</string>
192
          </property>
193
          <property name="prefEntry" stdset="0">
194
           <cstring>dxflayout</cstring>
195
          </property>
196
          <property name="prefPath" stdset="0">
197
           <cstring>Mod/Draft</cstring>
198
          </property>
199
         </widget>
200
        </item>
201
        <item>
202
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_7">
203
          <property name="toolTip">
204
           <string>If you want the non-named blocks (beginning with a *) to be imported too</string>
205
          </property>
206
          <property name="text">
207
           <string>*blocks</string>
208
          </property>
209
          <property name="prefEntry" stdset="0">
210
           <cstring>dxfstarblocks</cstring>
211
          </property>
212
          <property name="prefPath" stdset="0">
213
           <cstring>Mod/Draft</cstring>
214
          </property>
215
         </widget>
216
        </item>
217
       </layout>
218
      </item>
219
      <item>
220
       <layout class="QHBoxLayout" name="horizontalLayout_15">
221
        <item>
222
         <widget class="QLabel" name="label">
223
          <property name="text">
224
           <string>Create</string>
225
          </property>
226
         </widget>
227
        </item>
228
        <item>
229
         <widget class="Gui::PrefRadioButton" name="radioButton">
230
          <property name="toolTip">
231
           <string>Only standard Part objects will be created (fastest)</string>
232
          </property>
233
          <property name="text">
234
           <string>simple Part shapes</string>
235
          </property>
236
          <property name="checked">
237
           <bool>true</bool>
238
          </property>
239
          <property name="prefEntry" stdset="0">
240
           <cstring>dxfCreatePart</cstring>
241
          </property>
242
          <property name="prefPath" stdset="0">
243
           <cstring>Mod/Draft</cstring>
244
          </property>
245
         </widget>
246
        </item>
247
        <item>
248
         <widget class="Gui::PrefRadioButton" name="radioButton_2">
249
          <property name="toolTip">
250
           <string>Parametric Draft objects will be created whenever possible</string>
251
          </property>
252
          <property name="text">
253
           <string>Draft objects</string>
254
          </property>
255
          <property name="prefEntry" stdset="0">
256
           <cstring>dxfCreateDraft</cstring>
257
          </property>
258
          <property name="prefPath" stdset="0">
259
           <cstring>Mod/Draft</cstring>
260
          </property>
261
         </widget>
262
        </item>
263
        <item>
264
         <widget class="Gui::PrefRadioButton" name="radioButton_3">
265
          <property name="toolTip">
266
           <string>Sketches will be created whenever possible</string>
267
          </property>
268
          <property name="text">
269
           <string>Sketches</string>
270
          </property>
271
          <property name="prefEntry" stdset="0">
272
           <cstring>dxfCreateSketch</cstring>
273
          </property>
274
          <property name="prefPath" stdset="0">
275
           <cstring>Mod/Draft</cstring>
276
          </property>
277
         </widget>
278
        </item>
279
       </layout>
280
      </item>
281
      <item>
282
       <layout class="QHBoxLayout" name="horizontalLayout_6">
283
        <item>
284
         <widget class="QLabel" name="label_4">
285
          <property name="toolTip">
286
           <string/>
287
          </property>
288
          <property name="text">
289
           <string>Scale factor to apply to imported files</string>
290
          </property>
291
         </widget>
292
        </item>
293
        <item>
294
         <spacer name="horizontalSpacer_2">
295
          <property name="orientation">
296
           <enum>Qt::Horizontal</enum>
297
          </property>
298
          <property name="sizeHint" stdset="0">
299
           <size>
300
            <width>40</width>
301
            <height>20</height>
302
           </size>
303
          </property>
304
         </spacer>
305
        </item>
306
        <item>
307
         <widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox_2">
308
          <property name="toolTip">
309
           <string>Scale factor to apply to DXF files on import.
310
The factor is the conversion between the unit of your DXF file and millimeters.
311
Example: for files in millimeters: 1, in centimeters: 10,
312
                             in meters: 1000, in inches: 25.4, in feet: 304.8</string>
313
          </property>
314
          <property name="decimals">
315
           <number>12</number>
316
          </property>
317
          <property name="maximum">
318
           <double>999999.999998999992386</double>
319
          </property>
320
          <property name="value">
321
           <double>1.000000000000000</double>
322
          </property>
323
          <property name="prefEntry" stdset="0">
324
           <cstring>dxfScaling</cstring>
325
          </property>
326
          <property name="prefPath" stdset="0">
327
           <cstring>Mod/Draft</cstring>
328
          </property>
329
         </widget>
330
        </item>
331
       </layout>
332
      </item>
333
      <item>
334
       <layout class="QHBoxLayout" name="horizontalLayout">
335
        <item>
336
         <widget class="Gui::PrefCheckBox" name="checkBox_2">
337
          <property name="toolTip">
338
           <string>Colors will set as specified in the DXF file whenever possible.
339
Otherwise default colors will be applied.</string>
340
          </property>
341
          <property name="text">
342
           <string>Use colors from the DXF file</string>
343
          </property>
344
          <property name="prefEntry" stdset="0">
345
           <cstring>dxfGetOriginalColors</cstring>
346
          </property>
347
          <property name="prefPath" stdset="0">
348
           <cstring>Mod/Draft</cstring>
349
          </property>
350
         </widget>
351
        </item>
352
       </layout>
353
      </item>
354
      <item>
355
       <layout class="QHBoxLayout" name="horizontalLayout_5">
356
        <item>
357
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_9">
358
          <property name="toolTip">
359
           <string>FreeCAD will try to join coincident objects into wires.
360
Note that this can take a while!</string>
361
          </property>
362
          <property name="text">
363
           <string>Join geometry</string>
364
          </property>
365
          <property name="prefEntry" stdset="0">
366
           <cstring>joingeometry</cstring>
367
          </property>
368
          <property name="prefPath" stdset="0">
369
           <cstring>Mod/Draft</cstring>
370
          </property>
371
         </widget>
372
        </item>
373
       </layout>
374
      </item>
375
      <item>
376
       <layout class="QHBoxLayout" name="horizontalLayout_8">
377
        <item>
378
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_5">
379
          <property name="toolTip">
380
           <string>Objects from the same layers will be joined into Draft Blocks,
381
turning the display faster, but making them less easily editable.</string>
382
          </property>
383
          <property name="text">
384
           <string>Group layers into blocks</string>
385
          </property>
386
          <property name="prefEntry" stdset="0">
387
           <cstring>groupLayers</cstring>
388
          </property>
389
          <property name="prefPath" stdset="0">
390
           <cstring>Mod/Draft</cstring>
391
          </property>
392
         </widget>
393
        </item>
394
       </layout>
395
      </item>
396
      <item>
397
       <layout class="QHBoxLayout" name="horizontalLayout_11">
398
        <item>
399
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_8">
400
          <property name="toolTip">
401
           <string>Imported texts will get the standard Draft Text size,
402
instead of the size they have in the DXF document</string>
403
          </property>
404
          <property name="text">
405
           <string>Use standard font size for texts</string>
406
          </property>
407
          <property name="prefEntry" stdset="0">
408
           <cstring>dxfStdSize</cstring>
409
          </property>
410
          <property name="prefPath" stdset="0">
411
           <cstring>Mod/Draft</cstring>
412
          </property>
413
         </widget>
414
        </item>
415
       </layout>
416
      </item>
417
      <item>
418
       <layout class="QHBoxLayout" name="horizontalLayout_3">
419
        <item>
420
         <widget class="Gui::PrefCheckBox" name="checkBox">
421
          <property name="toolTip">
422
           <string>If this is checked, DXF layers will be imported as Draft Layers</string>
423
          </property>
424
          <property name="text">
425
           <string>Use Layers</string>
426
          </property>
427
          <property name="checked">
428
           <bool>true</bool>
429
          </property>
430
          <property name="prefEntry" stdset="0">
431
           <cstring>dxfUseDraftVisGroups</cstring>
432
          </property>
433
          <property name="prefPath" stdset="0">
434
           <cstring>Mod/Draft</cstring>
435
          </property>
436
         </widget>
437
        </item>
438
       </layout>
439
      </item>
440
      <item>
441
       <layout class="QHBoxLayout" name="horizontalLayout_12">
442
        <item>
443
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_10">
444
          <property name="toolTip">
445
           <string>Hatches will be converted into simple wires</string>
446
          </property>
447
          <property name="text">
448
           <string>Import hatch boundaries as wires (legacy importer only)</string>
449
          </property>
450
          <property name="prefEntry" stdset="0">
451
           <cstring>importDxfHatches</cstring>
452
          </property>
453
          <property name="prefPath" stdset="0">
454
           <cstring>Mod/Draft</cstring>
455
          </property>
456
         </widget>
457
        </item>
458
       </layout>
459
      </item>
460
      <item>
461
       <layout class="QHBoxLayout" name="horizontalLayout_13">
462
        <item>
463
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_11">
464
          <property name="toolTip">
465
           <string>If polylines have a width defined, they will be rendered
466
as closed wires with correct width</string>
467
          </property>
468
          <property name="text">
469
           <string>Render polylines with width (legacy importer only)</string>
470
          </property>
471
          <property name="prefEntry" stdset="0">
472
           <cstring>renderPolylineWidth</cstring>
473
          </property>
474
          <property name="prefPath" stdset="0">
475
           <cstring>Mod/Draft</cstring>
476
          </property>
477
         </widget>
478
        </item>
479
       </layout>
480
      </item>
481
     </layout>
482
    </widget>
483
   </item>
484
   <item>
485
    <widget class="QGroupBox" name="groupBox">
486
     <property name="title">
487
      <string>Export options</string>
488
     </property>
489
     <layout class="QVBoxLayout" name="verticalLayout">
490
	   <item>
491
		 <layout class="QHBoxLayout" name="horizontalLayout_2">
492
		   <item>
493
			 <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_14">
494
			   <property name="toolTip">
495
				 <string>Ellipse export is poorly supported. Use this to export them as polylines instead.</string>
496
			   </property>
497
			   <property name="text">
498
				 <string>Treat ellipses and splines as polylines</string>
499
			   </property>
500
			   <property name="checked">
501
				 <bool>true</bool>
502
			   </property>
503
			   <property name="prefEntry" stdset="0">
504
				 <cstring>DiscretizeEllipses</cstring>
505
			   </property>
506
			   <property name="prefPath" stdset="0">
507
				 <cstring>Mod/Draft</cstring>
508
			   </property>
509
			 </widget>
510
		   </item>
511
		   <item>
512
			 <spacer name="horizontalSpacer">
513
			   <property name="orientation">
514
				 <enum>Qt::Horizontal</enum>
515
			   </property>
516
			   <property name="sizeHint" stdset="0">
517
				 <size>
518
				   <width>40</width>
519
				   <height>20</height>
520
				 </size>
521
			   </property>
522
			 </spacer>
523
		   </item>
524
		   <item>
525
			 <widget class="QLabel" name="label_7">
526
			   <property name="text">
527
				 <string>Max Spline Segment:</string>
528
			   </property>
529
			   <property name="alignment">
530
				 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
531
			   </property>
532
			 </widget>
533
		   </item>
534
		   <item>
535
			 <widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox">
536
			   <property name="toolTip">
537
				 <string>Maximum length of each of the polyline segments.
538
If it is set to '0' the whole spline is treated as a straight segment.</string>
539
			   </property>
540
			   <property name="alignment">
541
				 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
542
			   </property>
543
			   <property name="suffix">
544
				 <string>mm</string>
545
			   </property>
546
			   <property name="maximum">
547
				 <double>9999.989999999999782</double>
548
			   </property>
549
			   <property name="value">
550
				 <double>5.000000000000000</double>
551
			   </property>
552
			   <property name="prefEntry" stdset="0">
553
				 <cstring>maxsegmentlength</cstring>
554
			   </property>
555
			   <property name="prefPath" stdset="0">
556
				 <cstring>Mod/Draft</cstring>
557
			   </property>
558
			 </widget>
559
		   </item>
560
		 </layout>
561
	   </item>
562
	   <item>
563
       <layout class="QHBoxLayout" name="horizontalLayout_4">
564
        <item>
565
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox">
566
          <property name="toolTip">
567
           <string>All objects containing faces will be exported as 3D polyfaces</string>
568
          </property>
569
          <property name="text">
570
           <string>Export 3D objects as polyface meshes (legacy exporter only)</string>
571
          </property>
572
          <property name="prefEntry" stdset="0">
573
           <cstring>dxfmesh</cstring>
574
          </property>
575
          <property name="prefPath" stdset="0">
576
           <cstring>Mod/Draft</cstring>
577
          </property>
578
         </widget>
579
        </item>
580
       </layout>
581
      </item>
582
      <item>
583
       <layout class="QHBoxLayout" name="horizontalLayout_10">
584
        <item>
585
         <widget class="Gui::PrefCheckBox" name="checkBox_5">
586
          <property name="toolTip">
587
           <string>TechDraw Views will be exported as blocks.
588
This might fail for post DXF R12 templates.</string>
589
          </property>
590
          <property name="text">
591
           <string>Export TechDraw Views as blocks</string>
592
          </property>
593
          <property name="checked">
594
           <bool>true</bool>
595
          </property>
596
          <property name="prefEntry" stdset="0">
597
           <cstring>dxfExportBlocks</cstring>
598
          </property>
599
          <property name="prefPath" stdset="0">
600
           <cstring>Mod/Draft</cstring>
601
          </property>
602
         </widget>
603
        </item>
604
       </layout>
605
      </item>
606
      <item>
607
       <layout class="QHBoxLayout" name="horizontalLayout_14">
608
        <item>
609
         <widget class="Gui::PrefCheckBox" name="gui::prefcheckbox_12">
610
          <property name="toolTip">
611
           <string>Exported objects will be projected to reflect the current view direction</string>
612
          </property>
613
          <property name="text">
614
           <string>Project exported objects along current view direction (legacy exporter only)</string>
615
          </property>
616
          <property name="prefEntry" stdset="0">
617
           <cstring>dxfproject</cstring>
618
          </property>
619
          <property name="prefPath" stdset="0">
620
           <cstring>Mod/Draft</cstring>
621
          </property>
622
         </widget>
623
        </item>
624
       </layout>
625
      </item>
626
     </layout>
627
    </widget>
628
   </item>
629
   <item>
630
    <spacer name="verticalSpacer">
631
     <property name="orientation">
632
      <enum>Qt::Vertical</enum>
633
     </property>
634
     <property name="sizeHint" stdset="0">
635
      <size>
636
       <width>20</width>
637
       <height>40</height>
638
      </size>
639
     </property>
640
    </spacer>
641
   </item>
642
  </layout>
643
 </widget>
644
 <layoutdefault spacing="6" margin="11"/>
645
 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
646
 <customwidgets>
647
  <customwidget>
648
   <class>Gui::PrefRadioButton</class>
649
   <extends>QRadioButton</extends>
650
   <header>Gui/PrefWidgets.h</header>
651
  </customwidget>
652
  <customwidget>
653
   <class>Gui::PrefCheckBox</class>
654
   <extends>QCheckBox</extends>
655
   <header>Gui/PrefWidgets.h</header>
656
  </customwidget>
657
  <customwidget>
658
   <class>Gui::PrefDoubleSpinBox</class>
659
   <extends>QDoubleSpinBox</extends>
660
   <header>Gui/PrefWidgets.h</header>
661
  </customwidget>
662
 </customwidgets>
663
 <resources/>
664
 <connections/>
665
</ui>
666

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

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

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

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