# input file for vtk example cutWithCutFunction

**URL:** https://discourse.vtk.org/t/input-file-for-vtk-example-cutwithcutfunction/1772
**Category:** Support
**Created:** [September 16, 2019, 3:20pm UTC](https://discourse.vtk.org/t/input-file-for-vtk-example-cutwithcutfunction/1772 "2019-09-16T15:20:59Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Ida](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@Ida](https://discourse.vtk.org/u/Ida)
#### Post date: [September 16, 2019, 3:20pm UTC](https://discourse.vtk.org/t/input-file-for-vtk-example-cutwithcutfunction/1772/1 "2019-09-16T15:20:59Z")

</div>

Hi,  
Is there an input file that comes with this vtkCutter c++ example: [https://lorensen.github.io/VTKExamples/site/Cxx/VisualizationAlgorithms/CutWithCutFunction/](https://lorensen.github.io/VTKExamples/site/Cxx/VisualizationAlgorithms/CutWithCutFunction/)

And is it possible to create an incomplete planar cut as shown here:  
 ![image](https://discourse.vtk.org/uploads/default/original/1X/43aaf2dbe396648f7a70ef4879587f8e3c22c100.png)

---

<div class="post-metadata">

### Author: ![amaclean](https://discourse.vtk.org/user_avatar/discourse.vtk.org/amaclean/32/224_2.png) [@amaclean](https://discourse.vtk.org/u/amaclean)
#### Post date: [September 16, 2019, 9:29pm UTC](https://discourse.vtk.org/t/input-file-for-vtk-example-cutwithcutfunction/1772/2 "2019-09-16T21:29:22Z")

</div>

The file used is **Torso.vtp** and is found in `VTKExamples/src/Testing/Data/`. If you look in the **CMakeLists.txt** file in `VTKExamples/src/Cxx/VisualizationAlgorithms/` you can see the parameters used to test this file.

As a general guide, test files are found in `VTKExamples/src/Testing/Data/` and for some examples like this one it is a good idea to look in the **CMakeLists.txt** file in the folder where the source files are found.

I have updated this example to indicate the default parameters used and also added a Python example.

---

<div class="post-metadata">

### Author: ![Ida](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/i/ed655f/32.png) [@Ida](https://discourse.vtk.org/u/Ida)
#### Post date: [September 17, 2019, 12:11pm UTC](https://discourse.vtk.org/t/input-file-for-vtk-example-cutwithcutfunction/1772/3 "2019-09-17T12:11:59Z")

</div>

Thank you.
