SKPS
SKPS

Reputation: 5835

Slicing in paraview

The Slice option in Paraview with selection plane, has a origin and normal to define the plane.

I am trying to export the slice data in csv format. However, the simulation domain is very large and therefore the slice also is quite large (which needs to be processed in matlab further). I need only the specific region of the slice. Is it possible to reduce the slice by creating a plane based on points by user or any other alternatives?

Upvotes: 1

Views: 7784

Answers (1)

Bertrand Gazanion
Bertrand Gazanion

Reputation: 705

If you're only interested in a part of the slice, you can use the Clip filter on the volume to extract the region of interest and then slice this region.

  1. select your volume
  2. use the Clip filter
  3. in the properties panel, set the Clip Type parameter as "Box"
  4. set the dimensions of the box
    • in the GUI: move the circles of the Clip widget
    • in the Python Shell: your_volume.ClipType.Bounds = [xmin, xmax, ymin, ymax, zmin, zmax], where your_volume in the volume proxy
  5. check the Inside Out option, to keep only what is in the clip box
  6. create your slice from the clip proxy

Upvotes: 2

Related Questions