Salome HOME
correct previous integration (Porting to Python 2.6)
[modules/smesh.git] / resources / StdMeshers.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3 <!--
4   Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
5
6   Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
7   CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
8
9   This library is free software; you can redistribute it and/or
10   modify it under the terms of the GNU Lesser General Public
11   License as published by the Free Software Foundation; either
12   version 2.1 of the License.
13
14   This library is distributed in the hope that it will be useful,
15   but WITHOUT ANY WARRANTY; without even the implied warranty of
16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17   Lesser General Public License for more details.
18
19   You should have received a copy of the GNU Lesser General Public
20   License along with this library; if not, write to the Free Software
21   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22
23   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
24
25 -->
26
27 <!--  GUI customization for MESH component  -->
28
29 <meshers>
30
31 <meshers-group name="Standard Meshers"
32                resources="StdMeshers"
33                server-lib="StdMeshersEngine"
34                gui-lib="StdMeshersGUI">
35   <hypotheses>
36
37     <hypothesis type="SegmentLengthAroundVertex"
38                 label-id="Length Near Vertex"
39                 icon-id="mesh_hypo_length.png"
40                 dim="0"/>
41
42     <hypothesis type="LocalLength"
43                 label-id="Average length"
44                 icon-id="mesh_hypo_length.png"
45                 dim="1"/>
46
47     <hypothesis type="MaxLength"
48                 label-id="Max Size"
49                 icon-id="mesh_hypo_length.png"
50                 dim="1"/>
51
52     <hypothesis type="Arithmetic1D"
53                 label-id="Arithmetic 1D"
54                 icon-id="mesh_hypo_length.png"
55                 dim="1"/>
56
57     <hypothesis type="FixedPoints1D"
58                 label-id="Fixed points 1D"
59                 icon-id="mesh_hypo_length.png"
60                 dim="1"/>
61
62     <hypothesis type="StartEndLength"
63                 label-id="Start and End Length"
64                 icon-id="mesh_hypo_length.png"
65                 dim="1"/>
66
67     <hypothesis type="NumberOfSegments"
68                 label-id="Nb. Segments"
69                 icon-id="mesh_hypo_segment.png"
70                 dim="1"/>
71
72     <hypothesis type="Deflection1D"
73                 label-id="Deflection 1D"
74                 icon-id="mesh_hypo_length.png"
75                 dim="1"/>
76
77     <hypothesis type="Propagation"
78                 label-id="Propagation of 1D Hyp. on opposite edges"
79                 icon-id="mesh_hypo_length.png"
80                 dim="1"
81                 auxiliary="true"/>
82
83     <hypothesis type="AutomaticLength"
84                 label-id="Automatic length"
85                 icon-id="mesh_hypo_length.png"
86                 dim="1"/>
87
88     <hypothesis type="LengthFromEdges"
89                 label-id="Length From Edges (2D Hyp. for Triangulator)"
90                 icon-id="mesh_hypo_length.png"
91                 dim="2"/>
92
93     <hypothesis type="QuadranglePreference"
94                 label-id="Quadrangle Preference"
95                 icon-id="mesh_algo_quad.png"
96                 auxiliary="true"
97                 dim="2"/>
98
99     <hypothesis type="TrianglePreference"
100                 label-id="Triangle Preference"
101                 icon-id="mesh_algo_mefisto.png"
102                 auxiliary="true"
103                 dim="2"/>
104                 
105     <hypothesis type="QuadraticMesh"
106                 label-id="Quadratic Mesh"
107                 icon-id="mesh_algo_quad.png"
108                 dim="1"
109                 auxiliary="true"/>                
110
111     <hypothesis type="MaxElementArea"
112                 label-id="Max. Element Area"
113                 icon-id="mesh_hypo_area.png"
114                 dim="2"/>
115                 
116     <hypothesis type="NotConformAllowed"
117                 label-id="Not Conform Mesh Allowed"
118                 icon-id="mesh_hypo_length.png"
119                 dim="1,2,3"
120                 auxiliary="true"/>                
121
122     <hypothesis type="MaxElementVolume"
123                 label-id="Max. Element Volume"
124                 icon-id="mesh_hypo_volume.png"
125                 need-geom = "false"
126                 dim="3"/>
127
128     <hypothesis type="ProjectionSource3D"
129                 label-id="Source Shape 3D"
130                 icon-id="mesh_hypo_volume.png"
131                 dim="3"/>
132
133     <hypothesis type="ProjectionSource2D"
134                 label-id="Source Face"
135                 icon-id="mesh_hypo_area.png"
136                 dim="2"/>
137
138     <hypothesis type="ProjectionSource1D"
139                 label-id="Source Edge"
140                 icon-id="mesh_hypo_length.png"
141                 dim="1"/>
142
143     <hypothesis type="NumberOfLayers"
144                 label-id="Number of Layers"
145                 icon-id="mesh_hypo_length.png"
146                 dim="3"/>
147
148     <hypothesis type="LayerDistribution"
149                 label-id="Distribution of Layers"
150                 icon-id="mesh_hypo_length.png"
151                 dim="3"/>
152
153     <hypothesis type="NumberOfLayers2D"
154                 label-id="Number of Layers"
155                 icon-id="mesh_hypo_length.png"
156                 dim="2"/>
157
158     <hypothesis type="LayerDistribution2D"
159                 label-id="Distribution of Layers"
160                 icon-id="mesh_hypo_length.png"
161                 dim="2"/>
162
163     <hypothesis type="QuadrangleParams"
164                 label-id="Quadrangle Parameters"
165                 icon-id="mesh_hypo_length.png"
166                 dim="2"/>
167
168   </hypotheses>
169
170   <algorithms>
171
172     <algorithm type="SegmentAroundVertex_0D"
173                label-id="Segments around vertex"
174                icon-id="mesh_algo_regular.png"
175                hypos="SegmentLengthAroundVertex"
176                output="VERTEX"
177                dim="0"/>
178
179     <algorithm type="Regular_1D"
180                label-id="Wire discretisation"
181                icon-id="mesh_algo_regular.png"
182                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
183                opt-hypos="Propagation,QuadraticMesh"
184                input="VERTEX"
185                output="EDGE"
186                dim="1"/>
187
188     <algorithm type="CompositeSegment_1D"
189                label-id="Composite side discretisation"
190                icon-id="mesh_algo_regular.png"
191                hypos="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength"
192                opt-hypos="Propagation,QuadraticMesh"
193                input="VERTEX"
194                output="EDGE"
195                dim="1"/>
196
197     <algorithm type="MEFISTO_2D"
198                label-id="Triangle (Mefisto)"
199                icon-id="mesh_algo_mefisto.png"
200                hypos="LengthFromEdges,MaxElementArea"
201                input="EDGE"
202                output="TRIA"
203                dim="2"/>
204
205     <algorithm type="Quadrangle_2D"
206                label-id="Quadrangle (Mapping)"
207                icon-id="mesh_algo_quad.png"
208                hypos="QuadrangleParams"
209                opt-hypos="QuadranglePreference,TrianglePreference"
210                input="EDGE"
211                output="QUAD"
212                dim="2"/>
213
214     <algorithm type="Hexa_3D"
215                label-id="Hexahedron (i,j,k)"
216                icon-id="mesh_algo_hexa.png"
217                input="QUAD"
218                dim="3"/>
219
220     <algorithm type="Projection_1D"
221                label-id="Projection 1D"
222                icon-id="mesh_algo_regular.png"
223                hypos="ProjectionSource1D"
224                output="EDGE"
225                dim="1"/>
226
227     <algorithm type="Projection_2D"
228                label-id="Projection 2D"
229                icon-id="mesh_algo_quad.png"
230                input="EDGE"
231                hypos="ProjectionSource2D"
232                output="QUAD,TRIA"
233                dim="2"/>
234
235     <algorithm type="Projection_3D"
236                label-id="Projection 3D"
237                icon-id="mesh_algo_hexa.png"
238                hypos="ProjectionSource3D"
239                input="QUAD,TRIA"
240                dim="3"/>
241
242     <algorithm type="Prism_3D"
243                label-id="3D extrusion"
244                icon-id="mesh_algo_hexa.png"
245                input="QUAD,TRIA"
246                dim="3"/>
247
248     <algorithm type="RadialPrism_3D"
249                label-id="Radial Prism 3D"
250                icon-id="mesh_algo_hexa.png"
251                hypos="NumberOfLayers, LayerDistribution"
252                input="QUAD,TRIA"
253                dim="3"/>
254
255     <algorithm type="UseExisting_1D"
256                label-id="Use existing edges"
257                icon-id="mesh_algo_regular.png"
258                input="VERTEX"
259                output="EDGE"
260                dim="1"/>
261
262     <algorithm type="UseExisting_2D"
263                label-id="Use existing faces"
264                icon-id="mesh_algo_quad.png"
265                input="EDGE"
266                output="QUAD,TRIA"
267                dim="2"/>
268
269     <algorithm type="RadialQuadrangle_1D2D"
270                label-id="Radial quadrangle 1D2D"
271                icon-id="mesh_algo_quad.png"
272                hypos="NumberOfLayers2D, LayerDistribution2D"
273                input="EDGE"
274                output="QUAD,TRIA"
275                dim="2"/>
276
277   </algorithms>
278 </meshers-group>
279
280 <meshers-group name="Your Meshers Group"
281                resources=""
282                server-lib=""
283                gui-lib="">
284   <hypotheses>
285
286     <hypothesis type=""
287                 label-id=""
288                 icon-id=""/>
289   </hypotheses>
290
291   <algorithms>
292
293     <algorithm type=""
294                label-id=""
295                icon-id=""/>
296   </algorithms>
297 </meshers-group>
298
299
300 <hypotheses-set-group>
301
302     <hypotheses-set name="Automatic Tetrahedralization"
303                     hypos="MaxLength"
304                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
305
306     <hypotheses-set name="Automatic Hexahedralization"
307                     hypos="NumberOfSegments"
308                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
309
310 </hypotheses-set-group>
311
312 </meshers>