# Clipping producing twice the amount of data

**URL:** https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470
**Category:** ParaView Support
**Created:** [September 29, 2024, 4:12pm UTC](https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470 "2024-09-29T16:12:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![homan95](https://discourse.paraview.org/user_avatar/discourse.paraview.org/homan95/32/15268_2.png) [@homan95](https://discourse.paraview.org/u/homan95)
#### Post date: [September 29, 2024, 4:12pm UTC](https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470/1 "2024-09-29T16:12:37Z")

</div>

Hi guys  
I am currently using ParaView 5.13, and I am in a situation where I have a set of points and I have to extract those that are from 0-120m. However, upon applying the clip filter, I found out that the number of points have been doubled. I had 9087 points, but after clipping the total is 17039. Does anyone know what is happening or is this actually a bug? (I tried this with ParaView 5.12 and it’s the same, but 5.10 and 5.11 seem to be ok). Thank you!

 ![1.BeforeClipping](https://discourse.paraview.org/uploads/default/original/2X/d/d340e27ade27d4ba3c6860d1fd189bfb77fceed4.jpeg)  
 ![2.AfterClipping](https://discourse.paraview.org/uploads/default/original/2X/a/ab155ec7332ae0435702931773206de60cfbc89f.jpeg)

---

<div class="post-metadata">

### Author: ![Lucas\_Givord](https://discourse.paraview.org/user_avatar/discourse.paraview.org/lucas_givord/32/6851_2.png) [@Lucas\_Givord](https://discourse.paraview.org/u/Lucas_Givord)
#### Post date: [September 30, 2024, 6:38am UTC](https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470/2 "2024-09-30T06:38:06Z")

</div>

Hello @homan95,

It looks like a bug indeed but without the data I can’t confirm that, if it’s possible for you, could you please share your data?

---

<div class="post-metadata">

### Author: ![Kenneth\_Moreland](https://discourse.paraview.org/user_avatar/discourse.paraview.org/kenneth_moreland/32/15033_2.png) [@Kenneth\_Moreland](https://discourse.paraview.org/u/Kenneth_Moreland)
#### Post date: [September 30, 2024, 11:08am UTC](https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470/3 "2024-09-30T11:08:26Z")

</div>

I was able to reproduce this bug. I submitted a bug report for this: [https://gitlab.kitware.com/paraview/paraview/-/issues/22765](https://gitlab.kitware.com/paraview/paraview/-/issues/22765)

You can work around this problem by running the `Convert To Point Cloud` filter _before_ you clip. Make sure the `Cell Generation Mode` is set to `Vertex cells` (the default).

Alternately, you can apply the `Clean to Grid` filter _after_ clipping and turning on the `Remove Points Without Cells` option.

---

<div class="post-metadata">

### Author: ![homan95](https://discourse.paraview.org/user_avatar/discourse.paraview.org/homan95/32/15268_2.png) [@homan95](https://discourse.paraview.org/u/homan95)
#### Post date: [September 30, 2024, 4:51pm UTC](https://discourse.paraview.org/t/clipping-producing-twice-the-amount-of-data/15470/4 "2024-09-30T16:51:05Z")

</div>

Thanks both!! Especially Kenneth for reproducing the bug and submitting a bug report!
