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

    Status: Solved => Open

Ehsan Izadi is still having a problem:
Thanks all for the comments.
Now I am working on detecting the accumulative rotations of the spheres. 
I've defined such function like:
def colorScaling():
        for b in O.bodies:
                b.shape.color=scalarOnColorScale(b.state.rot().norm(), [min 
rotation], [max rotation])

But it does not seem to reflect the accumulative rotations.
Does anyone know how to change the code to get the accumulative rotations of 
the spheres?
I know that the algorithm  should be something like defining an array that 
rotations in every time step to be stored in that. and after each time step the 
magnitude of rotations should be again set to zero, ... or I am wrong!?

-- 
You received this question notification because you are a member of
yade-users, which 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