← Back to team overview

yade-users team mailing list archive

[Question #701413]: How to rotate the box

 

New question #701413 on Yade:
https://answers.launchpad.net/yade/+question/701413

Hi,

Is there a command that rotates an object?

for example:

BOX = O.bodies.append(box((1,1,1),(1,1,1),...)

I want the 'BOX' to be rotated 45° around a line passing through its centroid and parallel to the z axis.

How can I implement this command?

Thanks.

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