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

    Status: Open => Answered

Jan Stránský proposed the following answer:
b.mat has to be Material instance
###
m = FrictMat(...)
O.materials.append(m)
b.mat = m
###

have a look at utils.sphere function [1,2] how other parameters (mass,
inertia,position,...) are set

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/py/utils.py#L210
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/py/utils.py#L121

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

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to