Question #670255 on Yade changed: https://answers.launchpad.net/yade/+question/670255
Shivpreet sharma gave more information on the question: And this is my code which I have used till now for further reference: from yade import pack import gts, os.path, locale from yade import qt surf=gts.read(open('s.gts')) idTissue=O.materials.append(FrictMat(young=500.0,poisson=.35,frictionAngle=.6,label="concrete")) pred=pack.inGtsSurface(surf) aabb=pred.aabb() dim0=aabb[1][0]-aabb[0][0]; # brain radius dim0 = dim0/2.0 # small radius=dim0/20. # get some characteristic dimension, use it for radius O.bodies.append(pack.regularHexa(pred, radius=radius, gap=0.0, material=idTissue)) O.bodies.append(pack.gtsSurface2Facets(surf,wire=True)) -- 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 : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp