1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
4 Copyright (C) 2007-2013 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 idl-module="StdMeshers"
34 server-lib="StdMeshersEngine"
35 gui-lib="StdMeshersGUI">
38 <hypothesis type ="SegmentLengthAroundVertex"
39 label-id ="Length Near Vertex"
40 icon-id ="mesh_hypo_length.png"
43 <hypothesis type ="LocalLength"
44 label-id ="Local Length"
45 icon-id ="mesh_hypo_length.png"
48 <hypothesis type ="MaxLength"
50 icon-id ="mesh_hypo_length.png"
53 <hypothesis type ="Arithmetic1D"
54 label-id ="Arithmetic 1D"
55 icon-id ="mesh_hypo_length.png"
58 <hypothesis type ="FixedPoints1D"
59 label-id ="Fixed Points 1D"
60 icon-id ="mesh_hypo_length.png"
63 <hypothesis type ="StartEndLength"
64 label-id ="Start and End Length"
65 icon-id ="mesh_hypo_length.png"
68 <hypothesis type ="NumberOfSegments"
69 label-id ="Nb. Segments"
70 icon-id ="mesh_hypo_segment.png"
73 <hypothesis type ="Deflection1D"
74 label-id ="Deflection 1D"
75 icon-id ="mesh_hypo_length.png"
78 <hypothesis type ="Adaptive1D"
80 icon-id ="mesh_hypo_length.png"
83 <hypothesis type ="Propagation"
84 label-id ="Propagation of 1D Hyp. on Opposite Edges"
85 icon-id ="mesh_hypo_length.png"
89 <hypothesis type ="PropagOfDistribution"
90 label-id ="Propagation of Node Distribution on Opposite Edges"
91 icon-id ="mesh_hypo_length.png"
95 <hypothesis type ="AutomaticLength"
96 label-id ="Automatic Length"
97 icon-id ="mesh_hypo_length.png"
100 <hypothesis type ="LengthFromEdges"
101 label-id ="Length From Edges"
102 icon-id ="mesh_hypo_length.png"
105 <hypothesis type ="QuadranglePreference"
106 label-id ="Quadrangle Preference"
107 icon-id ="mesh_algo_quad.png"
111 <hypothesis type ="QuadraticMesh"
112 label-id ="Quadratic Mesh"
113 icon-id ="mesh_algo_quad.png"
117 <hypothesis type ="MaxElementArea"
118 label-id ="Max. Element Area"
119 icon-id ="mesh_hypo_area.png"
122 <hypothesis type ="NotConformAllowed"
123 label-id ="Not Conform Mesh Allowed"
124 icon-id ="mesh_hypo_length.png"
128 <hypothesis type ="MaxElementVolume"
129 label-id ="Max. Element Volume"
130 icon-id ="mesh_hypo_volume.png"
133 <hypothesis type ="ProjectionSource3D"
134 label-id ="Source Shape 3D"
135 icon-id ="mesh_hypo_volume.png"
138 <hypothesis type ="ProjectionSource2D"
139 label-id ="Source Face"
140 icon-id ="mesh_hypo_area.png"
143 <hypothesis type ="ProjectionSource1D"
144 label-id ="Source Edge"
145 icon-id ="mesh_hypo_length.png"
148 <hypothesis type ="ImportSource2D"
149 label-id ="Source Faces"
150 icon-id ="mesh_hypo_area.png"
153 <hypothesis type ="ImportSource1D"
154 label-id ="Source Edges"
155 icon-id ="mesh_hypo_length.png"
158 <hypothesis type ="NumberOfLayers"
159 label-id ="Number of Layers"
160 icon-id ="mesh_hypo_length.png"
163 <hypothesis type ="LayerDistribution"
164 label-id ="Distribution of Layers"
165 icon-id ="mesh_hypo_length.png"
168 <hypothesis type ="ViscousLayers2D"
169 label-id ="Viscous Layers 2D"
170 icon-id ="mesh_algo_quad.png"
174 <hypothesis type ="ViscousLayers"
175 label-id ="Viscous Layers"
176 icon-id ="mesh_algo_quad.png"
180 <hypothesis type ="NumberOfLayers2D"
181 label-id ="Number of Layers"
182 icon-id ="mesh_hypo_length.png"
185 <hypothesis type ="LayerDistribution2D"
186 label-id ="Distribution of Layers"
187 icon-id ="mesh_hypo_length.png"
190 <hypothesis type ="QuadrangleParams"
191 label-id ="Quadrangle Parameters"
192 icon-id ="mesh_hypo_length.png"
195 <hypothesis type ="CartesianParameters3D"
196 label-id ="Body Fitting Parameters"
197 icon-id ="mesh_hypo_length.png"
204 <algorithm type ="SegmentAroundVertex_0D"
205 label-id ="Segments around Vertex"
206 icon-id ="mesh_algo_regular.png"
207 hypos ="SegmentLengthAroundVertex"
211 <algorithm type ="Regular_1D"
212 label-id ="Wire Discretisation"
213 icon-id ="mesh_algo_regular.png"
214 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
215 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
220 <algo>Regular_1D=Segment()</algo>
221 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
222 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
223 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
224 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
225 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
226 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
227 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
228 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
229 <hypo>Propagation=Propagation()</hypo>
230 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
234 <algorithm type ="CompositeSegment_1D"
235 label-id ="Composite Side Discretisation"
236 icon-id ="mesh_algo_regular.png"
237 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
238 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
243 <algo>CompositeSegment_1D=Segment(algo=smeshBuilder.COMPOSITE)</algo>
244 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
245 <hypo>MaxLength=MaxSize(SetLength())</hypo>
246 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
247 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
248 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
249 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
250 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
251 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
252 <hypo>Propagation=Propagation()</hypo>
253 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
257 <algorithm type="Python_1D"
261 <algo>Python_1D=Segment(algo=smeshBuilder.PYTHON)</algo>
262 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
266 <algorithm type ="@MEFISTO2D_NAME@"
267 label-id ="Triangle (Mefisto)"
268 icon-id ="mesh_algo_mefisto.png"
269 hypos ="LengthFromEdges,MaxElementArea"
270 opt-hypos ="ViscousLayers2D"
275 <algo>MEFISTO_2D=Triangle(algo=smeshBuilder.MEFISTO)</algo>
276 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
277 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
278 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2))</hypo>
282 <algorithm type ="Quadrangle_2D"
283 label-id ="Quadrangle (Mapping)"
284 icon-id ="mesh_algo_quad.png"
285 hypos ="QuadrangleParams"
286 opt-hypos="ViscousLayers2D"
291 <algo>Quadrangle_2D=Quadrangle(algo=smeshBuilder.QUADRANGLE)</algo>
292 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex())</hypo>
293 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
297 <algorithm type ="Hexa_3D"
298 label-id ="Hexahedron (i,j,k)"
299 icon-id ="mesh_algo_hexa.png"
302 opt-hypos="ViscousLayers"
305 <algo>Hexa_3D=Hexahedron(algo=smeshBuilder.Hexa)</algo>
306 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
310 <algorithm type ="Projection_1D"
311 label-id="Projection 1D"
312 icon-id ="mesh_algo_regular.png"
313 hypos ="ProjectionSource1D"
317 <algo>Projection_1D=Projection1D()</algo>
318 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
322 <algorithm type ="Projection_2D"
323 label-id="Projection 2D"
324 icon-id ="mesh_algo_quad.png"
326 hypos ="ProjectionSource2D"
330 <algo>Projection_2D=Projection2D()</algo>
331 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
335 <algorithm type ="Projection_1D2D"
336 label-id="Projection 1D-2D"
337 icon-id ="mesh_algo_quad.png"
338 hypos ="ProjectionSource2D"
342 <algo>Projection_1D2D=Projection1D2D()</algo>
343 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
347 <algorithm type ="Projection_3D"
348 label-id="Projection 3D"
349 icon-id ="mesh_algo_hexa.png"
350 hypos ="ProjectionSource3D"
354 <algo>Projection_3D=Projection3D()</algo>
355 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
359 <algorithm type ="Import_1D"
360 label-id="Use Existing 1D Elements"
361 icon-id ="mesh_algo_regular.png"
362 hypos ="ImportSource1D"
366 <algo>Import_1D=UseExisting1DElements()</algo>
367 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
371 <algorithm type ="Import_1D2D"
372 label-id ="Use Existing 2D Elements"
373 icon-id ="mesh_algo_quad.png"
374 hypos ="ImportSource2D"
376 support-submeshes="false"
379 <algo>Import_1D2D=UseExisting2DElements()</algo>
380 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
384 <algorithm type ="Prism_3D"
385 label-id="3D Extrusion"
386 icon-id ="mesh_algo_hexa.png"
390 <algo>Prism_3D=Prism()</algo>
394 <algorithm type ="RadialPrism_3D"
395 label-id="Radial Prism 3D"
396 icon-id ="mesh_algo_hexa.png"
397 hypos ="NumberOfLayers, LayerDistribution"
401 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
402 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
406 <algorithm type ="UseExisting_1D"
407 label-id="Use Existing Edges"
408 icon-id ="mesh_algo_regular.png"
413 <algo>UseExisting_1D=UseExistingSegments()</algo>
417 <algorithm type ="UseExisting_2D"
418 label-id="Use Existing Faces"
419 icon-id ="mesh_algo_quad.png"
424 <algo>UseExisting_2D=UseExistingFaces()</algo>
428 <algorithm type ="RadialQuadrangle_1D2D"
429 label-id="Radial Quadrangle 1D2D"
430 icon-id ="mesh_algo_quad.png"
431 hypos ="NumberOfLayers2D, LayerDistribution2D"
436 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshBuilder.RADIAL_QUAD)</algo>
437 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
441 <algorithm type ="Cartesian_3D"
442 label-id ="Body Fitting"
443 icon-id ="mesh_algo_hexa.png"
444 hypos ="CartesianParameters3D"
445 support-submeshes="false"
448 <algo>Cartesian_3D=BodyFitted()</algo>
455 <meshers-group name="Your Meshers Group"
475 <hypotheses-set-group>
477 <hypotheses-set name="Automatic Tetrahedralization"
479 algos="Regular_1D, @MEFISTO2D_NAME@, NETGEN_3D"/>
481 <hypotheses-set name="Automatic Hexahedralization"
482 hypos="NumberOfSegments"
483 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
485 <hypotheses-set name="Automatic Triangulation"
487 algos="Regular_1D, @MEFISTO2D_NAME@"/>
489 <hypotheses-set name="Automatic Quadrangulation"
490 hypos="NumberOfSegments"
491 algos="Regular_1D, Quadrangle_2D"/>
493 </hypotheses-set-group>