← Back to team overview

yade-users team mailing list archive

Re: [Question #696481]: Geometry of hyperboloid

 

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

    Status: Needs information => Answered

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

thanks for clarification, now it is clear what you want.
But please provide information, what is the problem.

Everything what you need is specify suitable numbers to pack.inHyperboloid [4] - centerBottom, centerTop, radius, skirt.
E.g.:
diameter = 0.15 # 15 cm
diameterSkirt = 0.10 # 10 cm, or other value
length = 0.30 # 30 cm
pack.inHyperboloid((0,0,-.5*length),(0,0,.5*length),.5*diameter,.5*diameterSkirt)

> but I cannot open the [3]

it is just your [1] with #L81 at the end.
Note that yade main repository is now on gitlab, so [1] and [3] should be as below.

cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/concrete/uniax.py
[3] https://gitlab.com/yade-dev/trunk/-/blob/master/examples/concrete/uniax.py#L81

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