← Back to team overview

yade-users team mailing list archive

[Question #670121]: I want to create a wall in the shape of a trapeze but I do not know how to make it in YADE

 

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

Hello everyone, I have at the moment advanced with this script:

#Script to random pack)
from yade import qt
import random
from yade import pack
qt.View()

pred=pack.inAlignedBox((0,0,0),(2.62,6,2.8))
spheres=pack.randomDensePack(pred,spheresInCell=2000,radius=.2,rRelFuzz=.5) #
O.bodies.append(spheres)

But I do not know how to make the first part flat, to make it a trapeze. of 2.62 meters of major base, 1.62 of smaller base, 2.8m of height and 6m of width.

Thank you for your contributions.

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