← Back to team overview

yade-dev team mailing list archive

Re: [yade dev] About blocked rotation

 

Precisely because it is
a bitmask, you have to set bits that correspond to RX, RY, RZ if you
need to block just those, i.e. (8 & 16 & 32), which is binary 0b111000
(in python) and that is decimal 56.
Luc, sorry, as you probably noticed I screwed up, it should be bitwise disjunction as operator, i.e. 8 | 16 | 32 and so on.

v




References