[vtkusers] Non-blocking python prompt for vtkRenderWindow (vtkPython.exe? / Tkinter?)

Sophonet vtk12af6bc42 at kant.sophonet.de
Mon May 8 06:03:41 EDT 2017


since Tkinter is part of python's standard library, and its event-loop 
is supported by IPython, it would be nice to interactively play with a 
vtkTkRenderWidget in IPython. However, I have not found a working 
example. On my machine, the code in 
Rendering/Tk/Testing/Python/TestTkRenderWidget.py crashes in tcl86.dll 
when creating the vtkRenderWidget (anaconda's python 3.6, Windows, VTK 
7.1.1 - built with TkModule, include path and lib points to anaconda's 
stuff and seems to be fine).

Is vtkPython.exe built for a similar purpose? I have not found a way of 
creating a renderwindow without blocking the command prompt in 



More information about the vtkusers mailing list