From: mzn Date: Wed, 19 Oct 2005 13:56:43 +0000 (+0000) Subject: Movement of examples to CVS EXAMPLES SAMPLES_SRC. X-Git-Tag: V3_1_0a3~17 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bec496ed12279c9e1ac949be2b0fe1e5fa0cd690;p=modules%2Fgeom.git Movement of examples to CVS EXAMPLES SAMPLES_SRC. --- diff --git a/src/GEOM_SWIG/GEOM_Nut.py b/src/GEOM_SWIG/GEOM_Nut.py index 46271b93f..c3d2db429 100755 --- a/src/GEOM_SWIG/GEOM_Nut.py +++ b/src/GEOM_SWIG/GEOM_Nut.py @@ -55,8 +55,8 @@ Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 ) geompy.addToStudy(Chamfer_2, "Chamfer_2") #Import of the shape from "slots.brep" -thePath = os.getenv("KERNEL_ROOT_DIR") -theFileName = thePath + "/examples/slots.brep" +thePath = os.getenv("DATA_DIR") +theFileName = thePath + "/Shapes/Brep/slots.brep" theShapeForCut = geompy.ImportBREP(theFileName) geompy.addToStudy(theShapeForCut, "slot.brep_1")