← Back to team overview

yade-users team mailing list archive

Re: [Question #261685]: Function ExportSpheres

 

Question #261685 on Yade changed:
https://answers.launchpad.net/yade/+question/261685

    Status: Answered => Solved

Alex confirmed that the question is solved:
Hello,

Thank you for your example, it allowed me to find a solution.
I changed method using: export.textExt ()

export.textExt('../../tmp/data.txt',format='x_y_z_r_matId',attrs=('b.mat.label'))

resultat.txt
#format x_y_z_r_matId
0.040452	-0.624095	-0.583232	0.1	1
0.333673	-0.849889	-0.113725	0.1	1
-0.382878	0.13828	-0.819718		0.1	1
-0.0962031	-0.787703	-0.38273	0.1	1
0.26245	-0.638839	-0.619982		0.1	1
0.173884	-0.710586	-0.429939	0.1	1
0.00833333	-294.141	137.46		0.1	2
-342.899	339.512	690.185			0.1	2
-0.1	0.0876388	-31.3528		0.1	2
0.00833333	0.181458	-31.1759	0.1	2
342.915	339.512	690.185				0.1	2
0.116667	0.0876388	-31.3528	0.1	2
-0.256126	-0.666963	-0.347073	0.1	3
0.36668	-0.814118	0.121517		0.1	3
-108.708	-51.2151	-728.196	0.1	3
0.0887508	-0.416072	-0.757411	0.1	3
0.399858	-0.794111	-0.386862	0.1	3


Thank you for this help

Alex,

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.