← Back to team overview

yade-users team mailing list archive

Re: [Question #204632]: tesselationWrapper

 

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

    Status: Open => Answered

Chiara Modenese proposed the following answer:

On 31 Jul 2012, at 06:16, tranviet wrote:

> New question #204632 on Yade:
> https://answers.launchpad.net/yade/+question/204632
> 
> Hello,
> 
> I can run the file tesselationWrapper.py within the newest YADE version, but when I copy two files TesselationWrapper.cpp and TesselationWrapper.hpp from the package to version YADE-0.70 and compile and then run the example, it doesn't work:
> 
> File "./yade-unknown", line 172, in runScript
>    execfile(script,globals())
>  File "tesselationWrapper.py", line 10, in <module>
>    TW=TesselationWrapper()
> NameError: name 'TesselationWrapper' is not defined
If I am not wrong, this simply means that the function is not wrapped with Python in your version. It was a relatively recent introduction by Bruno and it is what you should check out/add to your code.

Chiara


> 
> It's weird for me since  tesselationWrapper has been available in YADE for a long time. I am writing my codes in YADE-0.70 and I would like to use this feature without moving to the newer version.
> 
> Can anyone explain it to me? I really appreciate it.
> 
> Viet Tran
> 
> 
> 
> 
> -- 
> 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.