taichi-dev / taichi_elements

High-performance multi-material continuum physics engine in Taichi
MIT License
483 stars 69 forks source link

AttributeError: 'NodeSocket' object has no attribute 'text' #46

Closed matyklug18 closed 4 years ago

matyklug18 commented 4 years ago

when trying to simulate. i am on windows rn, and i am gonna later test on linux(ubuntu 19.10 and manjaro)

PavelBlend commented 4 years ago

Can you give me a blend scene in which this error is reproduced? And tell me the version of the blender and which taichi_elements addon commit you use.

matyklug18 commented 4 years ago

the example scene 01(blender_demo_01), blender 2.82, and i downloaded elements about 20 mins ago.

PavelBlend commented 4 years ago

The fact is that these examples become obsolete as code is added and changed. For these examples to work, you need to download the addon from this commit: https://github.com/taichi-dev/taichi_elements/tree/5b321b29bf6ee640669c423cbe6f3cad7175c837

After the first release, I will update all the examples. Since backward compatibility was lost in the last commit of the addon. To run these examples, try downloading and installing the addon from the commit I gave above.

matyklug18 commented 4 years ago

oh, and is the latest commit functional? i can try doing it myself, if i would find out how it works.

PavelBlend commented 4 years ago

Yes, the last commit should work. If it will not work for you, then let me know. I can now prepare a scene that will work on the last commit. The scene will be simple. I just would like you to check it on your system.

elements_example_01.zip

This scene should work on this commit: https://github.com/taichi-dev/taichi_elements/tree/d1848fdecd1318e16e31dcf6ba70921bec1f574f

matyklug18 commented 4 years ago

seems like that worked, thanks!