# extract edge of mesh using slice and refine the edge

**URL:** https://discourse.paraview.org/t/extract-edge-of-mesh-using-slice-and-refine-the-edge/15772
**Category:** ParaView Support
**Created:** [November 22, 2024, 4:09pm UTC](https://discourse.paraview.org/t/extract-edge-of-mesh-using-slice-and-refine-the-edge/15772 "2024-11-22T16:09:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![simonw](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@simonw](https://discourse.paraview.org/u/simonw)
#### Post date: [November 22, 2024, 4:09pm UTC](https://discourse.paraview.org/t/extract-edge-of-mesh-using-slice-and-refine-the-edge/15772/1 "2024-11-22T16:09:22Z")

</div>

[data.vtu](https://discourse.paraview.org/uploads/short-url/cEMFtBUSpRIlCSOQ4fVfpvINTjE.vtu) (6.2 KB)

I apply a slice filter of type cylinder to the attached data.vtu file to extract the circle line, see

![image](https://discourse.paraview.org/uploads/default/original/2X/0/0aa0260acd94a4cea2a75d343c086fcba9389c0c.png)

After slicing, the polygonal mesh has only 16 points (because the input is coarse), hence I would like to refine the edge.

I thought the filter `Point Line Interpolator` can help here, but it is greyed out, i.e., I can not select. Why is that and what else can be done?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [November 25, 2024, 8:33am UTC](https://discourse.paraview.org/t/extract-edge-of-mesh-using-slice-and-refine-the-edge/15772/2 "2024-11-25T08:33:42Z")

</div>

I’m afraid point line interpolator is not related to what you want to do. What you want to do should be doable with the Subdivide filter however it works only on triangles.

You can actually use Subdivivde on the input dataset but it is a very inneficient way to get the correct result:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/625b1517f985bdda37c0914332666356ac26e699.png)

Alternatively, you could use ResampleWithDataSet if you can generate the correct line yourself.

---

<div class="post-metadata">

### Author: ![simonw](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/34f0e0/32.png) [@simonw](https://discourse.paraview.org/u/simonw)
#### Post date: [November 25, 2024, 12:34pm UTC](https://discourse.paraview.org/t/extract-edge-of-mesh-using-slice-and-refine-the-edge/15772/3 "2024-11-25T12:34:00Z")

</div>

> Alternatively, you could use ResampleWithDataSet if you can generate the correct line yourself.

Probably that makes sense.

Anyway, a short follow-up on this. When I applied slice filter, the exact radius is 2.5, but I had to supply something like 2.50001 to have paraview find the line. Can we pass a tolerance for floating-point comparison?
