Salome HOME
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH...
authoreap <eap@opencascade.com>
Wed, 7 Mar 2012 15:25:08 +0000 (15:25 +0000)
committereap <eap@opencascade.com>
Wed, 7 Mar 2012 15:25:08 +0000 (15:25 +0000)
Describe methods wrapping algorithms and hypotheses into python

resources/BLSURFPlugin.xml

index e69c3bf4e3a5764f6c598c8506b8754dcb82a6f5..8729833cf4066cb6289b82697f99716d4f5c0737 100644 (file)
                dim="2"/>
   </hypotheses>
   <algorithms>
+
     <algorithm type="BLSURF"
                label-id="BLSURF"
                icon-id="mesh_algo_BLSURF.png"
                opt-hypos="BLSURF_Parameters"
                output="TRIA,QUAD"
                dim="2"
-              support-submeshes="true"/>
+              support-submeshes="true">
+      <python-wrap>
+        <algo>BLSURF=Triangle(algo=smesh.BLSURF)</algo>
+        <hypo>BLSURF_Parameters=Parameters()</hypo>
+      </python-wrap>
+    </algorithm>
+
   </algorithms>
 </meshers-group>