Back to index

salome-smesh  6.5.0
Namespaces | Variables
buildparticules.py File Reference

Go to the source code of this file.

Namespaces

namespace  buildparticules

Variables

 buildparticules.theStudy = salome.myStudy
string buildparticules.filename = "/home/gboulant/development/projets/salome/SPADDER/spadder/resources/padderexe/REF_spheres.dat.xyz"
tuple buildparticules.file = open(filename,'rb')
tuple buildparticules.datalines = csv.reader(file, delimiter=' ')
int buildparticules.i = 0
tuple buildparticules.x = float(row[0])
tuple buildparticules.y = float(row[1])
tuple buildparticules.z = float(row[2])
tuple buildparticules.rayon = float(row[3])
tuple buildparticules.centre = geompy.MakeVertex(x, y, z)
tuple buildparticules.particule = geompy.MakeSpherePntR(centre, rayon)