← Back to team overview

yade-users team mailing list archive

Re: [Question #681830]: Box (cuboid) particle geometry.

 

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

    Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hi,

The error says you need to specify what are the (keywords of the) first
two attributes you passed to your function, in the same way you did for
the last attribute, with "color = (1,0,0)", indicating the "color"
keyword.

That is, YADE waits for something like
geom.Box(center=(0,0,0.442672+0.03/2),extents=(1.01*1*0.003,0.06,0.03/2),color=(1,0,0))

In the above, I'm actually just guessing random keywords for these 2
first attributes, because I could not find a meaningful doc for this
function (it's embarrassing..)

If your goal is to have cuboid-shaped particle, note that there also is
utils.box(), with a doc I can point towards, at https://yade-
dem.org/doc/yade.utils.html?highlight=box#yade.utils.box

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