← Back to team overview

yade-users team mailing list archive

Re: [Question #671373]: rotate a GTS surface

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
As suggested by the TypeError above, the problem is RotationEngine.ids
should be a list of integers = bodies ids (see the doc [*]), not some
GTS surface object, which is what s2 is.

You have to pass a correct list of ids, not s2, to this attribute.


On a general note, I think people would maybe spend more time giving answers if you spend more time preparing your questions ;-)

E.g. even though the [0,0,0] vs (0,0,0) may have no consequence here,
not posting what you tried, or vice-versa, still is typically a very
good way wasting everyone's time on this forum.

[*] https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.RotationEngine.ids

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