6 from salome.geom import geomBuilder
7 geompy = geomBuilder.New(salome.myStudy)
9 # Example of import from ACIS
11 # get a path to SAMPLES_SRC
13 thePath = os.getenv("DATA_DIR")
15 theFileName = thePath + "/Shapes/Sat/Bug841_Robot01_ACIS_15_Volumique.sat"
18 Shape1 = geompy.ImportACIS(theFileName)
19 geompy.addToStudy(Shape1, "Robot01_1")
21 # It is possible also to use next format of importing and publishing in study
23 Shape2 = geompy.ImportACIS(theFileName,"Robot01_2")