# 2D contours from mesh / plane intersection

**URL:** <https://discourse.vtk.org/t/2d-contours-from-mesh-plane-intersection/6742>\
**Category:** Web\
**Created:** [October 1, 2021, 5:31am UTC](https://discourse.vtk.org/t/2d-contours-from-mesh-plane-intersection/6742 "2021-10-01T05:31:41Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Ingmar](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/i/cc9497/32.png) [@Ingmar](https://discourse.vtk.org/u/Ingmar)\
**Post date:** [May 13, 2022, 12:40pm UTC](https://discourse.vtk.org/t/2d-contours-from-mesh-plane-intersection/6742/4 "2022-05-13T12:40:16Z")

</div>

@Nicolas_Rannou did you manage to visualize the contour intersection? I tried the same in python, but the intersection seems infinitesimally thin, and I don’t know how to inflate / dilate to make it actually visible along the normal … ☹

> [@how to get a "thick" poly line from vtkPlaneCutter & vtkPolyData?](https://discourse.vtk.org/t/how-to-get-a-thick-poly-line-from-vtkplanecutter-vtkpolydata/8480):
>
> I am trying to cut a mesh with a plane and render the contour on top of an image (resliced along using the same plane), much like the image below: [image] The examples at [https://gitlab.kitware.com/vtk/vtk/-/blob/v9.1.0/Filters/Core/Testing/Python/TestPolyDataPlaneCutter.py](https://gitlab.kitware.com/vtk/vtk/-/blob/v9.1.0/Filters/Core/Testing/Python/TestPolyDataPlaneCutter.py) almost do the slicing part that I need But when viewing the contour from the direction of the normal the contour / polyline is invisible (see screenshot below left side) as opposed to viewing it from the side (right side o…

---

_[View the full topic](https://discourse.vtk.org/t/2d-contours-from-mesh-plane-intersection/6742)._
