
Hallöchen!
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
Tschö, Torsten.
-- Torsten Bronger Jabber ID: torsten...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com

On 02/06/2012 10:27 AM, Torsten Bronger wrote:
Hallöchen!
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
This is not possible with postproc.py (it's just a simple tool to quickly see the data), but it is easy to do it in Mayavi:
Mayavi Scene 1 VTK file (...) WarpVector Surface <- set this to wireframe ExtractVectorNorm Surface <- this will show vector norm as color
Or try paraview - it has 'surface with edges' option directly.
r.

Hallöchen!
Robert Cimrman writes:
On 02/06/2012 10:27 AM, Torsten Bronger wrote:
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
This is not possible with postproc.py (it's just a simple tool to quickly see the data), but it is easy to do it in Mayavi:
Mayavi Scene 1 VTK file (...) WarpVector Surface <- set this to wireframe ExtractVectorNorm Surface <- this will show vector norm as color
Or try paraview - it has 'surface with edges' option directly.
Thank you, a postproc-less method is totally sufficient for me. However, I don't see any colour-gradients, and even after a *lot* of trying, I don't see how to activate the LUT. (I cannot even switch it off in the postproc-generated MayaVi instance. The online documentation of MayaVi wasn't of any help either.) So how does it work?
Tschö, Torsten.
-- Torsten Bronger Jabber ID: torsten...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com

On 02/13/2012 02:00 PM, Torsten Bronger wrote:
Hallöchen!
Robert Cimrman writes:
On 02/06/2012 10:27 AM, Torsten Bronger wrote:
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
This is not possible with postproc.py (it's just a simple tool to quickly see the data), but it is easy to do it in Mayavi:
Mayavi Scene 1 VTK file (...) WarpVector Surface<- set this to wireframe ExtractVectorNorm Surface<- this will show vector norm as color
You may also need to use SetActiveAttribute filter to tell mayavi which data to display.
Or try paraview - it has 'surface with edges' option directly.
Thank you, a postproc-less method is totally sufficient for me. However, I don't see any colour-gradients, and even after a *lot* of trying, I don't see how to activate the LUT. (I cannot even switch it off in the postproc-generated MayaVi instance. The online documentation of MayaVi wasn't of any help either.) So how does it work?
You mean how to switch on/off the color bar? It's in the "colors and legends" - in "vector lut" and "scalar lut" tabs there is a |show legend| switch.
Or you mean something else, like not seeing your solution as colors?
Cheers, r.

Hallöchen!
Robert Cimrman writes:
On 02/13/2012 02:00 PM, Torsten Bronger wrote:
Robert Cimrman writes:
On 02/06/2012 10:27 AM, Torsten Bronger wrote:
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
This is not possible with postproc.py (it's just a simple tool to quickly see the data), but it is easy to do it in Mayavi:
Mayavi Scene 1 VTK file (...) WarpVector Surface<- set this to wireframe ExtractVectorNorm Surface<- this will show vector norm as color
You may also need to use SetActiveAttribute filter to tell mayavi which data to display.
Is is crazy: I tried to "rebuild" the chain of filters and modules from the MayaVi session that was started by postproc.py in a fresh MayaVi session but it simply didn't work. I think I copied all settings, but, well. The rainbow colours just wouldn't show up.
I needed this because I'd like to display a VTK under Windows because MayaVi's SVG export under Lubuntu is broken. I now try Plan B: Installing SfePy on Windows. I have already Enthought installed, and I ony need a running postproc, so this should be feasible.
[...]
Or you mean something else, like not seeing your solution as colors?
Yes, I mean the colouring of the surface (the equvalent stress, in my case).
Tschö, Torsten.
-- Torsten Bronger Jabber ID: torsten...@jabber.rwth-aachen.de or http://bronger-jmp.appspot.com

On 02/13/2012 03:41 PM, Torsten Bronger wrote:
Hallöchen!
Robert Cimrman writes:
On 02/13/2012 02:00 PM, Torsten Bronger wrote:
Robert Cimrman writes:
On 02/06/2012 10:27 AM, Torsten Bronger wrote:
With "/home/bronger/sfepy/postproc.py --wireframe", I get the wireframe in its undisplaced position layed over the displaced FEM glyphs. Is it possible to see the edges of the elements as black lines? I found the wireframe option in the menus of MayaVi, however then, the inner parts of the elements are transparent.
This is not possible with postproc.py (it's just a simple tool to quickly see the data), but it is easy to do it in Mayavi:
Mayavi Scene 1 VTK file (...) WarpVector Surface<- set this to wireframe ExtractVectorNorm Surface<- this will show vector norm as color
You may also need to use SetActiveAttribute filter to tell mayavi which data to display.
Is is crazy: I tried to "rebuild" the chain of filters and modules from the MayaVi session that was started by postproc.py in a fresh MayaVi session but it simply didn't work. I think I copied all settings, but, well. The rainbow colours just wouldn't show up.
I needed this because I'd like to display a VTK under Windows because MayaVi's SVG export under Lubuntu is broken. I now try Plan B: Installing SfePy on Windows. I have already Enthought installed, and I ony need a running postproc, so this should be feasible.
Ok, let us know how it went.
[...]
Or you mean something else, like not seeing your solution as colors?
Yes, I mean the colouring of the surface (the equvalent stress, in my case).
Then you could also try playing with SetActiveAttribute as well as setting the data in the VTK file source...
I have found that sometimes (some versions of) mayavi refuse to display cell data colors in presence of point data. So using --only-names option of postproc.py might help too - select only the equivalent stress.
If nothing helps, try asking the mayavi creators on the enthought-dev list.
Good luck! r.
participants (2)
-
Robert Cimrman
-
Torsten Bronger