yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #20977
Re: [Question #685055]: can we set a mask for a particular particle
Question #685055 on Yade changed:
https://answers.launchpad.net/yade/+question/685055
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
1) mask=1 is the default value (so setting it to 1 would have no effect)
2) in the MWE, ball_list1 is empty..
3) have a look at source code [1]. A sphere is exported if: (mask<0) or ((mask & b.mask) > 0)
cheers
Jan
[1] https://gitlab.com/yade-dev/trunk/blob/master/py/export.py#L55
--
You received this question notification because your team yade-users is
an answer contact for Yade.