Salome HOME
Fix bug 12796: Warning missed for the bad file 'test18.med'
[modules/smesh.git] / src / SMESH_SWIG / SMESH_flight_skin.py
index fa3b8ef1225eb86777db1ad18b63643b059543c2..9bcb944a415064f27d6a5003868e8892de144966 100644 (file)
@@ -1,3 +1,22 @@
+#  Copyright (C) 2005  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+#  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+#
+#  This library is free software; you can redistribute it and/or
+#  modify it under the terms of the GNU Lesser General Public
+#  License as published by the Free Software Foundation; either
+#  version 2.1 of the License.
+#
+#  This library is distributed in the hope that it will be useful,
+#  but WITHOUT ANY WARRANTY; without even the implied warranty of
+#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+#  Lesser General Public License for more details.
+#
+#  You should have received a copy of the GNU Lesser General Public
+#  License along with this library; if not, write to the Free Software
+#  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 #
 # Triangulation of the skin of the geometry from a Brep representing a plane
 # This geometry is from EADS
@@ -21,8 +40,8 @@ smeshgui.Init(salome.myStudyId)
 #before running this script, please be sure about
 #the path the file fileName
 
-filePath = os.environ["SMESH_ROOT_DIR"]
-filePath = filePath + "/share/salome/resources/"
+filePath = os.environ["DATA_DIR"]
+filePath = filePath + "/Shapes/Brep/"
 
 filename = "flight_solid.brep"
 filename = filePath + filename