← Back to team overview

yade-users team mailing list archive

[Question #190168]: fixing examples and scripts

 

New question #190168 on Yade:
https://answers.launchpad.net/yade/+question/190168

Starting with the examples folder i detected the first error in rotating-cyclinder.py

Welcome to Yade bzr3041
TCP python prompt on localhost:9001, auth cookie `yuasse'
XMLRPC info provider on http://localhost:21001
Running script rotating-cylinder.py 
Traceback (most recent call last):
  File "/home/me/YADE/YADE3041/bin/yade-bzr3041", line 182, in runScriptexecfile(script,globals())
  File "rotating-cylinder.py", line 36, in <module>cylIds=O.bodies.append(pack.gtsSurface2Facets(cyl.faces()))
  File "/home/me/YADE/YADE3041/lib/yade-bzr3041/py/yade/pack.py", line 179, in gtsSurface2Facets
    return [utils.facet([v.coords() for v in face.vertices()],**kw) for face in surf.faces()]
AttributeError: 'tuple' object has no attribute 'faces' 

Whats the problem here?

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