← Back to team overview

yade-dev team mailing list archive

[Bug 498089] Re: Cannot modify material properties to some identified elements

 

That's a feature, material properties are shared. You have just 2
materials defined.

If you want to separate those, you will have to pass new Material
instance to each particle. If you use randomDensePack, for instance
(which has no direct interface for this, but it could be added somehow),
you will have to traverse create bodies and assign to each of them a new
RpmMat instance.

** Changed in: yade
       Status: New => Invalid

-- 
Cannot modify material properties to some identified elements
https://bugs.launchpad.net/bugs/498089
You received this bug notification because you are a member of Yade
developers, which is subscribed to Yade.

Status in Yet Another Dynamic Engine: Invalid

Bug description:
ubuntu Karmic
yade 1899

All the elements are concerned when I try to change some material properties of some of them. Quite strange because I do not have the problem when it is about their color. I attached the python script as an example.





References