Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b8d761
)
-theFileName = thePath + "/Shapes/Brep/slots.brep"
author
eap
<eap@opencascade.com>
Fri, 13 Aug 2010 12:56:44 +0000
(12:56 +0000)
committer
eap
<eap@opencascade.com>
Fri, 13 Aug 2010 12:56:44 +0000
(12:56 +0000)
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
src/SMESH_SWIG/SMESH_Nut.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/SMESH_Nut.py
b/src/SMESH_SWIG/SMESH_Nut.py
index 801e554f15e0acdf535f9501bb95a1ca3fc05c83..62b6af8b940558b5c73f8cf38a9cf3c226f59092 100755
(executable)
--- a/
src/SMESH_SWIG/SMESH_Nut.py
+++ b/
src/SMESH_SWIG/SMESH_Nut.py
@@
-87,7
+87,7
@@
geompy.addToStudy(Chamfer_2, "Chamfer_2")
#Import of the shape from "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"
+theFileName =
os.path.join( thePath,"Shapes","Brep","slots.brep")
theShapeForCut = geompy.ImportBREP(theFileName)
geompy.addToStudy(theShapeForCut, "slot.brep_1")