Salome HOME
Merge from BR_plugins_pbyacs 03/04/2013
[plugins/ghs3dplugin.git] / resources / GHS3DPlugin.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3 <!--
4   Copyright (C) 2004-2013  CEA/DEN, EDF R&D
5
6   This library is free software; you can redistribute it and/or
7   modify it under the terms of the GNU Lesser General Public
8   License as published by the Free Software Foundation; either
9   version 2.1 of the License.
10
11   This library is distributed in the hope that it will be useful,
12   but WITHOUT ANY WARRANTY; without even the implied warranty of
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14   Lesser General Public License for more details.
15
16   You should have received a copy of the GNU Lesser General Public
17   License along with this library; if not, write to the Free Software
18   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
20   See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21
22 -->
23
24 <!--  GUI customization for MESH component  -->
25
26 <meshers>
27
28 <meshers-group name="GHS3D"
29                resources="GHS3DPlugin"
30                server-lib="GHS3DEngine"
31                gui-lib="GHS3DPluginGUI">
32   <hypotheses>
33     <hypothesis type="GHS3D_Parameters"
34                 label-id="GHS3D Parameters"
35                 icon-id="mesh_hypo_ghs3d.png"
36                 dim="3">
37       <python-wrap>
38         <accumulative-methods>
39           SetEnforcedVertex,
40           SetEnforcedVertexNamed,
41           SetEnforcedVertexWithGroup,
42           SetEnforcedVertexNamedWithGroup,
43           SetEnforcedVertexGeom,
44           SetEnforcedVertexGeomWithGroup,
45           RemoveEnforcedVertex,
46           RemoveEnforcedVertexGeom,
47           SetEnforcedMeshWithGroup,
48           SetEnforcedMeshSize,
49           SetEnforcedMeshSizeWithGroup
50         </accumulative-methods>
51       </python-wrap>
52     </hypothesis>
53   </hypotheses>
54
55   <algorithms>
56     <algorithm type="GHS3D_3D"
57                label-id="Tetrahedron (GHS3D)"
58                icon-id="mesh_tree_hypo_ghs3d.png"
59                input="TRIA,QUAD"
60                need-geom="false"
61                opt-hypos="GHS3D_Parameters, ViscousLayers"
62                dim="3">
63       <python-wrap>
64         <algo>GHS3D_3D=Tetrahedron(algo=smeshBuilder.GHS3D)</algo>
65         <hypo>GHS3D_Parameters=Parameters()</hypo>
66         <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
67       </python-wrap>
68     </algorithm>
69
70   </algorithms>
71 </meshers-group>
72
73 </meshers>