← Back to team overview

yade-users team mailing list archive

Re: [Question #220152]: Cylinder Geometry Problem

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

next time please always write what error you got, it is much easier for
others to help you.

In this specific case:
utils has no function facetCylinder, try

geom.facetCylinder

instead. Furthermore, there is ")" missing at the end of your command.

cheers
Jan


2013/1/25 MOHAMMAD MOHSENI <question220152@xxxxxxxxxxxxxxxxxxxxx>

> New question #220152 on Yade:
> https://answers.launchpad.net/yade/+question/220152
>
> I have tried constructing a cylinder using cylinder facet but get an error
> everytime. The code is below
>
> O.bodies.append(utils.facetCylinder(center, radius, height,
> orientation=Quaternion((1, 0, 0), 0), segmentsNumber=10, wallMask=7,
> angleRange=None, closeGap=False, **kw)
>
> Can anyone help me with this?
>
> Regards
>
> --
> You received this question notification because you are a member of
> yade-users, which is an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.