← 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: Answered => Open

jacopo is still having a problem:
Ok sorry for The mistake i made.
Then, isn 't possibile move a gts surface? Becouse i have a nastran file ( that i converted in stl And Also gts) , But with both conversion i m not able To let IT move. In trunk examples i didn t find anything helpfull with this goal. How can i do?
________________________________
Da: bounces@xxxxxxxxxxxxx <bounces@xxxxxxxxxxxxx> per conto di Jérôme Duriez <question671373@xxxxxxxxxxxxxxxxxxxxx>
Inviato: lunedì 6 agosto 2018 16:02:39
A: Jacopo Varriale
Oggetto: Re: [Question #671373]: rotate a GTS surface

Your 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

--
If this answers your question, please go to the following page to let us
know that it is solved:
https://answers.launchpad.net/yade/+question/671373/+confirm?answer_id=3

If you still need help, you can reply to this email or go to the
following page to enter your feedback:
https://answers.launchpad.net/yade/+question/671373

You received this question notification because you asked the question.

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