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

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi William,

Maybe try facetCylinder [1] (a prism made of facets that approximates a
cylinder):

#######
import geom
O.bodies.append(geom.facetCylinder(center = (0,0,0), radius=1, height=2, 
orientation=Quaternion((1, 0, 0), 0), segmentsNumber=20))
#######


Cheers,
Karol

[1] https://yade-
dem.org/doc/yade.geom.html?highlight=facetcylinder#yade.geom.facetCylinder

-- 
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

Reply via email to