Poly import core dumped
Hi there,
I am trying to import large number of polyhedra in my model by importing vertices of each poly.
Following script works until ~17k of polys is imported, then I receive Segmentation fault. Any thoughts?
Here is link for poly file, where vertex coordinates are written in each line; last point of each file line is polys centroid: https:/
model script:
from yade import polyhedra_utils
import ast
m = PolyhedraMat()
m.density = 2700
m.Ks = 10E8
m.Kn = 10E8
m.frictionAngle = radians(30)
file = open("Fragments")
for line in file:
vertex=[]
vertex.
t = polyhedra_
t.state.
O.bodies.
del vertex[:]
Thanks
Veljko
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask velimier for more information if necessary.