1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
4 Copyright (C) 2007-2016 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"
50 <hypothesis type ="MaxLength"
52 icon-id ="mesh_hypo_length.png"
57 <hypothesis type ="Arithmetic1D"
58 label-id ="Arithmetic Progression"
59 icon-id ="mesh_hypo_length.png"
64 <hypothesis type ="GeometricProgression"
65 label-id ="Geometric Progression"
66 icon-id ="mesh_hypo_length.png"
71 <hypothesis type ="FixedPoints1D"
72 label-id ="Fixed Points"
73 icon-id ="mesh_hypo_length.png"
78 <hypothesis type ="StartEndLength"
79 label-id ="Start and End Length"
80 icon-id ="mesh_hypo_length.png"
85 <hypothesis type ="NumberOfSegments"
86 label-id ="Number of Segments"
87 icon-id ="mesh_hypo_segment.png"
92 <hypothesis type ="Deflection1D"
93 label-id ="Deflection"
94 icon-id ="mesh_hypo_length.png"
99 <hypothesis type ="Adaptive1D"
101 icon-id ="mesh_hypo_length.png"
106 <hypothesis type ="Propagation"
107 label-id ="Propagation of 1D Hyp. on Opposite Edges"
108 icon-id ="mesh_hypo_length.png"
113 <hypothesis type ="PropagOfDistribution"
114 label-id ="Propagation of Node Distribution on Opposite Edges"
115 icon-id ="mesh_hypo_length.png"
120 <hypothesis type ="AutomaticLength"
121 label-id ="Automatic Length"
122 icon-id ="mesh_hypo_length.png"
127 <hypothesis type ="LengthFromEdges"
128 label-id ="Length From Edges"
129 icon-id ="mesh_hypo_length.png"
132 <hypothesis type ="QuadranglePreference"
133 label-id ="Quadrangle Preference"
134 icon-id ="mesh_algo_quad.png"
138 <hypothesis type ="QuadraticMesh"
139 label-id ="Quadratic Mesh"
140 icon-id ="mesh_algo_quad.png"
145 <hypothesis type ="MaxElementArea"
146 label-id ="Max. Element Area"
147 icon-id ="mesh_hypo_area.png"
150 <hypothesis type ="NotConformAllowed"
151 label-id ="Not Conform Mesh Allowed"
152 icon-id ="mesh_hypo_length.png"
157 <hypothesis type ="MaxElementVolume"
158 label-id ="Max. Element Volume"
159 icon-id ="mesh_hypo_volume.png"
162 <hypothesis type ="ProjectionSource3D"
163 label-id ="Source Shape 3D"
164 icon-id ="mesh_hypo_volume.png"
167 <hypothesis type ="ProjectionSource2D"
168 label-id ="Source Face"
169 icon-id ="mesh_hypo_area.png"
172 <hypothesis type ="ProjectionSource1D"
173 label-id ="Source Edge"
174 icon-id ="mesh_hypo_length.png"
177 <hypothesis type ="ImportSource2D"
178 label-id ="Source Faces"
179 icon-id ="mesh_hypo_area.png"
182 <hypothesis type ="ImportSource1D"
183 label-id ="Source Edges"
184 icon-id ="mesh_hypo_length.png"
187 <hypothesis type ="NumberOfLayers"
188 label-id ="Number of Layers"
189 icon-id ="mesh_hypo_length.png"
192 <hypothesis type ="LayerDistribution"
193 label-id ="Distribution of Layers"
194 icon-id ="mesh_hypo_length.png"
197 <hypothesis type ="ViscousLayers2D"
198 label-id ="Viscous Layers 2D"
199 icon-id ="mesh_algo_quad.png"
203 <hypothesis type ="ViscousLayers"
204 label-id ="Viscous Layers"
205 icon-id ="mesh_algo_quad.png"
209 <hypothesis type ="NumberOfLayers2D"
210 label-id ="Number of Layers"
211 icon-id ="mesh_hypo_length.png"
214 <hypothesis type ="LayerDistribution2D"
215 label-id ="Distribution of Layers"
216 icon-id ="mesh_hypo_length.png"
219 <hypothesis type ="QuadrangleParams"
220 label-id ="Quadrangle Parameters"
221 icon-id ="mesh_hypo_length.png"
224 <hypothesis type ="CartesianParameters3D"
225 label-id ="Body Fitting Parameters"
226 icon-id ="mesh_hypo_length.png"
234 <algorithm type ="SegmentAroundVertex_0D"
235 label-id ="Segments around Vertex"
236 icon-id ="mesh_algo_regular.png"
237 hypos ="SegmentLengthAroundVertex"
242 <algorithm type ="Regular_1D"
243 label-id ="Wire Discretisation"
244 icon-id ="mesh_algo_regular.png"
247 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
248 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
254 <algo>Regular_1D=Segment()</algo>
255 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
256 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
257 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
258 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
259 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
260 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
261 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
262 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
263 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
264 <hypo>Propagation=Propagation()</hypo>
265 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
266 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
270 <algorithm type ="CompositeSegment_1D"
271 label-id ="Composite Side Discretisation"
272 icon-id ="mesh_algo_regular.png"
275 hypos ="Adaptive1D,LocalLength,MaxLength,Arithmetic1D,GeometricProgression,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
276 opt-hypos="Propagation,PropagOfDistribution,QuadraticMesh"
282 <algo>CompositeSegment_1D=Segment(algo=smeshBuilder.COMPOSITE)</algo>
283 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
284 <hypo>MaxLength=MaxSize(SetLength())</hypo>
285 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
286 <hypo>GeometricProgression=GeometricProgression(SetStartLength(),SetCommonRatio(),SetReversedEdges())</hypo>
287 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
288 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
289 <hypo>Adaptive1D=Adaptive(SetMinSize(),SetMaxSize(),SetDeflection())</hypo>
290 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
291 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
292 <hypo>Propagation=Propagation()</hypo>
293 <hypo>PropagOfDistribution=PropagationOfDistribution()</hypo>
294 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
298 <algorithm type="Python_1D"
302 <algo>Python_1D=Segment(algo=smeshBuilder.PYTHON)</algo>
303 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
307 <algorithm type ="@MEFISTO2D_NAME@"
308 label-id ="Triangle: Mefisto"
309 icon-id ="mesh_algo_mefisto.png"
312 hypos ="LengthFromEdges,MaxElementArea"
313 opt-hypos ="ViscousLayers2D"
318 <algo>MEFISTO_2D=Triangle(algo=smeshBuilder.MEFISTO)</algo>
319 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
320 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
321 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2))</hypo>
325 <algorithm type ="Quadrangle_2D"
326 label-id ="Quadrangle: Mapping"
327 icon-id ="mesh_algo_quad.png"
330 hypos ="QuadrangleParams"
331 opt-hypos="ViscousLayers2D"
336 <algo>Quadrangle_2D=Quadrangle(algo=smeshBuilder.QUADRANGLE)</algo>
337 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex(),SetEnforcedNodes(1),SetEnforcedNodes(2))</hypo>
338 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
342 <algorithm type ="QuadFromMedialAxis_1D2D"
343 label-id ="Quadrangle: Medial Axis Projection"
344 icon-id ="mesh_algo_quad.png"
347 hypos ="NumberOfLayers2D, LayerDistribution2D"
348 opt-hypos="ViscousLayers2D"
353 <algo>QuadFromMedialAxis_1D2D=Quadrangle(algo=smeshBuilder.QUAD_MA_PROJ)</algo>
354 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
355 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
359 <algorithm type ="PolygonPerFace_2D"
360 label-id ="Polygon per Face"
361 icon-id ="mesh_algo_polygon.png"
364 opt-hypos="ViscousLayers2D"
366 output ="POLYGON,QUAD,TRIA"
369 <algo>PolygonPerFace_2D=Polygon()</algo>
370 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
374 <algorithm type ="Hexa_3D"
375 label-id ="Hexahedron (i,j,k)"
376 icon-id ="mesh_algo_hexa.png"
382 opt-hypos="ViscousLayers"
385 <algo>Hexa_3D=Hexahedron(algo=smeshBuilder.Hexa)</algo>
386 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
390 <algorithm type ="Projection_1D"
391 label-id="Projection 1D"
392 icon-id ="mesh_algo_regular.png"
395 hypos ="ProjectionSource1D"
400 <algo>Projection_1D=Projection1D()</algo>
401 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
405 <algorithm type ="Projection_2D"
406 label-id="Projection 2D"
407 icon-id ="mesh_algo_quad.png"
411 hypos ="ProjectionSource2D"
416 <algo>Projection_2D=Projection2D()</algo>
417 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
421 <algorithm type ="Projection_1D2D"
422 label-id="Projection 1D-2D"
423 icon-id ="mesh_algo_quad.png"
426 hypos ="ProjectionSource2D"
431 <algo>Projection_1D2D=Projection1D2D()</algo>
432 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
436 <algorithm type ="Projection_3D"
437 label-id="Projection 3D"
438 icon-id ="mesh_algo_hexa.png"
441 hypos ="ProjectionSource3D"
446 <algo>Projection_3D=Projection3D()</algo>
447 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
451 <algorithm type ="Import_1D"
452 label-id="Import 1D Elements from Another Mesh"
453 icon-id ="mesh_algo_regular.png"
456 hypos ="ImportSource1D"
461 <algo>Import_1D=UseExisting1DElements()</algo>
462 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
466 <algorithm type ="Import_1D2D"
467 label-id ="Import 1D-2D Elements from Another Mesh"
468 icon-id ="mesh_algo_quad.png"
471 hypos ="ImportSource2D"
473 support-submeshes="false"
477 <algo>Import_1D2D=UseExisting2DElements()</algo>
478 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
482 <algorithm type ="Prism_3D"
483 label-id="Extrusion 3D"
484 icon-id ="mesh_algo_hexa.png"
488 output ="HEXA,PENTA,OCTA,POLYHEDRON"
491 <algo>Prism_3D=Prism()</algo>
495 <algorithm type ="RadialPrism_3D"
496 label-id="Radial Prism"
497 icon-id ="mesh_algo_hexa.png"
500 hypos ="NumberOfLayers, LayerDistribution"
502 output ="HEXA,PENTA,OCTA,POLYHEDRON"
506 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
507 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
511 <algorithm type ="UseExisting_1D"
512 label-id="Use Edges to be Created Manually"
513 icon-id ="mesh_algo_regular.png"
520 <algo>UseExisting_1D=UseExistingSegments()</algo>
524 <algorithm type ="UseExisting_2D"
525 label-id="Use Faces to be Created Manually"
526 icon-id ="mesh_algo_quad.png"
533 <algo>UseExisting_2D=UseExistingFaces()</algo>
537 <algorithm type ="RadialQuadrangle_1D2D"
538 label-id="Radial Quadrangle 1D-2D"
539 icon-id ="mesh_algo_quad.png"
542 hypos ="NumberOfLayers2D, LayerDistribution2D"
547 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshBuilder.RADIAL_QUAD)</algo>
548 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
552 <algorithm type ="Cartesian_3D"
553 label-id ="Body Fitting"
554 icon-id ="mesh_algo_hexa.png"
557 hypos ="CartesianParameters3D"
558 support-submeshes="false"
564 <algo>Cartesian_3D=BodyFitted()</algo>
571 <meshers-group name="Your Meshers Group"
591 <hypotheses-set-group>
593 <hypotheses-set name="Automatic Tetrahedralization"
595 algos="Regular_1D, @MEFISTO2D_NAME@, NETGEN_3D"/>
597 <hypotheses-set name="Automatic Hexahedralization"
598 hypos="NumberOfSegments"
599 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
601 <hypotheses-set name="Automatic Triangulation"
603 algos="Regular_1D, @MEFISTO2D_NAME@"/>
605 <hypotheses-set name="Automatic Quadrangulation"
606 hypos="NumberOfSegments"
607 algos="Regular_1D, Quadrangle_2D"/>
609 </hypotheses-set-group>