Salome HOME
9eff85040c008dc8ac8d89b2b552d6298d60dac1
[modules/shaper.git] / src / ExchangePlugin / export_widget.xml
1 <source>
2   <switch id="ExportType">
3     <case id="Regular" title="BREP, STEP, IGES">
4       <export_file_selector id="file_path"
5                             type="save"
6                             title="Export file"
7                             path="">
8         <validator id="ExchangePlugin_ExportFormat"
9                    parameters="brep|brp:BREP,step|stp:STEP,iges|igs:IGES-5.1,iges|igs:IGES-5.3" />
10       </export_file_selector>
11       <multi_selector id="selection_list"
12                       tooltip="Select a set of objects"
13                       shape_types="Vertices Edges Faces Solids Compsolids Objects">
14         <validator id="GeomValidators_Finite"/>
15       </multi_selector>
16     </case>
17     <case id="XAO" title="XAO">
18       <export_file_selector id="xao_file_path"
19                             type="save"
20                             title="Export file"
21                             path="">
22         <validator id="ExchangePlugin_ExportFormat"
23                    parameters="xao:XAO" />
24       </export_file_selector>
25       <stringvalue id="xao_author"
26                    label="Author"
27                    placeholder="Please input the author">
28       </stringvalue>
29       <stringvalue id="xao_geometry_name"
30                    label="Geometry name"
31                    placeholder="Please input the geometry name">
32       </stringvalue>
33     </case>
34     <case id="XAOMem" title="XAOMem" internal="1">
35       <stringvalue id="xao_author"
36                    label="Author"
37                    placeholder="Please input the author">
38       </stringvalue>
39       <stringvalue id="xao_geometry_name"
40                    label="Geometry name"
41                    placeholder="Please input the geometry name">
42       </stringvalue>
43     </case>
44     <case id="STL" title="STL">
45       <export_file_selector id="stl_file_path"
46                             type="save"
47                             title="Export file"
48                             path="">
49         <validator id="ExchangePlugin_ExportFormat"
50                    parameters="stl:STL" />
51       </export_file_selector>
52       <shape_selector id="stl_object_selected"
53                           label="Object"
54                           tooltip="Object to export."
55                           shape_types="faces shells solids compsolids compounds">
56             <validator id="GeomValidators_Finite"/>
57       </shape_selector>
58       <groupbox title="Deflection">
59         <radiobox id="stl_deflection_type">
60           <radio id="stl_deflection_type_relative"
61               title="Relative"
62               tooltip="Calculate by size of shape">
63             <doublevalue id="stl_relative"
64               tooltip="Relative value."
65               min="1e-12"
66               step="0.001"
67               default="0.001">
68             </doublevalue>
69           </radio>
70           <radio id="stl_deflection_type_absolute"
71               title="Absolute"
72               tooltip="Value indicate by user">
73             <doublevalue id="stl_absolute"
74               tooltip="Absolute value."
75               min="1e-12"
76               step="0.1"
77               default="0.5">
78             </doublevalue>
79           </radio>
80         </radiobox>
81       </groupbox >
82       <groupbox title="File type">
83         <radiobox id="stl_file_type">
84           <radio id="stl_file_type_binary"
85               title="Binary">
86           </radio>
87           <radio id="stl_file_type_acii"
88               title="ASCII">
89           </radio>
90         </radiobox>
91       </groupbox >
92     </case>
93   </switch>
94 </source>