From a63ab6b7e1af1751679a721fa13d0f9d1efa10ab Mon Sep 17 00:00:00 2001 From: nge Date: Wed, 27 Jan 2010 11:08:25 +0000 Subject: [PATCH] import salome missing on some scripts --- src/SMESH_SWIG/SMESH_AdvancedEditor.py | 1 + src/SMESH_SWIG/SMESH_BuildCompound.py | 1 + src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py | 1 + 3 files changed, 3 insertions(+) diff --git a/src/SMESH_SWIG/SMESH_AdvancedEditor.py b/src/SMESH_SWIG/SMESH_AdvancedEditor.py index 561f1dc52..3eeae8e74 100644 --- a/src/SMESH_SWIG/SMESH_AdvancedEditor.py +++ b/src/SMESH_SWIG/SMESH_AdvancedEditor.py @@ -20,6 +20,7 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +import salome import smesh import math diff --git a/src/SMESH_SWIG/SMESH_BuildCompound.py b/src/SMESH_SWIG/SMESH_BuildCompound.py index 0f92cda70..2ef1446fc 100644 --- a/src/SMESH_SWIG/SMESH_BuildCompound.py +++ b/src/SMESH_SWIG/SMESH_BuildCompound.py @@ -29,6 +29,7 @@ # ! as some sequences of symbols from this example are used during # ! documentation generation to identify certain places of this file # +import salome import geompy import smesh diff --git a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py index 63a04efa6..6cd724bce 100644 --- a/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py +++ b/src/SMESH_SWIG/SMESH_GroupLyingOnGeom.py @@ -20,6 +20,7 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +import salome import smesh smesh.SetCurrentStudy(salome.myStudy) -- 2.39.2