Salome HOME
2c1ece48de2e871d2c43e380a404fbcd2b46ed73
[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-2012  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   </hypotheses>
38   <algorithms>
39     <algorithm type="GHS3D_3D"
40                label-id="Tetrahedron (GHS3D)"
41                icon-id="mesh_tree_hypo_ghs3d.png"
42                input="TRIA,QUAD"
43                need-geom="false"
44                opt-hypos="GHS3D_Parameters, ViscousLayers"
45                dim="3">
46       <python-wrap>
47         <algo>GHS3D_3D=Tetrahedron(algo=smesh.GHS3D)</algo>
48         <hypo>GHS3D_Parameters=Parameters()</hypo>
49         <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreFaces())</hypo>
50       </python-wrap>
51     </algorithm>
52
53   </algorithms>
54 </meshers-group>
55
56 </meshers>