On 1 mei, 22:54, Peter Pearson <[EMAIL PROTECTED]> wrote:
> I'm trying to get started with pyvtk, the Python interface
> to the Visualization Toolkit,

It looks like you're using this package:
http://cens.ioc.ee/projects/pyvtk/

These are not the official Python bindings to VTK, but seem to be an
add-on that allow you to manipulate VTK _files_ from Python.

The official bindings are included in the VTK distribution and can be
enabled at build-time (assuming you build VTK yourself).

For a simple example that will open a window and show some 3D object,
see for example the example code the vtkConeSource class:
http://public.kitware.com/cgi-bin/viewcvs.cgi/*checkout*/Examples/Tutorial/Step1/Python/Cone.py?root=VTK&content-type=text/plain

> Simply running "vtk" (apparently 4.0)

VTK 4.0 is really really old. Consider switching to 5.0 at least or
use the CVS version if you feel adventurous.

Hope this helps,
Paul
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to