# Contour filter Unstructured Grid

**URL:** https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086
**Category:** Support
**Created:** [June 27, 2021, 2:25am UTC](https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086 "2021-06-27T02:25:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ManuPy](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/m/13edae/32.png) [@ManuPy](https://discourse.vtk.org/u/ManuPy)
#### Post date: [June 27, 2021, 2:25am UTC](https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086/1 "2021-06-27T02:25:49Z")

</div>

Hi, I am new in vtk, I was wondering if there is a way to apply filters in a 3D unstructured Grid. When I have tried it just generate an empty mesh. I have been only successful in uniform grids though.

I heard that exist this "vtkContour3DLinearGrid " that could work, but I haven’t found any example to understand how to apply it.  
(Python user)

I appreciate any help or guidance.

Many thanks!

---

<div class="post-metadata">

### Author: ![will.schroeder](https://discourse.vtk.org/user_avatar/discourse.vtk.org/will.schroeder/32/233_2.png) [@will.schroeder](https://discourse.vtk.org/u/will.schroeder)
#### Post date: [June 30, 2021, 11:46am UTC](https://discourse.vtk.org/t/contour-filter-unstructured-grid/6086/2 "2021-06-30T11:46:08Z")

</div>

Please check out [https://kitware.github.io/vtk-examples/site/](https://kitware.github.io/vtk-examples/site/).

Also, there are thousands of tests in VTK, search for vtkContour3DLinearGrid. For example, “grep -l vtkContour3DLinearGrid _/_/Testing/Python/\*.py” returns:

Filters/Core/Testing/Python/TestContour3DLinearGrid2.py  
Filters/Core/Testing/Python/TestContour3DLinearGridCompositeInput.py  
Filters/Core/Testing/Python/TestContour3DLinearGridInterpolateAttributes.py  
Filters/Core/Testing/Python/TestContour3DLinearGrid.py  
Filters/Core/Testing/Python/TestContour3DLinearGridScalarTree.py
