← Back to team overview

yade-users team mailing list archive

Re: [Question #657677]: How to export and import a irregular shape particles model.

 

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

Kun Zeng posted a new comment:
Hi Jan,

Thanks for your suggestion. However, when I add a code like this:

# gravel
polyhedra_utils.fillBox((0,0,0),(width,thick,fillBoxHFactor*height),mat,sizemin=3*[sizeMin],sizemax=3*[sizeMax],seed=1)

O.run(10000,True)

yade.export.textPolyhedra('try2.txt', comment='try2', mask=-1,
explanationComment=True, attrs=[])

after I run this code, there only seems in a loading situation just as
everytime I run a model which need take sometime to show the yade
interface. And continue in that situatio. Then terminal shows :

ERROR
/home/kun/femdem/yade/source/pkg/common/InsertionSortCollider.cpp:240
action: verletDist is set to 0 because no spheres were found. It will
result in suboptimal performances, consider setting a positive
verletDist in your script.

What's wrong with my code here? Thanks

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