# how to remove dangling points from mesh

**URL:** https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613
**Category:** ParaView Support
**Created:** [June 18, 2020, 8:24am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613 "2020-06-18T08:24:11Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Rob777](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rob777/32/3776_2.png) [@Rob777](https://discourse.paraview.org/u/Rob777)
#### Post date: [June 18, 2020, 8:24am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/1 "2020-06-18T08:24:11Z")

</div>

Hi Everyone,  
I generated a mesh composed of triangles with gmsh, but as seen in the image below, there are some dangling points. Is there a filter to remove them ?

 ![dangling_points](https://discourse.paraview.org/uploads/default/original/2X/1/1ddf44e3c8f4ef254ce1e8299ee37d1dce9d1d43.png)  
I guess I can identify them as points which have no connectivity.  
Thanks

---

<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: [June 18, 2020, 8:24am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/2 "2020-06-18T08:24:48Z")

</div>

Clean to grid should do the job.

---

<div class="post-metadata">

### Author: ![Rob777](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rob777/32/3776_2.png) [@Rob777](https://discourse.paraview.org/u/Rob777)
#### Post date: [June 18, 2020, 8:28am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/3 "2020-06-18T08:28:29Z")

</div>

It does not work…also I have a tolerance parameter, but in this case it is useless, the decision to remove a point must be based on connectivity…

---

<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: [June 18, 2020, 9:14am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/4 "2020-06-18T09:14:59Z")

</div>

Then the following should work

- Connectivity
- Edit -\> FindData -\> Select cells based on the RegionID value
- Extract selection

---

<div class="post-metadata">

### Author: ![Rob777](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rob777/32/3776_2.png) [@Rob777](https://discourse.paraview.org/u/Rob777)
#### Post date: [June 19, 2020, 12:44pm UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/5 "2020-06-19T12:44:19Z")

</div>

Connectivity just assign an ID based on element counting, it does not work because the assigned ID of each point is not the number of connected points…  
this is an example datasets  
[wee99.vtk](https://discourse.paraview.org/uploads/short-url/isQjXblRJSwD5IaQc3a3d3C0gpl.vtk) (671.5 KB)  
thank you

---

<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: [June 22, 2020, 8:48am UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/6 "2020-06-22T08:48:23Z")

</div>

I managed to do it with the following :

- Open your file
- Connectivity
- PointDataToCellData
- Edit -\> FindData -\> RegionID == 0
- Extract Selection

[connec.pvsm](https://discourse.paraview.org/uploads/short-url/aMlTaHtFuKrtmTdavYASCSm86gq.pvsm) (475.4 KB)

---

<div class="post-metadata">

### Author: ![Rob777](https://discourse.paraview.org/user_avatar/discourse.paraview.org/rob777/32/3776_2.png) [@Rob777](https://discourse.paraview.org/u/Rob777)
#### Post date: [June 23, 2020, 12:16pm UTC](https://discourse.paraview.org/t/how-to-remove-dangling-points-from-mesh/4613/7 "2020-06-23T12:16:22Z")

</div>

Thank you very much!
