6 theStudy = salome.myStudy
7 geompy.init_geom(theStudy)
9 filename="/home/gboulant/development/projets/salome/SPADDER/spadder/resources/padderexe/REF_spheres.dat.xyz"
10 file=open(filename,'rb')
13 datalines = csv.reader(file, delimiter=' ')
19 rayon=float(row[3])/2.
21 centre = geompy.MakeVertex(x, y, z)
22 particule = geompy.MakeSpherePntR(centre, rayon)
23 geompy.addToStudy( particule, 'p'+str(i) )