Question #672684 on Yade changed:
https://answers.launchpad.net/yade/+question/672684
Status: Answered => Open
j0hnn1e is still having a problem:
Hello Bruno,
Sorry for inconvenience. Please find attached the working script.
https://pastebin.com/nGwiWxAj
Query code in terminal:
yell=[]
for b in O.bodies:
if isinstance(b.shape,Sphere):
yell.append(b.shape.radius)
count=0
for j in range(len(yell)):
if yell[j]<2.36:
count=count+1
print (float(count)/len(yell))
*******************
Thanks
--
You received this question notification because your team yade-users 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