Salome HOME
Merge from BR_plugins_pbyacs 03/04/2013
[plugins/blsurfplugin.git] / resources / BLSURFPlugin.xml
1 <?xml version='1.0' encoding='us-ascii'?>
2 <!DOCTYPE meshers PUBLIC "" "desktop.dtd">
3 <!--
4   Copyright (C) 2007-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 BLSURF Plugin  -->
25
26 <meshers>
27
28 <meshers-group name="BLSURF"
29                resources="BLSURFPlugin"
30                server-lib="BLSURFEngine"
31                gui-lib="BLSURFPluginGUI">
32   <hypotheses>
33     <hypothesis type="BLSURF_Parameters"
34                 label-id="BLSURF Parameters"
35                 icon-id="mesh_hypo_BLSURF.png"
36                 dim="2">
37       <python-wrap>
38         <accumulative-methods>
39           SetOptionValue,
40           SetPreCADOptionValue,
41           UnsetOption,
42           UnsetPreCADOption,
43           SetSizeMap,
44           SetConstantSizeMap,
45           UnsetSizeMap,
46           SetAttractor,
47           UnsetAttractor,
48           SetAttractorGeom,
49           UnsetAttractorGeom,
50           SetEnforcedVertex,
51           SetEnforcedVertexNamed,
52           SetEnforcedVertexGeom,
53           SetEnforcedVertexWithGroup,
54           SetEnforcedVertexNamedWithGroup,
55           SetEnforcedVertexGeomWithGroup,
56           UnsetEnforcedVertex,
57           UnsetEnforcedVertexGeom,
58           UnsetEnforcedVertices
59         </accumulative-methods>
60       </python-wrap>
61     </hypothesis>
62
63   </hypotheses>
64   <algorithms>
65
66     <algorithm type="BLSURF"
67                label-id="BLSURF"
68                icon-id="mesh_algo_BLSURF.png"
69                opt-hypos="BLSURF_Parameters,ViscousLayers2D"
70                output="TRIA,QUAD"
71                dim="2"
72                support-submeshes="true">
73       <python-wrap>
74         <algo>BLSURF=Triangle(algo=smeshBuilder.BLSURF)</algo>
75         <hypo>BLSURF_Parameters=Parameters()</hypo>
76         <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
77       </python-wrap>
78     </algorithm>
79
80   </algorithms>
81 </meshers-group>
82
83 </meshers>