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 ="GeometricProgression"
59 label-id ="Geometric Progression"
60 icon-id ="mesh_hypo_length.png"
63 <hypothesis type ="FixedPoints1D"
64 label-id ="Fixed Points 1D"
65 icon-id ="mesh_hypo_length.png"
68 <hypothesis type ="StartEndLength"
69 label-id ="Start and End Length"
70 icon-id ="mesh_hypo_length.png"
73 <hypothesis type ="NumberOfSegments"
74 label-id ="Nb. Segments"
75 icon-id ="mesh_hypo_segment.png"
78 <hypothesis type ="Deflection1D"
79 label-id ="Deflection 1D"
80 icon-id ="mesh_hypo_length.png"
83 <hypothesis type ="Adaptive1D"
85 icon-id ="mesh_hypo_length.png"
88 <hypothesis type ="Propagation"
89 label-id ="Propagation of 1D Hyp. on Opposite Edges"
90 icon-id ="mesh_hypo_length.png"
94 <hypothesis type ="PropagOfDistribution"
95 label-id ="Propagation of Node Distribution on Opposite Edges"
96 icon-id ="mesh_hypo_length.png"
100 <hypothesis type ="AutomaticLength"
101 label-id ="Automatic Length"
102 icon-id ="mesh_hypo_length.png"
105 <hypothesis type ="LengthFromEdges"
106 label-id ="Length From Edges"
107 icon-id ="mesh_hypo_length.png"
110 <hypothesis type ="QuadranglePreference"
111 label-id ="Quadrangle Preference"
112 icon-id ="mesh_algo_quad.png"
116 <hypothesis type ="QuadraticMesh"
117 label-id ="Quadratic Mesh"
118 icon-id ="mesh_algo_quad.png"
122 <hypothesis type ="MaxElementArea"
123 label-id ="Max. Element Area"
124 icon-id ="mesh_hypo_area.png"
127 <hypothesis type ="NotConformAllowed"
128 label-id ="Not Conform Mesh Allowed"
129 icon-id ="mesh_hypo_length.png"
133 <hypothesis type ="MaxElementVolume"
134 label-id ="Max. Element Volume"
135 icon-id ="mesh_hypo_volume.png"
138 <hypothesis type ="ProjectionSource3D"
139 label-id ="Source Shape 3D"
140 icon-id ="mesh_hypo_volume.png"
143 <hypothesis type ="ProjectionSource2D"
144 label-id ="Source Face"
145 icon-id ="mesh_hypo_area.png"
148 <hypothesis type ="ProjectionSource1D"
149 label-id ="Source Edge"
150 icon-id ="mesh_hypo_length.png"
153 <hypothesis type ="ImportSource2D"
154 label-id ="Source Faces"
155 icon-id ="mesh_hypo_area.png"
158 <hypothesis type ="ImportSource1D"
159 label-id ="Source Edges"
160 icon-id ="mesh_hypo_length.png"
163 <hypothesis type ="NumberOfLayers"
164 label-id ="Number of Layers"
165 icon-id ="mesh_hypo_length.png"
168 <hypothesis type ="LayerDistribution"
169 label-id ="Distribution of Layers"
170 icon-id ="mesh_hypo_length.png"
173 <hypothesis type ="ViscousLayers2D"
174 label-id ="Viscous Layers 2D"
175 icon-id ="mesh_algo_quad.png"
179 <hypothesis type ="ViscousLayers"
180 label-id ="Viscous Layers"
181 icon-id ="mesh_algo_quad.png"
185 <hypothesis type ="NumberOfLayers2D"
186 label-id ="Number of Layers"
187 icon-id ="mesh_hypo_length.png"
190 <hypothesis type ="LayerDistribution2D"
191 label-id ="Distribution of Layers"
192 icon-id ="mesh_hypo_length.png"
195 <hypothesis type ="QuadrangleParams"
196 label-id ="Quadrangle Parameters"
197 icon-id ="mesh_hypo_length.png"
200 <hypothesis type ="CartesianParameters3D"
201 label-id ="Body Fitting Parameters"
202 icon-id ="mesh_hypo_length.png"
209 <algorithm type ="SegmentAroundVertex_0D"
210 label-id ="Segments around Vertex"
211 icon-id ="mesh_algo_regular.png"
212 hypos ="SegmentLengthAroundVertex"
216 <algorithm type ="Regular_1D"
217 label-id ="Wire Discretisation"
218 icon-id ="mesh_algo_regular.png"
219 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
220 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
225 <algo>Regular_1D=Segment()</algo>
226 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
227 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
228 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
229 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
230 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
231 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
232 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
233 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
234 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
235 <hypo>Propagation=Propagation()</hypo>
236 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
237 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
241 <algorithm type ="CompositeSegment_1D"
242 label-id ="Composite Side Discretisation"
243 icon-id ="mesh_algo_regular.png"
244 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
245 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
250 <algo>CompositeSegment_1D=Segment(algo=smeshBuilder.COMPOSITE)</algo>
251 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
252 <hypo>MaxLength=MaxSize(SetLength())</hypo>
253 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
254 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
255 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
256 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
257 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
258 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
259 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
260 <hypo>Propagation=Propagation()</hypo>
261 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
262 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
266 <algorithm type="Python_1D"
270 <algo>Python_1D=Segment(algo=smeshBuilder.PYTHON)</algo>
271 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
275 <algorithm type ="@MEFISTO2D_NAME@"
276 label-id ="Triangle (Mefisto)"
277 icon-id ="mesh_algo_mefisto.png"
278 hypos ="LengthFromEdges,MaxElementArea"
279 opt-hypos ="ViscousLayers2D"
284 <algo>MEFISTO_2D=Triangle(algo=smeshBuilder.MEFISTO)</algo>
285 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
286 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
287 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2))</hypo>
291 <algorithm type ="Quadrangle_2D"
292 label-id ="Quadrangle (Mapping)"
293 icon-id ="mesh_algo_quad.png"
294 hypos ="QuadrangleParams"
295 opt-hypos="ViscousLayers2D"
300 <algo>Quadrangle_2D=Quadrangle(algo=smeshBuilder.QUADRANGLE)</algo>
301 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex())</hypo>
302 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
306 <algorithm type ="Hexa_3D"
307 label-id ="Hexahedron (i,j,k)"
308 icon-id ="mesh_algo_hexa.png"
312 opt-hypos="ViscousLayers"
315 <algo>Hexa_3D=Hexahedron(algo=smeshBuilder.Hexa)</algo>
316 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
320 <algorithm type ="Projection_1D"
321 label-id="Projection 1D"
322 icon-id ="mesh_algo_regular.png"
323 hypos ="ProjectionSource1D"
327 <algo>Projection_1D=Projection1D()</algo>
328 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
332 <algorithm type ="Projection_2D"
333 label-id="Projection 2D"
334 icon-id ="mesh_algo_quad.png"
336 hypos ="ProjectionSource2D"
340 <algo>Projection_2D=Projection2D()</algo>
341 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
345 <algorithm type ="Projection_1D2D"
346 label-id="Projection 1D-2D"
347 icon-id ="mesh_algo_quad.png"
348 hypos ="ProjectionSource2D"
352 <algo>Projection_1D2D=Projection1D2D()</algo>
353 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
357 <algorithm type ="Projection_3D"
358 label-id="Projection 3D"
359 icon-id ="mesh_algo_hexa.png"
360 hypos ="ProjectionSource3D"
364 <algo>Projection_3D=Projection3D()</algo>
365 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
369 <algorithm type ="Import_1D"
370 label-id="Use Existing 1D Elements"
371 icon-id ="mesh_algo_regular.png"
372 hypos ="ImportSource1D"
376 <algo>Import_1D=UseExisting1DElements()</algo>
377 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
381 <algorithm type ="Import_1D2D"
382 label-id ="Use Existing 2D Elements"
383 icon-id ="mesh_algo_quad.png"
384 hypos ="ImportSource2D"
386 support-submeshes="false"
389 <algo>Import_1D2D=UseExisting2DElements()</algo>
390 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
394 <algorithm type ="Prism_3D"
395 label-id="3D Extrusion"
396 icon-id ="mesh_algo_hexa.png"
398 output ="HEXA,PENTA,OCTA,POLYHEDRON"
401 <algo>Prism_3D=Prism()</algo>
405 <algorithm type ="RadialPrism_3D"
406 label-id="Radial Prism 3D"
407 icon-id ="mesh_algo_hexa.png"
408 hypos ="NumberOfLayers, LayerDistribution"
410 output ="HEXA,PENTA,OCTA,POLYHEDRON"
413 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
414 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
418 <algorithm type ="UseExisting_1D"
419 label-id="Use Existing Edges"
420 icon-id ="mesh_algo_regular.png"
425 <algo>UseExisting_1D=UseExistingSegments()</algo>
429 <algorithm type ="UseExisting_2D"
430 label-id="Use Existing Faces"
431 icon-id ="mesh_algo_quad.png"
436 <algo>UseExisting_2D=UseExistingFaces()</algo>
440 <algorithm type ="RadialQuadrangle_1D2D"
441 label-id="Radial Quadrangle 1D2D"
442 icon-id ="mesh_algo_quad.png"
443 hypos ="NumberOfLayers2D, LayerDistribution2D"
448 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshBuilder.RADIAL_QUAD)</algo>
449 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
453 <algorithm type ="Cartesian_3D"
454 label-id ="Body Fitting"
455 icon-id ="mesh_algo_hexa.png"
456 hypos ="CartesianParameters3D"
457 support-submeshes="false"
461 <algo>Cartesian_3D=BodyFitted()</algo>
468 <meshers-group name="Your Meshers Group"
488 <hypotheses-set-group>
490 <hypotheses-set name="Automatic Tetrahedralization"
492 algos="Regular_1D, @MEFISTO2D_NAME@, NETGEN_3D"/>
494 <hypotheses-set name="Automatic Hexahedralization"
495 hypos="NumberOfSegments"
496 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
498 <hypotheses-set name="Automatic Triangulation"
500 algos="Regular_1D, @MEFISTO2D_NAME@"/>
502 <hypotheses-set name="Automatic Quadrangulation"
503 hypos="NumberOfSegments"
504 algos="Regular_1D, Quadrangle_2D"/>
506 </hypotheses-set-group>