← Back to team overview

yade-users team mailing list archive

Re: [Question #672673]: translation engine

 

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

    Status: Answered => Open

jacopo is still having a problem:
I change that part of code in:

model = O.bodies.append(ymport.stl(file='model-
aereo.stl',color=(0,1,0),wire= True))


but nothing is moving yet.

________________________________
Da: bounces@xxxxxxxxxxxxx <bounces@xxxxxxxxxxxxx> per conto di Chareyre <question672673@xxxxxxxxxxxxxxxxxxxxx>
Inviato: venerdì 24 agosto 2018 17:03:16
A: Jacopo Varriale
Oggetto: Re: [Question #672673]: translation engine

Your question #672673 on Yade changed:
https://answers.launchpad.net/yade/+question/672673

    Status: Open => Answered

Chareyre proposed the following answer:
Hi, not sure it is the only problem but it is not consistent to declare the
facets «dynamic / not fixed» if their motion will be imposed by an engine.
Bruno

Le ven. 24 août. 2018 16:46, jacopo <question672673@xxxxxxxxxxxxxxxxxxxxx>
a écrit :

> Question #672673 on Yade changed:
> https://answers.launchpad.net/yade/+question/672673
>
> jacopo gave more information on the question:
> hi just to give more information: i already tried using directly the stl
> file. I am not able to copy and paste it here ( i can read it with yade
> but i don't have program to "see" it. Gedit, notepad or word can't open
> it). However in this stl file the aircraft has the identical position of
> the facets i sent you before. My code in this case is:
>
> ########################################################
> from yade import pack, plot
> from yade import ymport,pack
>
>
> model =
> O.bodies.append(ymport.stl(file='model-aereo.stl',color=(0,1,0),wire= True,
> dynamic= True, fixed=False))
> sfera=O.bodies.append(sphere([0,40,20],3))
>
> O.engines=[
>    ForceResetter(),
>    InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
>    InteractionLoop(
>       [Ig2_Sphere_Sphere_L3Geom(),Ig2_Facet_Sphere_L3Geom()],
>       [Ip2_FrictMat_FrictMat_FrictPhys()],
>       [Law2_ScGeom_FrictPhys_CundallStrack()]
>    ),
>
>  TranslationEngine(translationAxis=(0,1,0),velocity=1,ids=model,label='trans'),
>  NewtonIntegrator(gravity=(0,0,-9.81)),
> ]
> ###########################################
> it doesn't give me any error but when the simulation starts the aircraft
> disappear.
> As before i can't see the sphere.
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>
>

--
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/672673/+confirm?answer_id=1

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/672673

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.