← Back to team overview

yade-users team mailing list archive

[Question #678879]: 'No spheres are produced by regularHexa-function'

 

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

Hi there,

I am using Ubuntu 18.04.2  LTS and yade version 2018.02b.
Started yade for 1 week now. 

I was simply trying the example code below along with the 
'horse.coarse.gts' .

these are my commands:
In [1]: import gts
   ...: surf=gts.read(open('horse.coarse.gts'))
   ...: 

In [2]: pred=pack.inGtsSurface(surf)
   ...: aabb=pred.aabb()
   ...: radius=(aabb[1][0]-aabb[0][0])/40
   ...: O.bodies.append(pack.regularHexa(pred,radius=radius,gap=radius/4.))

[and this came as output]
/usr/lib/x86_64-linux-gnu/yade/py/yade/pack.py:359: RuntimeWarning: No spheres are produced by regularHexa-function
  warnings.warn('No spheres are produced by regularHexa-function',category=RuntimeWarning)


I have no sphere inside the Scene.
What I am doing wrong, you think?

The same problem I have experienced for example of 'horse.py' or 'get.horse.py' also. 
There was simply nothing/ no spheres inside the scene.

Any advice would be appreciated.

Best 

Mamun



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