← Back to team overview

yade-users team mailing list archive

[yade-users] Importing spheres from ASCII file

 

Hi all,

i tried to import spheres from an ascii file (generated by TrixialTest by
the way, X.spheres) with the python function ascii:

O.bodies.append(ymport.ascii('testImport.spheres',material=sphereMat))

but I get this message:

TypeError: No registered converter was able to produce a C++ rvalue of type
boost::shared_ptr<Body> from this Python object of type int

and the simulation does not launch.

Any advice?


Regards

  Luc

Follow ups