yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23546
[Question #691869]: how to change sphere color
New question #691869 on Yade:
https://answers.launchpad.net/yade/+question/691869
Dear all,
I am trying to change the color of spheres which radius is (0.05,0.075) to bule, but I'm failed. Please help me! The code is as following:
#
from yade import pack
O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=31))
sp=pack.SpherePack()
sp.makeCloud((0,0,0),(1,1,1),rMean=.05,rRelFuzz=.5)
sp.toSimulation()
#
Thanks
--
You received this question notification because your team yade-users is
an answer contact for Yade.