yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #18309
[Question #675691]: problem with shape of polyhedra
New question #675691 on Yade:
https://answers.launchpad.net/yade/+question/675691
Hi
I use this code to import po
lyheadra in Yade. however , I need to know how can I import triangle_polyhedra in yade ??
The script is:
from yade import polyhedra_utils,pack
import random
polyMat = PolyhedraMat(density=3000,young=1e10,poisson=.5,frictionAngle=atan(0.8))
O.materials.append(polyMat)
t=polyhedra_utils.polyhedra(polyMat,(.6,.6,.6),v=[])
t.state.pos = (0.5,0.5,4)
O.bodies.append(t)
--
You received this question notification because your team yade-users is
an answer contact for Yade.