# how to clip a model in vtkjs

**URL:** https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628
**Category:** Web
**Created:** [June 24, 2020, 3:32am UTC](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628 "2020-06-24T03:32:20Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xuexl](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/x/3ec8ea/32.png) [@xuexl](https://discourse.vtk.org/u/xuexl)
#### Post date: [June 24, 2020, 3:32am UTC](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628/1 "2020-06-24T03:32:20Z")

</div>

There are some tools for clipping in vtk(c++), When i search for the same tools in vtkjs, i find none in the API.  
Are the part of all API that viewing on the web ? and there are not documentation of vtkjs.

---

<div class="post-metadata">

### Author: ![Forrest](https://discourse.vtk.org/user_avatar/discourse.vtk.org/forrest/32/300_2.png) [@Forrest](https://discourse.vtk.org/u/Forrest)
#### Post date: [June 24, 2020, 1:17pm UTC](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628/2 "2020-06-24T13:17:22Z")

</div>

Right now, vtk.js only has vtkCutter for polydata cutting and an image cropping filter. There isn’t any general dataset clip filter yet.

---

<div class="post-metadata">

### Author: ![xuexl](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/x/3ec8ea/32.png) [@xuexl](https://discourse.vtk.org/u/xuexl)
#### Post date: [June 25, 2020, 12:40am UTC](https://discourse.vtk.org/t/how-to-clip-a-model-in-vtkjs/3628/3 "2020-06-25T00:40:46Z")

</div>

Thank you, I will try it.
