]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
-theFileName = thePath + "/Shapes/Brep/slots.brep"
authoreap <eap@opencascade.com>
Fri, 13 Aug 2010 12:56:44 +0000 (12:56 +0000)
committereap <eap@opencascade.com>
Fri, 13 Aug 2010 12:56:44 +0000 (12:56 +0000)
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")

src/SMESH_SWIG/SMESH_Nut.py

index 801e554f15e0acdf535f9501bb95a1ca3fc05c83..62b6af8b940558b5c73f8cf38a9cf3c226f59092 100755 (executable)
@@ -87,7 +87,7 @@ geompy.addToStudy(Chamfer_2, "Chamfer_2")
 #Import of the shape from "slots.brep"
 print "Import multi-rotation from the DATA_DIR/Shapes/Brep/slots.brep"
 thePath = os.getenv("DATA_DIR")
-theFileName = thePath + "/Shapes/Brep/slots.brep"
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
 theShapeForCut = geompy.ImportBREP(theFileName)
 geompy.addToStudy(theShapeForCut, "slot.brep_1")