]> SALOME platform Git repositories - plugins/blsurfplugin.git/blob - resources/BLSURFPlugin.xml
Salome HOME
Add Developer's documentation
[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-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 BLSURF Plugin  -->
25
26 <meshers>
27
28 <meshers-group name="BLSURF"
29                resources="BLSURFPlugin"
30                idl-module="BLSURFPlugin"
31                server-lib="BLSURFEngine"
32                gui-lib="BLSURFPluginGUI">
33   <hypotheses>
34
35     <hypothesis type="MG-CADSurf Parameters"
36                 label-id="MG-CADSurf Parameters"
37                 icon-id="mesh_hypo_BLSURF.png"
38                 dim="2">
39       <python-wrap>
40         <accumulative-methods>
41           SetOptionValue,
42           SetPreCADOptionValue,
43           UnsetOption,
44           UnsetPreCADOption,
45           AddOption,
46           AddPreCADOption,
47           SetSizeMap,
48           SetConstantSizeMap,
49           UnsetSizeMap,
50           SetAttractor,
51           UnsetAttractor,
52           SetAttractorGeom,
53           UnsetAttractorGeom,
54           SetEnforcedVertex,
55           SetEnforcedVertexNamed,
56           SetEnforcedVertexGeom,
57           SetEnforcedVertexWithGroup,
58           SetEnforcedVertexNamedWithGroup,
59           SetEnforcedVertexGeomWithGroup,
60           UnsetEnforcedVertex,
61           UnsetEnforcedVertexGeom,
62           UnsetEnforcedVertices,
63           AddEnforcedVertex,
64           AddEnforcedVertexNamed,
65           AddEnforcedVertexGeom,
66           AddEnforcedVertexWithGroup,
67           AddEnforcedVertexNamedWithGroup,
68           AddEnforcedVertexGeomWithGroup,
69           RemoveEnforcedVertex,
70           RemoveEnforcedVertexGeom,
71           RemoveEnforcedVertices,
72           AddPreCadFacesPeriodicity
73         </accumulative-methods>
74       </python-wrap>
75     </hypothesis>
76
77     <hypothesis type="MG-CADSurf Parameters_NOGEOM"
78                 label-id="MG-CADSurf Parameters"
79                 icon-id="mesh_hypo_BLSURF.png"
80                 dim="2">
81       <python-wrap>
82         <accumulative-methods>
83           SetOptionValue,
84           SetPreCADOptionValue,
85           UnsetOption,
86           UnsetPreCADOption,
87           AddOption,
88           AddPreCADOption,
89           SetSizeMap,
90           SetConstantSizeMap,
91           UnsetSizeMap,
92           SetAttractor,
93           UnsetAttractor,
94           SetAttractorGeom,
95           UnsetAttractorGeom,
96           SetEnforcedVertex,
97           SetEnforcedVertexNamed,
98           SetEnforcedVertexGeom,
99           SetEnforcedVertexWithGroup,
100           SetEnforcedVertexNamedWithGroup,
101           SetEnforcedVertexGeomWithGroup,
102           UnsetEnforcedVertex,
103           UnsetEnforcedVertexGeom,
104           UnsetEnforcedVertices,
105           AddEnforcedVertex,
106           AddEnforcedVertexNamed,
107           AddEnforcedVertexGeom,
108           AddEnforcedVertexWithGroup,
109           AddEnforcedVertexNamedWithGroup,
110           AddEnforcedVertexGeomWithGroup,
111           RemoveEnforcedVertex,
112           RemoveEnforcedVertexGeom,
113           RemoveEnforcedVertices,
114           AddPreCadFacesPeriodicity
115         </accumulative-methods>
116       </python-wrap>
117     </hypothesis>
118
119   </hypotheses>
120   <algorithms>
121
122     <algorithm type="MG-CADSurf"
123                label-id="MG-CADSurf"
124                icon-id="mesh_algo_BLSURF.png"
125                group-id ="1"
126                priority ="30"
127                opt-hypos="MG-CADSurf Parameters,ViscousLayers2D"
128                output="TRIA,QUAD"
129                dim="2"
130                support-submeshes="true">
131       <python-wrap>
132         <algo>MG-CADSurf=Triangle(algo=smeshBuilder.MG_CADSurf)</algo>
133         <hypo>MG-CADSurf Parameters=Parameters()</hypo>
134         <hypo>ViscousLayers2D=ViscousLayers2D(SetTotalThickness(),SetNumberLayers(),SetStretchFactor(),SetIgnoreEdges())</hypo>
135       </python-wrap>
136     </algorithm>
137
138     <algorithm type="MG-CADSurf_NOGEOM"
139                label-id="MG-CADSurf"
140                icon-id="mesh_algo_BLSURF.png"
141                opt-hypos="MG-CADSurf Parameters_NOGEOM"
142                output="TRIA,QUAD"
143                need-geom="never"
144                dim="2">
145       <python-wrap>
146         <algo>MG-CADSurf_NOGEOM=Triangle(algo=smeshBuilder.MG_CADSurf)</algo>
147         <hypo>MG-CADSurf Parameters_NOGEOM=Parameters()</hypo>
148       </python-wrap>
149     </algorithm>
150
151   </algorithms>
152 </meshers-group>
153
154 </meshers>