← Back to team overview

yade-users team mailing list archive

Re: [yade-users] Importing spheres from ASCII file

 

Done!

2009/12/11 Anton Gladky <gladky.anton@xxxxxxxxx>

> Could you not open a bug there https://bugs.launchpad.net/yade
> and attach script and list of spheres?
> ______________________________
>
>
> Anton Gladkyy
>
>
> 2009/12/11 luc scholtes <lscholtes63@xxxxxxxxx>
>
>> 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
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References