# After clip using vtkClipPolyData, stll remain faces

**URL:** https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830
**Category:** Development
**Created:** [February 13, 2022, 10:44am UTC](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830 "2022-02-13T10:44:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![feierpusier](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/f/c5a1d2/32.png) [@feierpusier](https://discourse.vtk.org/u/feierpusier)
#### Post date: [February 13, 2022, 10:44am UTC](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830/1 "2022-02-13T10:44:12Z")

</div>

I used vtkClipPolyData function to clip a vtkPolyData with a vtkSphere(radius 0.38, center(-2.27855,-2.97874,-2.43147)),but four faces (red faces in below figure) still remain. The figure below demonstrated the vtkPolyData with vtkSphere(left figure) and the data after clip(right figure).Attached is mesh data.I want to know the reason (Maybe the faces’ edge is too long compared with sphere radius?). Thank you!  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7c14dcf7285915369f834776c8c266a9bf9c9e6e.png)  
 ![image](https://discourse.vtk.org/uploads/default/original/2X/7/7f9970b8d2434aebd2582e790743fc410e2f4972.png)

---

<div class="post-metadata">

### Author: ![feierpusier](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/f/c5a1d2/32.png) [@feierpusier](https://discourse.vtk.org/u/feierpusier)
#### Post date: [February 14, 2022, 5:39am UTC](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830/2 "2022-02-14T05:39:49Z")

</div>

I want to upload the origin data, but “Sorry, new users can not upload attachments”… …

---

<div class="post-metadata">

### Author: ![feierpusier](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/f/c5a1d2/32.png) [@feierpusier](https://discourse.vtk.org/u/feierpusier)
#### Post date: [February 14, 2022, 12:02pm UTC](https://discourse.vtk.org/t/after-clip-using-vtkclippolydata-stll-remain-faces/7830/3 "2022-02-14T12:02:10Z")

</div>

It is my fault. My question is similar to [Clipping an stl with a cylinder - #5 by dgobbi](https://discourse.vtk.org/t/clipping-an-stl-with-a-cylinder/2012/5) . I found this page just now.
