1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
4 Copyright (C) 2007-2015 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, or (at your option) any later version.
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"
95 <hypothesis type ="PropagOfDistribution"
96 label-id ="Propagation of Node Distribution on Opposite Edges"
97 icon-id ="mesh_hypo_length.png"
102 <hypothesis type ="AutomaticLength"
103 label-id ="Automatic Length"
104 icon-id ="mesh_hypo_length.png"
107 <hypothesis type ="LengthFromEdges"
108 label-id ="Length From Edges"
109 icon-id ="mesh_hypo_length.png"
112 <hypothesis type ="QuadranglePreference"
113 label-id ="Quadrangle Preference"
114 icon-id ="mesh_algo_quad.png"
118 <hypothesis type ="QuadraticMesh"
119 label-id ="Quadratic Mesh"
120 icon-id ="mesh_algo_quad.png"
125 <hypothesis type ="MaxElementArea"
126 label-id ="Max. Element Area"
127 icon-id ="mesh_hypo_area.png"
130 <hypothesis type ="NotConformAllowed"
131 label-id ="Not Conform Mesh Allowed"
132 icon-id ="mesh_hypo_length.png"
137 <hypothesis type ="MaxElementVolume"
138 label-id ="Max. Element Volume"
139 icon-id ="mesh_hypo_volume.png"
142 <hypothesis type ="ProjectionSource3D"
143 label-id ="Source Shape 3D"
144 icon-id ="mesh_hypo_volume.png"
147 <hypothesis type ="ProjectionSource2D"
148 label-id ="Source Face"
149 icon-id ="mesh_hypo_area.png"
152 <hypothesis type ="ProjectionSource1D"
153 label-id ="Source Edge"
154 icon-id ="mesh_hypo_length.png"
157 <hypothesis type ="ImportSource2D"
158 label-id ="Source Faces"
159 icon-id ="mesh_hypo_area.png"
162 <hypothesis type ="ImportSource1D"
163 label-id ="Source Edges"
164 icon-id ="mesh_hypo_length.png"
167 <hypothesis type ="NumberOfLayers"
168 label-id ="Number of Layers"
169 icon-id ="mesh_hypo_length.png"
172 <hypothesis type ="LayerDistribution"
173 label-id ="Distribution of Layers"
174 icon-id ="mesh_hypo_length.png"
177 <hypothesis type ="ViscousLayers2D"
178 label-id ="Viscous Layers 2D"
179 icon-id ="mesh_algo_quad.png"
183 <hypothesis type ="ViscousLayers"
184 label-id ="Viscous Layers"
185 icon-id ="mesh_algo_quad.png"
189 <hypothesis type ="NumberOfLayers2D"
190 label-id ="Number of Layers"
191 icon-id ="mesh_hypo_length.png"
194 <hypothesis type ="LayerDistribution2D"
195 label-id ="Distribution of Layers"
196 icon-id ="mesh_hypo_length.png"
199 <hypothesis type ="QuadrangleParams"
200 label-id ="Quadrangle Parameters"
201 icon-id ="mesh_hypo_length.png"
204 <hypothesis type ="CartesianParameters3D"
205 label-id ="Body Fitting Parameters"
206 icon-id ="mesh_hypo_length.png"
214 <algorithm type ="SegmentAroundVertex_0D"
215 label-id ="Segments around Vertex"
216 icon-id ="mesh_algo_regular.png"
217 hypos ="SegmentLengthAroundVertex"
222 <algorithm type ="Regular_1D"
223 label-id ="Wire Discretisation"
224 icon-id ="mesh_algo_regular.png"
225 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
226 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
232 <algo>Regular_1D=Segment()</algo>
233 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
234 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
235 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
236 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
237 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
238 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
239 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
240 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
241 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
242 <hypo>Propagation=Propagation()</hypo>
243 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
244 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
248 <algorithm type ="CompositeSegment_1D"
249 label-id ="Composite Side Discretisation"
250 icon-id ="mesh_algo_regular.png"
251 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
252 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
258 <algo>CompositeSegment_1D=Segment(algo=smeshBuilder.COMPOSITE)</algo>
259 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
260 <hypo>MaxLength=MaxSize(SetLength())</hypo>
261 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
262 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
263 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
264 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
265 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
266 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
267 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
268 <hypo>Propagation=Propagation()</hypo>
269 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
270 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
274 <algorithm type="Python_1D"
278 <algo>Python_1D=Segment(algo=smeshBuilder.PYTHON)</algo>
279 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
283 <algorithm type ="@MEFISTO2D_NAME@"
284 label-id ="Triangle (Mefisto)"
285 icon-id ="mesh_algo_mefisto.png"
286 hypos ="LengthFromEdges,MaxElementArea"
287 opt-hypos ="ViscousLayers2D"
292 <algo>MEFISTO_2D=Triangle(algo=smeshBuilder.MEFISTO)</algo>
293 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
294 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
295 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2))</hypo>
299 <algorithm type ="Quadrangle_2D"
300 label-id ="Quadrangle (Mapping)"
301 icon-id ="mesh_algo_quad.png"
302 hypos ="QuadrangleParams"
303 opt-hypos="ViscousLayers2D"
308 <algo>Quadrangle_2D=Quadrangle(algo=smeshBuilder.QUADRANGLE)</algo>
309 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex(),SetEnforcedNodes(1),SetEnforcedNodes(2))</hypo>
310 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
314 <algorithm type ="QuadFromMedialAxis_1D2D"
315 label-id ="Quadrangle (Medial Axis Projection)"
316 icon-id ="mesh_algo_quad.png"
317 opt-hypos="ViscousLayers2D"
322 <algo>QuadFromMedialAxis_1D2D=Quadrangle(algo=smeshBuilder.QUAD_MA_PROJ)</algo>
323 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
327 <algorithm type ="Hexa_3D"
328 label-id ="Hexahedron (i,j,k)"
329 icon-id ="mesh_algo_hexa.png"
333 opt-hypos="ViscousLayers"
336 <algo>Hexa_3D=Hexahedron(algo=smeshBuilder.Hexa)</algo>
337 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
341 <algorithm type ="Projection_1D"
342 label-id="Projection 1D"
343 icon-id ="mesh_algo_regular.png"
344 hypos ="ProjectionSource1D"
349 <algo>Projection_1D=Projection1D()</algo>
350 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
354 <algorithm type ="Projection_2D"
355 label-id="Projection 2D"
356 icon-id ="mesh_algo_quad.png"
358 hypos ="ProjectionSource2D"
363 <algo>Projection_2D=Projection2D()</algo>
364 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
368 <algorithm type ="Projection_1D2D"
369 label-id="Projection 1D-2D"
370 icon-id ="mesh_algo_quad.png"
371 hypos ="ProjectionSource2D"
376 <algo>Projection_1D2D=Projection1D2D()</algo>
377 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
381 <algorithm type ="Projection_3D"
382 label-id="Projection 3D"
383 icon-id ="mesh_algo_hexa.png"
384 hypos ="ProjectionSource3D"
389 <algo>Projection_3D=Projection3D()</algo>
390 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
394 <algorithm type ="Import_1D"
395 label-id="Import 1D Elements from Another Mesh"
396 icon-id ="mesh_algo_regular.png"
397 hypos ="ImportSource1D"
402 <algo>Import_1D=UseExisting1DElements()</algo>
403 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
407 <algorithm type ="Import_1D2D"
408 label-id ="Import 1D-2D Elements from Another Mesh"
409 icon-id ="mesh_algo_quad.png"
410 hypos ="ImportSource2D"
412 support-submeshes="false"
416 <algo>Import_1D2D=UseExisting2DElements()</algo>
417 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
421 <algorithm type ="Prism_3D"
422 label-id="3D Extrusion"
423 icon-id ="mesh_algo_hexa.png"
425 output ="HEXA,PENTA,OCTA,POLYHEDRON"
428 <algo>Prism_3D=Prism()</algo>
432 <algorithm type ="RadialPrism_3D"
433 label-id="Radial Prism 3D"
434 icon-id ="mesh_algo_hexa.png"
435 hypos ="NumberOfLayers, LayerDistribution"
437 output ="HEXA,PENTA,OCTA,POLYHEDRON"
441 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
442 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
446 <algorithm type ="UseExisting_1D"
447 label-id="Use Edges to be Created Manually"
448 icon-id ="mesh_algo_regular.png"
453 <algo>UseExisting_1D=UseExistingSegments()</algo>
457 <algorithm type ="UseExisting_2D"
458 label-id="Use Faces to be Created Manually"
459 icon-id ="mesh_algo_quad.png"
464 <algo>UseExisting_2D=UseExistingFaces()</algo>
468 <algorithm type ="RadialQuadrangle_1D2D"
469 label-id="Radial Quadrangle 1D2D"
470 icon-id ="mesh_algo_quad.png"
471 hypos ="NumberOfLayers2D, LayerDistribution2D"
476 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshBuilder.RADIAL_QUAD)</algo>
477 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
481 <algorithm type ="Cartesian_3D"
482 label-id ="Body Fitting"
483 icon-id ="mesh_algo_hexa.png"
484 hypos ="CartesianParameters3D"
485 support-submeshes="false"
491 <algo>Cartesian_3D=BodyFitted()</algo>
498 <meshers-group name="Your Meshers Group"
518 <hypotheses-set-group>
520 <hypotheses-set name="Automatic Tetrahedralization"
522 algos="Regular_1D, @MEFISTO2D_NAME@, NETGEN_3D"/>
524 <hypotheses-set name="Automatic Hexahedralization"
525 hypos="NumberOfSegments"
526 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
528 <hypotheses-set name="Automatic Triangulation"
530 algos="Regular_1D, @MEFISTO2D_NAME@"/>
532 <hypotheses-set name="Automatic Quadrangulation"
533 hypos="NumberOfSegments"
534 algos="Regular_1D, Quadrangle_2D"/>
536 </hypotheses-set-group>