]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAddons/addons_Features.py
Salome HOME
move rectangle plugin from python addons to C++.
[modules/shaper.git] / src / PythonAddons / addons_Features.py
index 4c302a0128c37cad3fd1c5a70690cb04561c4a1c..207dd78c4e0faf71cbb0ec191b937cb3dde2b2aa 100644 (file)
@@ -21,7 +21,7 @@
 """
 
 import ModelAPI
-from macros.rectangle.feature import SketchPlugin_Rectangle
+#from macros.rectangle.feature import SketchPlugin_Rectangle
 from macros.compoundVertices.feature import compoundVertices
 from macros.importParameters.feature import importParameters
 
@@ -43,9 +43,10 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
         """Override ModelAPI_Plugin.createFeature()"""
         aFeature = None
 
-        if theFeatureID == SketchPlugin_Rectangle.ID():
-            aFeature = SketchPlugin_Rectangle().__disown__()
-        elif theFeatureID == compoundVertices.ID():
+        #if theFeatureID == SketchPlugin_Rectangle.ID():
+         #   aFeature = SketchPlugin_Rectangle().__disown__()
+        #el
+        if theFeatureID == compoundVertices.ID():
             aFeature = compoundVertices().__disown__()
         elif theFeatureID == importParameters.ID():
             aFeature = importParameters().__disown__()