From bec496ed12279c9e1ac949be2b0fe1e5fa0cd690 Mon Sep 17 00:00:00 2001 From: mzn Date: Wed, 19 Oct 2005 13:56:43 +0000 Subject: [PATCH] Movement of examples to CVS EXAMPLES SAMPLES_SRC. --- src/GEOM_SWIG/GEOM_Nut.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") -- 2.39.2