yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01307
Parallelepiped instead of cube
Right, that works.
It seems, I have found the reason:
This is a pack.py
..
..
..
ii,jj,kk=[range(0,int(2*dim[0]/a)+1),range(0,int(dim[1]/h)+1),range(0,int(dim[2]/h)+1)]
for i,j,k in itertools.product(ii,jj,kk):
..
..
..
Why there is "2*"? When I delete it, everything works normally.
______________________________
[ENG] Best Regards
[GER] Mit freundlichen Grüßen
[RUS] С наилучшими пожеланиями
[UKR] З найкращими побажаннями
Anton Gladkyy
2009/6/17 Václav Šmilauer <eudoxos@xxxxxxxx>
> Seems OK here:
>
> In [4]: yade.pack.inSphere((2,0,0),1).aabb()
> Out[4]: ((1.0, -1.0, -1.0), (3.0, 1.0, 1.0))
>
> In [6]: yade.pack.inAlignedBox((0,0,0),(2,2,2)).aabb()
> Out[6]: ((0.0, 0.0, 0.0), (2.0, 2.0, 2.0))
>
> (PS you can post to yade-dev instead of yade-users for this kind of
> things, perhaps?)
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>
Follow ups