Need help with VTK Blender Plugin

Hi,

Can you help me to install it on Ubuntu Lucid 10.04 please ?
I put the VTKBlender.py under ~/.blender/scripts, trying to add this :

VTK_ROOT = /usr/local/lib/python2.6/dist-packages
LIBRARY_OUTPUT_PATH = /usr/local/lib/python2.6/dist-packages
PATH_TO_VTKBlender_MODULE = ~/.blender/scripts
import sys
sys.path.append($VTK_ROOT)
sys.path.append(${LIBRARY_OUTPUT_PATH})
sys.path.append(${PATH_TO_VTKBlender_MODULE})

but it doesn’t work !

Can you help me ?

Thanks
Sylvain

up please !

Need more information.

Like;

  • What is VTKBlender.py?
  • Is your python really installed under /usr/local (or most likely /usr)?
  • Have you tried to load the script straight into blender and run it from there?

You know, the little things…

----edit----

Oh, and error messages are very helpful.

Hi, thank you for your reply !

I’m sorry, I forgot the essential :

from vtk import *

under the python shell, I 've got no error.
I thought when I put the python script under the path of blender script, I’ve got a new entry in File => Import => VTK but not …

  • I don’t try to load the script straight into blender because I don’t know how to do this. By copy paste is-it possible or not ?

If I try to load the script under blender, I post errors !

Thanks,
Sylvain

Just open it up in the text editor and do the ‘run script’ menu item (or alt+P)

Hi,

Thanks for your reply

I’ve got no errors, no output, nothing in the text editor when I run the script …

up please !

:spin:

Nobody can help me, please ?