X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMESH_flight_skin.py;h=9bcb944a415064f27d6a5003868e8892de144966;hp=fa3b8ef1225eb86777db1ad18b63643b059543c2;hb=104ff7b2818ce4d0f8a38d840abd3e5c70190668;hpb=e4737e85f0da6d3f90fd08f6be1c2825195fe16f diff --git a/src/SMESH_SWIG/SMESH_flight_skin.py b/src/SMESH_SWIG/SMESH_flight_skin.py index fa3b8ef12..9bcb944a4 100644 --- a/src/SMESH_SWIG/SMESH_flight_skin.py +++ b/src/SMESH_SWIG/SMESH_flight_skin.py @@ -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