]> SALOME platform Git repositories - plugins/ghs3dplugin.git/blob - resources/GHS3DPlugin.xml
Salome HOME
1989d2087be54e9f0298dec71fa602436cf13e5c
[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-2016  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, or (at your option) any later version.
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                idl-module="GHS3DPlugin"
31                server-lib="GHS3DEngine"
32                gui-lib   ="GHS3DPluginGUI">
33   <hypotheses>
34     <hypothesis type    ="MG-Tetra Parameters"
35                 label-id="MG-Tetra Parameters"
36                 icon-id ="mesh_hypo_ghs3d.png"
37                 dim     ="3">
38       <python-wrap>
39         <accumulative-methods>
40           SetEnforcedVertex,
41           SetEnforcedVertexNamed,
42           SetEnforcedVertexWithGroup,
43           SetEnforcedVertexNamedWithGroup,
44           SetEnforcedVertexGeom,
45           SetEnforcedVertexGeomWithGroup,
46           RemoveEnforcedVertex,
47           RemoveEnforcedVertexGeom,
48           SetEnforcedMeshWithGroup,
49           SetEnforcedMeshSize,
50           SetEnforcedMeshSizeWithGroup
51         </accumulative-methods>
52       </python-wrap>
53     </hypothesis>
54
55     <hypothesis type    ="MG-Tetra Optimization Parameters"
56                 label-id="MG-Tetra Optimization Parameters"
57                 icon-id ="mesh_hypo_ghs3d.png"
58                 dim     ="3">
59     </hypothesis>
60
61   </hypotheses>
62
63   <algorithms>
64     <algorithm type     ="MG-Tetra"
65                label-id ="MG-Tetra"
66                icon-id  ="mesh_tree_hypo_ghs3d.png"
67                group-id ="1"
68                priority ="30"
69                input    ="TRIA,QUAD"
70                output   ="TETRA,PYRAMID"
71                need-geom="false"
72                opt-hypos="MG-Tetra Parameters,ViscousLayers"
73                dim      ="3">
74       <python-wrap>
75         <algo>MG-Tetra=Tetrahedron(algo=smeshBuilder.MG_Tetra)</algo>
76         <hypo>MG-Tetra Parameters=Parameters()</hypo>
77         <hypo>ViscousLayers=ViscousLayers(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetFaces(1),SetFaces(2),SetMethod())</hypo>
78       </python-wrap>
79     </algorithm>
80
81     <algorithm type     ="MG-Tetra Optimization"
82                label-id ="MG-Tetra Optimization"
83                icon-id  ="mesh_tree_hypo_ghs3d.png"
84                group-id ="2"
85                input    ="TETRA"
86                output   ="TETRA"
87                need-geom="never"
88                opt-hypos="MG-Tetra Optimization Parameters"
89                dim      ="3">
90       <python-wrap>
91         <algo>MG-Tetra Optimization=Tetrahedron(algo=smeshBuilder.MG_Tetra_Optimization)</algo>
92         <hypo>MG-Tetra Optimization Parameters=Parameters()</hypo>
93       </python-wrap>
94     </algorithm>
95
96   </algorithms>
97 </meshers-group>
98
99 </meshers>