yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #17301
Re: [Question #668727]: How to give each clump a new material and a new color?
Question #668727 on Yade changed:
https://answers.launchpad.net/yade/+question/668727
Status: Open => Answered
Klaus Thoeni proposed the following answer:
Hi,
this should be easy as replaceByClumps actually returns a list:
clumpList = O.bodies.replaceByClumps(templates,[.5,.3,.1])
You can use the list (variable "clumpList" above) to modify the
properties.
HTH
Klaus
--
You received this question notification because your team yade-users is
an answer contact for Yade.