← Back to team overview

yade-users team mailing list archive

Re: [Question #403663]: Modeling 2 materilas by CPM model

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Seti,

you should have one instance for each material, i.e.

mat1 = ....
concreteId1 = O.materials.append(mat1) # not another CpmMat...

otherwise the matches does not work (mathes are based on mat.id, you can
try to print O.materials[1].id and mat2.id)
​
cheers
Jan

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.