# Mixer rotation

19 views

Hi!

I'm trying to make a mixer. My problem is that I can't get the axis of the mixer (imported from STL) rotating. Anyone any ideas what impose should I use and how?

My first attempt was like this:

mixerstl='/home/...stl' #not important in this question, I can see the 3D model in woo

mixnode=Node(dem=ClumpData(blocked='xyzXYZ'),ori=((0,0,1),0))
mixer.dem.impose=CircularOrbit(node=mixnode,rotate=True,omega=1)

It should rotationg around z axis.

Thanks,

D

answered Feb 6 by (290 points)
edited Feb 6

Solved! It was easier than I thought! :)

mixerstl='/home/...stl' #not important in this question, I can see the 3D model in woo

S.lab.mixnode.dem.angVel=(0,0,1)