Tagged Questions
0
votes
0answers
16 views
Import conflicts in Python with VTK and Cubit
My specific problem is I'm currently creating a program that uses VTK and another program that has python libraries called Cubit. Cubit uses VTK under its hood, so when you import its python library ...
1
vote
0answers
29 views
which version of python packages require
I have numerous versions of python installed, a system python with my mac osx (10.8), and numerous version from macports. On occation I have run into errors with different packages requiring ...
2
votes
1answer
49 views
vtk python can't be detected
VTK was working fine until I updated it. I made sure to turn on all the python linking etc.
Now, when I run mayavi2, I receive:
dustin@dustin:~$ mayavi2
Traceback (most recent call last):
File ...
0
votes
1answer
75 views
issue with vtk python wrapping: can't import vtk in interpreter but can import in console
I compiled vtk with python wrapping and I can us it on the command line.
However, I am using eclipse IDE and want to use vtk but no matter what I do with my PYTHONPATH variable, I still get the ...
0
votes
0answers
58 views
docking a vtk-based pane on a wx aui manager
I have a wxpython application that contains an aui manager on which I would like to dock a floatable pane that contains itself a VTK interactor render window. The application works fine on windows but ...
0
votes
1answer
65 views
Draw vector of closest approach between two vtkPolyData objects?
I am using vtk trying to determine the minimum distance between two polydata objects. I am using vtkDistancePolyDataFilter to determine the minimum distance, but how do I determine the associated ...
0
votes
0answers
45 views
Add a datafile type reader to paraview using pvpython
I'm aware that you can add readers for different datafile types to paraview, however, that all talks about doing a bunch of VTK stuff in c++ and (maybe worse) re-compiling paraview to make it aware of ...
0
votes
0answers
47 views
PySide and VTK on Windows 32
I've got a PySide/VTK application, connected using the QVTKRenderWindowInteractor.
PySide 1.0.9 works ok on Unix based systems with a QT4.8/VTK 5.8. (all Python 2.7.3)
Then I port on a Microsoft ...
0
votes
1answer
77 views
Close VTK window (Python)
Consider the following script
import vtk
ren = vtk.vtkRenderer()
renWin = vtk.vtkRenderWindow()
renWin.AddRenderer(ren)
iren = vtk.vtkRenderWindowInteractor()
iren.SetRenderWindow(renWin)
an_actor ...
1
vote
1answer
65 views
Change color depending on height in Mayavi iso_surface
Is is possible to change the colour of an iso-surface depending on height of the points (in python / mayavi) ?
I can create an iso-surface visualization with my script, but I don't know how to make ...
0
votes
1answer
455 views
Installing VTK for Python
I'm trying to install VTK module for python, I am however unsuccesful in doing so. I have downloaded a VTK tar-file, but I'm unable to extract it. I'm capable of extracting other tar-files, so there ...
2
votes
0answers
96 views
plotting concave objects with mayavi or vtk
I am just getting started using mayavi in python, and don't know too much about programming 3d graphics. I want to plot a concave surface/object but when I try it comes out being connected like this:
...
1
vote
0answers
64 views
real-time orientation tracker on vtk python
I want to make a simple program using vtk and PyQt which can track and visualize orientation of IMU sensor such as Razor IMU 9 DOF sensor stick, only for the gyroscope sensor exactly in the real-time, ...
7
votes
2answers
166 views
TVTK Error in Mayavi (Python)
I'm running a Fedora 17 (x64) machine, and I tried installing Mayavi for python via
yum install mayavi
which worked fine, except every time I write a code where I call a mayavi module (like mlab) ...
0
votes
0answers
79 views
Pyinstaller can't create an executable for mayavi/mlab with TVTK scene
I am wondering if someone has had a similar problem, and possible knows how to resolve it. I have a simple script:
from numpy import arange, pi, cos, sin
from traits.api import HasTraits, Range, ...