Sorry to dig out this message, but it is probably related to the following question:
Would it be possible to specify material properties (frictionAngle for example) using the export/ymport text? I mean, can a material properties such as frictionAngle be defined through an import (saying that the concerned text file contained the corresponding additional column)? Would the following code be suitable in the ymport.py file? ... elif (format=='x_y_z_r_frictionAngle'): ret.append(utils.sphere([shift[0]+scale*float(data[0]),shift[1]+scale*float(data[1]),shift[2]+scale*float(data[2])],scale*float(data[3]),mat.frictionAngle(data[4]),**kw)) ... Thanks for your advices Luc 2010/5/19 Anton Gladky <[email protected]> > Ok, good > ______________________________ > > Anton Gladkyy > > > 2010/5/19 Václav Šmilauer <[email protected]> > >> > Could you not have a look at that code? >> > What if I textExt() rename to text(), they are backward compatible. >> Keep them separate. Better to not have bugs in the simple one. Cheers, v >> >> >> > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

