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

Christian Jakob posted a new comment:
Hi,

1.) You do not need SpherePack() command in your simulation, because you
already have your packing in sphere.txt file.

sp=pack.SpherePack()
O.bodies.append(ymport.text('sphere.txt'))
sp.toSimulation(material=spheremat)

2.) You did not set material for your spheres. Try

for b in O.bodies:
 if isinstance(b.shape,Sphere):
   b.material = spheremat

Hope it helps.

Wet regards from rainy Freiberg,

Christian

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to