Back to index

salome-smesh  6.5.0
Variables
buildparticules Namespace Reference

Variables

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

Variable Documentation

tuple buildparticules.centre = geompy.MakeVertex(x, y, z)

Definition at line 39 of file buildparticules.py.

tuple buildparticules.datalines = csv.reader(file, delimiter=' ')

Definition at line 31 of file buildparticules.py.

tuple buildparticules.file = open(filename,'rb')

Definition at line 28 of file buildparticules.py.

string buildparticules.filename = "/home/gboulant/development/projets/salome/SPADDER/spadder/resources/padderexe/REF_spheres.dat.xyz"

Definition at line 27 of file buildparticules.py.

Definition at line 32 of file buildparticules.py.

tuple buildparticules.particule = geompy.MakeSpherePntR(centre, rayon)

Definition at line 40 of file buildparticules.py.

tuple buildparticules.rayon = float(row[3])

Definition at line 37 of file buildparticules.py.

buildparticules.theStudy = salome.myStudy

Definition at line 24 of file buildparticules.py.

tuple buildparticules.x = float(row[0])

Definition at line 34 of file buildparticules.py.

tuple buildparticules.y = float(row[1])

Definition at line 35 of file buildparticules.py.

tuple buildparticules.z = float(row[2])

Definition at line 36 of file buildparticules.py.