]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/extension/box.py
Salome HOME
[PythonAPI] Rename 'modeler' into 'model'
[modules/shaper.git] / src / PythonAPI / extension / box.py
index 957da5412f570e9299d0dcdc12cb3e50e098d720..e0e866c20b7cb5f632c1086bc72a36351b21e4e1 100644 (file)
@@ -3,15 +3,15 @@ Author: Daniel Brunier-Coulin
 Copyright (C) 2014-20xx CEA/DEN, EDF R&D
 """
 
-import modeler
+import model
 from macros.box.feature import BoxFeature as MY
 
 
-class Box(modeler.Interface):
+class Box(model.Interface):
   """Executes the macro-feature Box.
   """
   def __init__(self, part, dx, dy, dz):
-    modeler.Interface.__init__(self, part, MY.ID())
+    model.Interface.__init__(self, part, MY.ID())
 
     self.setRealInput( MY.WIDTH_ID(), dx )
     self.setRealInput( MY.LENGTH_ID(), dy )