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 ="Propagation"
79 label-id ="Propagation of 1D Hyp. on Opposite Edges"
80 icon-id ="mesh_hypo_length.png"
84 <hypothesis type ="AutomaticLength"
85 label-id ="Automatic Length"
86 icon-id ="mesh_hypo_length.png"
89 <hypothesis type ="LengthFromEdges"
90 label-id ="Length From Edges"
91 icon-id ="mesh_hypo_length.png"
94 <hypothesis type ="QuadranglePreference"
95 label-id ="Quadrangle Preference"
96 icon-id ="mesh_algo_quad.png"
100 <hypothesis type ="QuadraticMesh"
101 label-id ="Quadratic Mesh"
102 icon-id ="mesh_algo_quad.png"
106 <hypothesis type ="MaxElementArea"
107 label-id ="Max. Element Area"
108 icon-id ="mesh_hypo_area.png"
111 <hypothesis type ="NotConformAllowed"
112 label-id ="Not Conform Mesh Allowed"
113 icon-id ="mesh_hypo_length.png"
117 <hypothesis type ="MaxElementVolume"
118 label-id ="Max. Element Volume"
119 icon-id ="mesh_hypo_volume.png"
122 <hypothesis type ="ProjectionSource3D"
123 label-id ="Source Shape 3D"
124 icon-id ="mesh_hypo_volume.png"
127 <hypothesis type ="ProjectionSource2D"
128 label-id ="Source Face"
129 icon-id ="mesh_hypo_area.png"
132 <hypothesis type ="ProjectionSource1D"
133 label-id ="Source Edge"
134 icon-id ="mesh_hypo_length.png"
137 <hypothesis type ="ImportSource2D"
138 label-id ="Source Faces"
139 icon-id ="mesh_hypo_area.png"
142 <hypothesis type ="ImportSource1D"
143 label-id ="Source Edges"
144 icon-id ="mesh_hypo_length.png"
147 <hypothesis type ="NumberOfLayers"
148 label-id ="Number of Layers"
149 icon-id ="mesh_hypo_length.png"
152 <hypothesis type ="LayerDistribution"
153 label-id ="Distribution of Layers"
154 icon-id ="mesh_hypo_length.png"
157 <hypothesis type ="ViscousLayers2D"
158 label-id ="Viscous Layers 2D"
159 icon-id ="mesh_algo_quad.png"
163 <hypothesis type ="ViscousLayers"
164 label-id ="Viscous Layers"
165 icon-id ="mesh_algo_quad.png"
169 <hypothesis type ="NumberOfLayers2D"
170 label-id ="Number of Layers"
171 icon-id ="mesh_hypo_length.png"
174 <hypothesis type ="LayerDistribution2D"
175 label-id ="Distribution of Layers"
176 icon-id ="mesh_hypo_length.png"
179 <hypothesis type ="QuadrangleParams"
180 label-id ="Quadrangle Parameters"
181 icon-id ="mesh_hypo_length.png"
184 <hypothesis type ="CartesianParameters3D"
185 label-id ="Body Fitting Parameters"
186 icon-id ="mesh_hypo_length.png"
193 <algorithm type ="SegmentAroundVertex_0D"
194 label-id ="Segments around Vertex"
195 icon-id ="mesh_algo_regular.png"
196 hypos ="SegmentLengthAroundVertex"
200 <algorithm type ="Regular_1D"
201 label-id ="Wire Discretisation"
202 icon-id ="mesh_algo_regular.png"
203 hypos ="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
204 opt-hypos="Propagation,QuadraticMesh"
209 <algo>Regular_1D=Segment()</algo>
210 <hypo>LocalLength=LocalLength(SetLength(1),,SetPrecision(1))</hypo>
211 <hypo>MaxLength=MaxSize(SetLength(1))</hypo>
212 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
213 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
214 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
215 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
216 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
217 <hypo>Propagation=Propagation()</hypo>
218 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
222 <algorithm type ="CompositeSegment_1D"
223 label-id ="Composite Side Discretisation"
224 icon-id ="mesh_algo_regular.png"
225 hypos ="LocalLength,MaxLength,Arithmetic1D,StartEndLength,NumberOfSegments,Deflection1D,AutomaticLength,FixedPoints1D"
226 opt-hypos="Propagation,QuadraticMesh"
231 <algo>CompositeSegment_1D=Segment(algo=smeshBuilder.COMPOSITE)</algo>
232 <hypo>LocalLength=LocalLength(SetLength(), ,SetPrecision())</hypo>
233 <hypo>MaxLength=MaxSize(SetLength())</hypo>
234 <hypo>Arithmetic1D=Arithmetic1D(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
235 <hypo>StartEndLength=StartEndLength(SetStartLength(),SetEndLength(),SetReversedEdges())</hypo>
236 <hypo>Deflection1D=Deflection1D(SetDeflection())</hypo>
237 <hypo>AutomaticLength=AutomaticLength(SetFineness())</hypo>
238 <hypo>FixedPoints1D=FixedPoints1D(SetPoints(),SetNbSegments(),SetReversedEdges())</hypo>
239 <hypo>Propagation=Propagation()</hypo>
240 <hypo>QuadraticMesh=QuadraticMesh()</hypo>
244 <algorithm type="Python_1D"
248 <algo>Python_1D=Segment(algo=smeshBuilder.PYTHON)</algo>
249 <hypo>PythonSplit1D=PythonSplit1D(SetNumberOfSegments(),SetPythonLog10RatioFunction())</hypo>
253 <algorithm type ="MEFISTO_2D"
254 label-id ="Triangle (Mefisto)"
255 icon-id ="mesh_algo_mefisto.png"
256 hypos ="LengthFromEdges,MaxElementArea"
257 opt-hypos ="ViscousLayers2D"
262 <algo>MEFISTO_2D=Triangle(algo=smeshBuilder.MEFISTO)</algo>
263 <hypo>LengthFromEdges=LengthFromEdges()</hypo>
264 <hypo>MaxElementArea=MaxElementArea(SetMaxElementArea())</hypo>
265 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetEdges(1),SetEdges(2))</hypo>
269 <algorithm type ="Quadrangle_2D"
270 label-id ="Quadrangle (Mapping)"
271 icon-id ="mesh_algo_quad.png"
272 hypos ="QuadrangleParams"
273 opt-hypos="ViscousLayers2D"
278 <algo>Quadrangle_2D=Quadrangle(algo=smeshBuilder.QUADRANGLE)</algo>
279 <hypo>QuadrangleParams=QuadrangleParameters(SetQuadType(),SetTriaVertex())</hypo>
280 <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
284 <algorithm type ="Hexa_3D"
285 label-id ="Hexahedron (i,j,k)"
286 icon-id ="mesh_algo_hexa.png"
289 opt-hypos="ViscousLayers"
292 <algo>Hexa_3D=Hexahedron(algo=smeshBuilder.Hexa)</algo>
293 <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
297 <algorithm type ="Projection_1D"
298 label-id="Projection 1D"
299 icon-id ="mesh_algo_regular.png"
300 hypos ="ProjectionSource1D"
304 <algo>Projection_1D=Projection1D()</algo>
305 <hypo>ProjectionSource1D=SourceEdge(SetSourceEdge(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2))</hypo>
309 <algorithm type ="Projection_2D"
310 label-id="Projection 2D"
311 icon-id ="mesh_algo_quad.png"
313 hypos ="ProjectionSource2D"
317 <algo>Projection_2D=Projection2D()</algo>
318 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
322 <algorithm type ="Projection_1D2D"
323 label-id="Projection 1D-2D"
324 icon-id ="mesh_algo_quad.png"
325 hypos ="ProjectionSource2D"
329 <algo>Projection_1D2D=Projection1D2D()</algo>
330 <hypo>ProjectionSource2D=SourceFace(SetSourceFace(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(2),SetVertexAssociation(3),SetVertexAssociation(4))</hypo>
334 <algorithm type ="Projection_3D"
335 label-id="Projection 3D"
336 icon-id ="mesh_algo_hexa.png"
337 hypos ="ProjectionSource3D"
341 <algo>Projection_3D=Projection3D()</algo>
342 <hypo>ProjectionSource3D=SourceShape3D(SetSource3DShape(),SetSourceMesh(),SetVertexAssociation(1),SetVertexAssociation(3),SetVertexAssociation(2),SetVertexAssociation(4))</hypo>
346 <algorithm type ="Import_1D"
347 label-id="Use Existing 1D Elements"
348 icon-id ="mesh_algo_regular.png"
349 hypos ="ImportSource1D"
353 <algo>Import_1D=UseExisting1DElements()</algo>
354 <hypo>ImportSource1D=SourceEdges(SetSourceEdges(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
358 <algorithm type ="Import_1D2D"
359 label-id ="Use Existing 2D Elements"
360 icon-id ="mesh_algo_quad.png"
361 hypos ="ImportSource2D"
363 support-submeshes="false"
366 <algo>Import_1D2D=UseExisting2DElements()</algo>
367 <hypo>ImportSource2D=SourceFaces(SetSourceFaces(),SetCopySourceMesh(1),SetCopySourceMesh(2))</hypo>
371 <algorithm type ="Prism_3D"
372 label-id="3D Extrusion"
373 icon-id ="mesh_algo_hexa.png"
377 <algo>Prism_3D=Prism()</algo>
381 <algorithm type ="RadialPrism_3D"
382 label-id="Radial Prism 3D"
383 icon-id ="mesh_algo_hexa.png"
384 hypos ="NumberOfLayers, LayerDistribution"
388 <algo>RadialPrism_3D=Prism('RadialPrism_3D')</algo>
389 <hypo>NumberOfLayers=NumberOfLayers(SetNumberOfLayers())</hypo>
393 <algorithm type ="UseExisting_1D"
394 label-id="Use Existing Edges"
395 icon-id ="mesh_algo_regular.png"
400 <algo>UseExisting_1D=UseExistingSegments()</algo>
404 <algorithm type ="UseExisting_2D"
405 label-id="Use Existing Faces"
406 icon-id ="mesh_algo_quad.png"
411 <algo>UseExisting_2D=UseExistingFaces()</algo>
415 <algorithm type ="RadialQuadrangle_1D2D"
416 label-id="Radial Quadrangle 1D2D"
417 icon-id ="mesh_algo_quad.png"
418 hypos ="NumberOfLayers2D, LayerDistribution2D"
423 <algo>RadialQuadrangle_1D2D=Quadrangle(algo=smeshBuilder.RADIAL_QUAD)</algo>
424 <hypo>NumberOfLayers2D=NumberOfLayers(SetNumberOfLayers())</hypo>
428 <algorithm type ="Cartesian_3D"
429 label-id ="Body Fitting"
430 icon-id ="mesh_algo_hexa.png"
431 hypos ="CartesianParameters3D"
432 support-submeshes="false"
435 <algo>Cartesian_3D=BodyFitted()</algo>
442 <meshers-group name="Your Meshers Group"
462 <hypotheses-set-group>
464 <hypotheses-set name="Automatic Tetrahedralization"
466 algos="Regular_1D, MEFISTO_2D, NETGEN_3D"/>
468 <hypotheses-set name="Automatic Hexahedralization"
469 hypos="NumberOfSegments"
470 algos="Regular_1D, Quadrangle_2D, Hexa_3D"/>
472 <hypotheses-set name="Automatic Triangulation"
474 algos="Regular_1D, MEFISTO_2D"/>
476 <hypotheses-set name="Automatic Quadrangulation"
477 hypos="NumberOfSegments"
478 algos="Regular_1D, Quadrangle_2D"/>
480 </hypotheses-set-group>