← Back to team overview

yade-users team mailing list archive

Re: [Question #286542]: Interaction detection problem during periodic simulation

 

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

Bruno Chareyre posted a new comment:
Doesn't work for me. Which version are you using?


bchareyre@dt-rv020:~/yade/yade/bin$ yadedaily test.py
Welcome to Yade 1.14.0-54-f44c022~trusty 
TCP python prompt on localhost:9000, auth cookie `ucdasy'
XMLRPC info provider on http://localhost:21000
Running script test.py
/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/utils.py:423: UserWarning: Function utils.facetBox is deprecated, use geom.facetBox instead.
  _deprecatedUtilsFunction('facetBox','geom.facetBox')
Traceback (most recent call last):
  File "/usr/bin/yadedaily", line 182, in runScript
    execfile(script,globals())
  File "test.py", line 27, in <module>
    doboz = O.bodies.append(geom.utils.facetBox(center,(.1,.05,.5),wallMask=35,material='acel',wire=False,color=(.5,.5,.5)))
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/utils.py", line 424, in facetBox
    return geom.facetBox(*args,**kw)
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/geom.py", line 25, in facetBox
    return facetParallelepiped(center=center, extents=extents, height=extents[2], orientation=orientation, wallMask=wallMask, **kw)
  File "/usr/lib/x86_64-linux-gnu/yadedaily/py/yade/geom.py", line 73, in facetParallelepiped
    A=orientation*Vector3(mn[0],mn[1],mn[2])+center
TypeError: unsupported operand type(s) for +: 'Vector3' and 'builtin_function_or_method'

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