mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-04-25 03:22:04 +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"
|
#Import of the shape from "slots.brep"
|
||||||
print "Import multi-rotation from the DATA_DIR/Shapes/Brep/slots.brep"
|
print "Import multi-rotation from the DATA_DIR/Shapes/Brep/slots.brep"
|
||||||
thePath = os.getenv("DATA_DIR")
|
thePath = os.getenv("DATA_DIR")
|
||||||
theFileName = thePath + "/Shapes/Brep/slots.brep"
|
theFileName = os.path.join( thePath,"Shapes","Brep","slots.brep")
|
||||||
theShapeForCut = geompy.ImportBREP(theFileName)
|
theShapeForCut = geompy.ImportBREP(theFileName)
|
||||||
geompy.addToStudy(theShapeForCut, "slot.brep_1")
|
geompy.addToStudy(theShapeForCut, "slot.brep_1")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user