Salome HOME
Implementation of task "3.1. Ability to export the PartSet to GEOM"
[modules/shaper.git] / src / PythonAddons / addons_Features.py
index 50f82085613d827d7c11ab3f21fe9c2ed81fba0e..d28db61ab6a461154707c619d61ac6819bf3d976 100644 (file)
@@ -21,7 +21,6 @@
 """
 
 import ModelAPI
-from macros.box.feature       import BoxFeature
 from macros.rectangle.feature import SketchPlugin_Rectangle
 
 
@@ -42,10 +41,7 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
         """Override ModelAPI_Plugin.createFeature()"""
         aFeature = None
 
-        if theFeatureID == BoxFeature.ID():
-            aFeature = BoxFeature().__disown__()
-
-        elif theFeatureID == SketchPlugin_Rectangle.ID():
+        if theFeatureID == SketchPlugin_Rectangle.ID():
             aFeature = SketchPlugin_Rectangle().__disown__()
 
         else: