]> SALOME platform Git repositories - modules/smesh.git/blob - resources/StdMeshers.xml
Salome HOME
0020885: EDF 607 SMESH: Measure tools
[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-2010  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="Local 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                need-geom="false"
219                dim="3"/>
220
221     <algorithm type="Projection_1D"
222                label-id="Projection 1D"
223                icon-id="mesh_algo_regular.png"
224                hypos="ProjectionSource1D"
225                output="EDGE"
226                dim="1"/>
227
228     <algorithm type="Projection_2D"
229                label-id="Projection 2D"
230                icon-id="mesh_algo_quad.png"
231                input="EDGE"
232                hypos="ProjectionSource2D"
233                output="QUAD,TRIA"
234                dim="2"/>
235
236     <algorithm type="Projection_3D"
237                label-id="Projection 3D"
238                icon-id="mesh_algo_hexa.png"
239                hypos="ProjectionSource3D"
240                input="QUAD,TRIA"
241                dim="3"/>
242
243     <algorithm type="Prism_3D"
244                label-id="3D extrusion"
245                icon-id="mesh_algo_hexa.png"
246                input="QUAD,TRIA"
247                dim="3"/>
248
249     <algorithm type="RadialPrism_3D"
250                label-id="Radial Prism 3D"
251                icon-id="mesh_algo_hexa.png"
252                hypos="NumberOfLayers, LayerDistribution"
253                input="QUAD,TRIA"
254                dim="3"/>
255
256     <algorithm type="UseExisting_1D"
257                label-id="Use existing edges"
258                icon-id="mesh_algo_regular.png"
259                input="VERTEX"
260                output="EDGE"
261                dim="1"/>
262
263     <algorithm type="UseExisting_2D"
264                label-id="Use existing faces"
265                icon-id="mesh_algo_quad.png"
266                input="EDGE"
267                output="QUAD,TRIA"
268                dim="2"/>
269
270     <algorithm type="RadialQuadrangle_1D2D"
271                label-id="Radial quadrangle 1D2D"
272                icon-id="mesh_algo_quad.png"
273                hypos="NumberOfLayers2D, LayerDistribution2D"
274                input="EDGE"
275                output="QUAD,TRIA"
276                dim="2"/>
277
278   </algorithms>
279 </meshers-group>
280
281 <meshers-group name="Your Meshers Group"
282                resources=""
283                server-lib=""
284                gui-lib="">
285   <hypotheses>
286
287     <hypothesis type=""
288                 label-id=""
289                 icon-id=""/>
290   </hypotheses>
291
292   <algorithms>
293
294     <algorithm type=""
295                label-id=""
296                icon-id=""/>
297   </algorithms>
298 </meshers-group>
299
300
301 <hypotheses-set-group>
302
303     <hypotheses-set name="Automatic Tetrahedralization"
304                     hypos="MaxLength"
305                     algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
306
307     <hypotheses-set name="Automatic Hexahedralization"
308                     hypos="NumberOfSegments"
309                     algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
310
311 </hypotheses-set-group>
312
313 </meshers>