|
[Sponsors] |
February 2, 2015, 15:54 |
frustum in paraview-python
|
#1 |
Senior Member
James
Join Date: May 2013
Posts: 116
Rep Power: 13 |
Hi everyone,
Anybody knows the meaning of numbers inside the FrustumSelectionSource class when scripting ParaView using Python? I guess there are vertex of bounding box of the mesh, but I cannot understand the order and the fourth component. It's to said: FrustumSelectionSource( ContainingCells=0, InsideOut=0, FieldType='CELL', Frustum=[0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 0.0] ) Does this mean that: Vertex 1 of bounding box x1=0 y1=0 z1=1 ?¿?¿=0 Vertex2 of bounding box: x2=0 y2=0 z2=0 ?¿?¿?=0 Vertex3 of bounding box: x3=0 y3=1 z3=1 ?¿¿??=0 Vertex4 of bounding box: x4=0 y4=1 z4=0 ?¿¿??=0 What is the meaning of ?¿?¿ And which is the right order for the planes describing bounding box? For example, the one I described is left, right, top, bottom...or what? I need to make a frustum selection and I know my slices (where I want to apply Extract selection filter) are in the yz plane. How can I do this in Python? Thanks in advance |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Building Paraview 4.1.0 with MPI and Python support | reynoldsStress | ParaView | 10 | July 27, 2017 08:38 |
[General] Determining number of cores and/or paraview executable via python | aerogt3 | ParaView | 0 | December 9, 2014 05:54 |
[OpenFOAM] paraview v4 - building with python - OF2.3.0, PVv4, Python 2.7 | aylalisa | ParaView | 4 | June 13, 2014 08:52 |
How to get Python Shell into ParaView 3.8.1? | blaise | OpenFOAM Installation | 3 | July 24, 2012 04:58 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 21:41 |