1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
4 Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
6 Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
7 CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
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.
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.
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
23 See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
27 <!-- GUI customization for MESH component -->
31 <meshers-group name="Standard Meshers"
32 resources="StdMeshers"
33 server-lib="StdMeshersEngine"
34 gui-lib="StdMeshersGUI">
37 <hypothesis type ="SegmentLengthAroundVertex"
38 label-id ="Length Near Vertex"
39 icon-id ="mesh_hypo_length.png"
42 <hypothesis type ="LocalLength"
43 label-id ="Local Length"
44 icon-id ="mesh_hypo_length.png"
47 <hypothesis type ="MaxLength"
49 icon-id ="mesh_hypo_length.png"
52 <hypothesis type ="Arithmetic1D"
53 label-id ="Arithmetic 1D"
54 icon-id ="mesh_hypo_length.png"
57 <hypothesis type ="FixedPoints1D"
58 label-id ="Fixed Points 1D"
59 icon-id ="mesh_hypo_length.png"
62 <hypothesis type ="StartEndLength"
63 label-id ="Start and End Length"
64 icon-id ="mesh_hypo_length.png"
67 <hypothesis type ="NumberOfSegments"
68 label-id ="Nb. Segments"
69 icon-id ="mesh_hypo_segment.png"
72 <hypothesis type ="Deflection1D"
73 label-id ="Deflection 1D"
74 icon-id ="mesh_hypo_length.png"
77 <hypothesis type ="Propagation"
78 label-id ="Propagation of 1D Hyp. on Opposite Edges"
79 icon-id ="mesh_hypo_length.png"
83 <hypothesis type ="AutomaticLength"
84 label-id ="Automatic Length"
85 icon-id ="mesh_hypo_length.png"
88 <hypothesis type ="LengthFromEdges"
89 label-id ="Length From Edges"
90 icon-id ="mesh_hypo_length.png"
93 <hypothesis type ="QuadranglePreference"
94 label-id ="Quadrangle Preference"
95 icon-id ="mesh_algo_quad.png"
99 <hypothesis type ="QuadraticMesh"
100 label-id ="Quadratic Mesh"
101 icon-id ="mesh_algo_quad.png"
105 <hypothesis type ="MaxElementArea"
106 label-id ="Max. Element Area"
107 icon-id ="mesh_hypo_area.png"
110 <hypothesis type ="NotConformAllowed"
111 label-id ="Not Conform Mesh Allowed"
112 icon-id ="mesh_hypo_length.png"
116 <hypothesis type ="MaxElementVolume"
117 label-id ="Max. Element Volume"
118 icon-id ="mesh_hypo_volume.png"
121 <hypothesis type ="ProjectionSource3D"
122 label-id ="Source Shape 3D"
123 icon-id ="mesh_hypo_volume.png"
126 <hypothesis type ="ProjectionSource2D"
127 label-id ="Source Face"
128 icon-id ="mesh_hypo_area.png"
131 <hypothesis type ="ProjectionSource1D"
132 label-id ="Source Edge"
133 icon-id ="mesh_hypo_length.png"
136 <hypothesis type ="ImportSource2D"
137 label-id ="Source Faces"
138 icon-id ="mesh_hypo_area.png"
141 <hypothesis type ="ImportSource1D"
142 label-id ="Source Edges"
143 icon-id ="mesh_hypo_length.png"
146 <hypothesis type ="NumberOfLayers"
147 label-id ="Number of Layers"
148 icon-id ="mesh_hypo_length.png"
151 <hypothesis type ="LayerDistribution"
152 label-id ="Distribution of Layers"
153 icon-id ="mesh_hypo_length.png"
156 <hypothesis type ="ViscousLayers2D"
157 label-id ="Viscous Layers 2D"
158 icon-id ="mesh_algo_quad.png"
162 <hypothesis type ="ViscousLayers"
163 label-id ="Viscous Layers"
164 icon-id ="mesh_algo_quad.png"
168 <hypothesis type ="NumberOfLayers2D"
169 label-id ="Number of Layers"
170 icon-id ="mesh_hypo_length.png"
173 <hypothesis type ="LayerDistribution2D"
174 label-id ="Distribution of Layers"
175 icon-id ="mesh_hypo_length.png"
178 <hypothesis type ="QuadrangleParams"
179 label-id ="Quadrangle Parameters"
180 icon-id ="mesh_hypo_length.png"
183 <hypothesis type ="CartesianParameters3D"
184 label-id ="Body Fitting Parameters"
185 icon-id ="mesh_hypo_length.png"
192 <algorithm type ="SegmentAroundVertex_0D"
193 label-id ="Segments around Vertex"
194 icon-id ="mesh_algo_regular.png"
195 hypos ="SegmentLengthAroundVertex"
199 <algorithm type ="Regular_1D"
200 label-id ="Wire Discretisation"
201 icon-id ="mesh_algo_regular.png"
202 hypos ="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
203 opt-hypos="Propagation,QuadraticMesh"
208 <algo>Regular_1D=Segment()</algo>
209 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
210 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
211 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
212 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
213 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
214 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
215 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
216 <hypo>Propagation=Propagation()</hypo>
217 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
221 <algorithm type ="CompositeSegment_1D"
222 label-id ="Composite Side Discretisation"
223 icon-id ="mesh_algo_regular.png"
224 hypos ="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
225 opt-hypos="Propagation,QuadraticMesh"
230 <algo>CompositeSegment_1D=Segment(algo=smesh.COMPOSITE)</algo>
231 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
232 <hypo>MaxLength=MaxSize(SetLength())</hypo>
233 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
234 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
235 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
236 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
237 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
238 <hypo>Propagation=Propagation()</hypo>
239 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
243 <algorithm type="Python_1D"
247 <algo>Python_1D=Segment(algo=smesh.PYTHON)</algo>
248 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
252 <algorithm type ="MEFISTO_2D"
253 label-id ="Triangle (Mefisto)"
254 icon-id ="mesh_algo_mefisto.png"
255 hypos ="LengthFromEdges,MaxElementArea"
256 opt-hypos ="ViscousLayers2D"
261 <algo>MEFISTO_2D=Triangle(algo=smesh.MEFISTO)</algo>
262 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
263 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
267 <algorithm type ="Quadrangle_2D"
268 label-id ="Quadrangle (Mapping)"
269 icon-id ="mesh_algo_quad.png"
270 hypos ="QuadrangleParams"
271 opt-hypos="ViscousLayers2D"
276 <algo>Quadrangle_2D=Quadrangle(algo=smesh.QUADRANGLE)</algo>
277 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex())</hypo>
281 <algorithm type ="Hexa_3D"
282 label-id ="Hexahedron (i,j,k)"
283 icon-id ="mesh_algo_hexa.png"
286 opt-hypos="ViscousLayers"
289 <algo>Hexa_3D=Hexahedron(algo=smesh.Hexa)</algo>
290 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
294 <algorithm type ="Projection_1D"
295 label-id="Projection 1D"
296 icon-id ="mesh_algo_regular.png"
297 hypos ="ProjectionSource1D"
301 <algo>Projection_1D=Projection1D()</algo>
302 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
306 <algorithm type ="Projection_2D"
307 label-id="Projection 2D"
308 icon-id ="mesh_algo_quad.png"
310 hypos ="ProjectionSource2D"
314 <algo>Projection_2D=Projection2D()</algo>
315 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
319 <algorithm type ="Projection_1D2D"
320 label-id="Projection 1D-2D"
321 icon-id ="mesh_algo_quad.png"
322 hypos ="ProjectionSource2D"
326 <algo>Projection_1D2D=Projection1D2D()</algo>
327 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
331 <algorithm type ="Projection_3D"
332 label-id="Projection 3D"
333 icon-id ="mesh_algo_hexa.png"
334 hypos ="ProjectionSource3D"
338 <algo>Projection_3D=Projection3D()</algo>
339 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
343 <algorithm type ="Import_1D"
344 label-id="Use Existing 1D Elements"
345 icon-id ="mesh_algo_regular.png"
346 hypos ="ImportSource1D"
350 <algo>Import_1D=UseExisting1DElements()</algo>
351 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
355 <algorithm type ="Import_1D2D"
356 label-id ="Use Existing 2D Elements"
357 icon-id ="mesh_algo_quad.png"
358 hypos ="ImportSource2D"
360 support-submeshes="false"
363 <algo>Import_1D2D=UseExisting2DElements()</algo>
364 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
368 <algorithm type ="Prism_3D"
369 label-id="3D Extrusion"
370 icon-id ="mesh_algo_hexa.png"
374 <algo>Prism_3D=Prism()</algo>
378 <algorithm type ="RadialPrism_3D"
379 label-id="Radial Prism 3D"
380 icon-id ="mesh_algo_hexa.png"
381 hypos ="NumberOfLayers, LayerDistribution"
385 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
386 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
390 <algorithm type ="UseExisting_1D"
391 label-id="Use Existing Edges"
392 icon-id ="mesh_algo_regular.png"
397 <algo>UseExisting_1D=UseExistingSegments()</algo>
401 <algorithm type ="UseExisting_2D"
402 label-id="Use Existing Faces"
403 icon-id ="mesh_algo_quad.png"
408 <algo>UseExisting_2D=UseExistingFaces()</algo>
412 <algorithm type ="RadialQuadrangle_1D2D"
413 label-id="Radial Quadrangle 1D2D"
414 icon-id ="mesh_algo_quad.png"
415 hypos ="NumberOfLayers2D, LayerDistribution2D"
420 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smesh.RADIAL_QUAD)</algo>
421 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
425 <algorithm type ="Cartesian_3D"
426 label-id ="Body Fitting"
427 icon-id ="mesh_algo_hexa.png"
428 hypos ="CartesianParameters3D"
429 support-submeshes="false"
432 <algo>Cartesian_3D=BodyFitted()</algo>
439 <meshers-group name="Your Meshers Group"
459 <hypotheses-set-group>
461 <hypotheses-set name="Automatic Tetrahedralization"
463 algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
465 <hypotheses-set name="Automatic Hexahedralization"
466 hypos="NumberOfSegments"
467 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
469 <hypotheses-set name="Automatic Triangulation"
471 algos="Regular_1D, MEFISTO_2D"/>
473 <hypotheses-set name="Automatic Quadrangulation"
474 hypos="NumberOfSegments"
475 algos="Regular_1D, Quadrangle_2D"/>
477 </hypotheses-set-group>