mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-11-15 10:08:34 +05:00
-theFileName = thePath + "/Shapes/Brep/slots.brep"
+theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
This commit is contained in:
parent
9b8d761c97
commit
99da90c8d2
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user