face material
Hello all
I am trying to simulate a landslide. I will generate spheres and materials between the balls, but I do not know how to generate materials between spheres and face.The last line of code error, I don't know how to write.Please help me.
This is the code
#######
from yade import pack
import gts, os.path, locale
#------
O.materials.append( CohFrictMat( young=1E8,
O.materials.append( FrictMat( young=9E8,
#------
surf=gts.
surf1=gts.
if surf.is_closed():
pred=pack.
aabb=pred.aabb()
dim0=aabb[
O.bodies.
for b in O.bodies:
b.shape.color = (0,191/255.,1)
O.bodies.
#######
File "/usr/bin/yade", line 336, in runScript
execfile(
File "/usr/lib/
exec_(code, myglobals, mylocals)
File "MLS.py", line 24, in <module>
O.bodies.
Boost.Python.
BodyContain
did not match C++ signature:
append(
append(
Looking forward to your answers
Appreciate
Wang
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: