]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
23352: [CEA] Order and naming of meshing algorithms
authoreap <eap@opencascade.com>
Mon, 3 Oct 2016 15:00:03 +0000 (18:00 +0300)
committereap <eap@opencascade.com>
Mon, 3 Oct 2016 15:00:03 +0000 (18:00 +0300)
resources/HYBRIDPlugin.xml
src/HYBRIDPlugin/HYBRIDPluginBuilder.py

index 7a642e9e95f6b7e0e099ce76401b25e1688b6503..2da42e36fbd9f95dcdb72390423af9e7260ad47a 100644 (file)
 
 <meshers>
 
-<meshers-group name="HYBRID"
-               resources="HYBRIDPlugin"
+<meshers-group name      ="HYBRID"
+               resources ="HYBRIDPlugin"
                idl-module="HYBRIDPlugin"
                server-lib="HYBRIDEngine"
-               gui-lib="HYBRIDPluginGUI">
+               gui-lib   ="HYBRIDPluginGUI">
   <hypotheses>
-    <hypothesis type="HYBRID_Parameters"
-               label-id="HYBRID Parameters"
-               icon-id="mesh_hypo_hybrid.png"
-               dim="3">
+    <hypothesis type    ="HYBRID_Parameters"
+               label-id="MG-Hybrid Parameters"
+               icon-id ="mesh_hypo_hybrid.png"
+               dim     ="3">
       <python-wrap>
         <accumulative-methods>
           SetEnforcedVertex,
   </hypotheses>
 
   <algorithms>
-    <algorithm type="HYBRID_3D"
-               label-id="Tetrahedron etc... (HYBRID)"
-               icon-id="mesh_tree_hypo_hybrid.png"
-               input="TRIA,QUAD"
+    <algorithm type     ="HYBRID_3D"
+               label-id ="MG-Hybrid"
+               icon-id  ="mesh_tree_hypo_hybrid.png"
+               group-id ="2"
+               priority ="40"
+               input    ="TRIA,QUAD"
               need-geom="false"
                opt-hypos="HYBRID_Parameters"
-               dim="3">
+               dim      ="3">
       <python-wrap>
         <algo>HYBRID_3D=Tetrahedron(algo=smeshBuilder.HYBRID)</algo>
         <hypo>HYBRID_Parameters=Parameters()</hypo>
index 1d859f5815c44981df84515bcd5fab76d37a6fcd..7a66586f954447ee2a519391daef8eb8c5c81505 100644 (file)
@@ -53,9 +53,10 @@ Generation_Tetra_Dominant, Generation_Hexa_Dominant = 0,1
 #----------------------------
 
 ## Algorithm type: HYBRID tetra-hexahedron 3D algorithm, see HYBRID_Algorithm
-HYBRID = "HYBRID_3D"
+MG_Hybrid = "HYBRID_3D"
+HYBRID = MG_Hybrid
 
-## Tetrahedron HYBRID 3D algorithm
+## MG-Hybrid 3D algorithm
 #  
 #  It can be created by calling smeshBuilder.Mesh.Tetrahedron( smeshBuilder.HYBRID, geom=0 )
 class HYBRID_Algorithm(Mesh_Algorithm):
@@ -65,7 +66,7 @@ class HYBRID_Algorithm(Mesh_Algorithm):
     meshMethod = "Tetrahedron"
     ## type of algorithm used with helper function in smeshBuilder.Mesh class
     #  @internal
-    algoType   = HYBRID
+    algoType   = MG_Hybrid
     ## doc string of the method in smeshBuilder.Mesh class
     #  @internal
     docHelper  = "Creates tetrahedron 3D algorithm for volumes"