X-Git-Url: http://git.salome-platform.org/gitweb/?p=samples%2Fdatafiles.git;a=blobdiff_plain;f=Superv%2FPython%2FInLine_Nut.py;h=19246350e6a163a30cfe405926ab2027d168d98c;hp=8a4f681c7419b676d81fc108004c01d07cd2eb13;hb=0f7fdcf68bd30981816260817be4e48628b81f87;hpb=25a68d55a2ff9b96c112837252221daa44a5e3f9 diff --git a/Superv/Python/InLine_Nut.py b/Superv/Python/InLine_Nut.py index 8a4f681..1924635 100755 --- a/Superv/Python/InLine_Nut.py +++ b/Superv/Python/InLine_Nut.py @@ -46,8 +46,8 @@ def Geometry(y1=50, y2=90): Chamfer_2 = MakeChamferEdge(Chamfer_1, 10, 10, 21, 31 ) 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 = ImportBREP(theFileName) addToStudy(theShapeForCut, "slot.brep_1") #Cut applying