]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Movement of examples to CVS EXAMPLES SAMPLES_SRC.
authormzn <mzn@opencascade.com>
Wed, 19 Oct 2005 13:56:43 +0000 (13:56 +0000)
committermzn <mzn@opencascade.com>
Wed, 19 Oct 2005 13:56:43 +0000 (13:56 +0000)
src/GEOM_SWIG/GEOM_Nut.py

index 46271b93fe813e815f0a9c819506a1d34097dfbf..c3d2db429edb2423932b4f082c2ed5782346ccd5 100755 (executable)
@@ -55,8 +55,8 @@ Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 )
 geompy.addToStudy(Chamfer_2, "Chamfer_2")\r
 \r
 #Import of the shape from "slots.brep"\r
-thePath = os.getenv("KERNEL_ROOT_DIR")\r
-theFileName = thePath + "/examples/slots.brep"\r
+thePath = os.getenv("DATA_DIR")\r
+theFileName = thePath + "/Shapes/Brep/slots.brep"\r
 theShapeForCut = geompy.ImportBREP(theFileName)\r
 geompy.addToStudy(theShapeForCut, "slot.brep_1")\r
 \r