yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04452
Re: ymport.text adding a new field 'material'
If I have several materials in one simulation, I have 2 opportunities to
export particles and then import them again:
1) export particles with different materials in different files;
2) add one more column in existing ymport.text, and in this case, I will
have just 1 file;
I would think, that it can be useful foe somebody else.
If not - no problem.
______________________________
Anton Gladkyy
2010/5/18 Václav Šmilauer <eudoxos@xxxxxxxx>
> > What do you think, if I add the 5-th optional field in ymport.text()
> > function for materialId?
> > x y z r matId
> >
> > I need it.
>
> I think it already works, **kw is passed to utils.sphere. No need to
> change anything.
>
> Besides, if you don't specify material, the last material will be used.
>
> Cheers, Vaclav
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups
References