X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG%2FSMESH_Nut.py;h=a4f5017cfb8ca08ce3eb728e7206a6c2cb0d113d;hp=2a208b9a70f400f3ae0767a041f286e379ef9210;hb=5fec7e4eb742072b134c5631c80bd3cbadc92681;hpb=e4be7441d248ff060938edc0384d08767805b9c3 diff --git a/src/SMESH_SWIG/SMESH_Nut.py b/src/SMESH_SWIG/SMESH_Nut.py index 2a208b9a7..a4f5017cf 100755 --- a/src/SMESH_SWIG/SMESH_Nut.py +++ b/src/SMESH_SWIG/SMESH_Nut.py @@ -63,9 +63,9 @@ Chamfer_2 = geompy.MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 ) geompy.addToStudy(Chamfer_2, "Chamfer_2") #Import of the shape from "slots.brep" -print "Import multi-rotation from the KERNEL_ROOT_DIR/examples/slots.brep" -thePath = os.getenv("KERNEL_ROOT_DIR") -theFileName = thePath + "/examples/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" theShapeForCut = geompy.ImportBREP(theFileName) geompy.addToStudy(theShapeForCut, "slot.brep_1")