# Convert Unstructured Grid to Volume

**URL:** <https://discourse.slicer.org/t/convert-unstructured-grid-to-volume/14748>\
**Category:** Support\
**Created:** [November 23, 2020, 8:51pm UTC](https://discourse.slicer.org/t/convert-unstructured-grid-to-volume/14748 "2020-11-23T20:51:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asees\_Kaur](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/asees_kaur/32/6850_2.png) [@Asees\_Kaur](https://discourse.slicer.org/u/Asees_Kaur)\
**Post date:** [November 23, 2020, 8:51pm UTC](https://discourse.slicer.org/t/convert-unstructured-grid-to-volume/14748/1 "2020-11-23T20:51:41Z")

</div>

Hi @lassoan, I am currently trying to convert my unstructured grid to a volume. So I can import it into Slicer and export it as DICOM images. The process I’m following is:

1. Create my input file:

- Convert UnstructuredGrid to Polydata with GeometryFilter
- Convert PolyData to empty ImageData with PolyDataToImageStencil and ImageStencil
- write input file

1. Use the vtkProbeFilter

- read input file
- read original unstructured grid as source file
- write to file.

You have previously provided an example of how to do this, [https://github.com/lassoan/SlicerNotebooks/blob/master/UnstructuredGridToVolume.ipynb](https://github.com/lassoan/SlicerNotebooks/blob/master/UnstructuredGridToVolume.ipynb), however this is now unavailable.

I wanted to know if my method was correct, and if you could repost your example ?
