← Back to team overview

yade-users team mailing list archive

Re: [Question #697744]: Increase particle radiues

 

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

Mithushan Soundaranathan posted a new comment:
Hi,

And one more thing, if update my particle radius in the terminal.

I am using following code:

for b in O.bodies: 
 if isinstance(b.shape, Sphere):  
    b.shape.radius=0.1 

This code delete my spheres and add an additional cylinders (walls) with
radius 0.1.

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