# How to clip the model rightly

**URL:** https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554
**Category:** ParaView Support
**Tags:** vtk
**Created:** [April 30, 2025, 8:29am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554 "2025-04-30T08:29:51Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [April 30, 2025, 8:29am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/1 "2025-04-30T08:29:51Z")

</div>

**Hi everyone!**  
I want clip a model by Paraview Tools, here is **Paraview 5.13.2.**  
as shown in figure below, I want to **keep the model outside the box** rather than inside.

 ![image](https://discourse.paraview.org/uploads/default/original/3X/f/6/f658a8d76c51cd256592ff392b478474ee77befe.png)  
 ![image](https://discourse.paraview.org/uploads/default/original/3X/3/3/3308c7e15b0eb09bda394aaeabe71b5fdb84157c.png)

**What do I need to do to achieve the desired effect?**  
My attempts are as follows:  
choose one of this two items

 ![image](https://discourse.paraview.org/uploads/default/original/3X/f/7/f7ca4e4e7732371e541daf119d1a536e94084f40.png)  
set properties:

1. using **Box Slice Type**
2. setting the desired box’s size
3. using the default options for the other parts
4. chick Apply  
 ![image](https://discourse.paraview.org/uploads/default/original/3X/9/9/99c7b14ddcadae2476d501357e3c4fb2823fdb85.png)

---

<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: [April 30, 2025, 8:39am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/2 "2025-04-30T08:39:18Z")

</div>

Use the “Invert” properties that should be available in ParaView 5.13.2 in the Clip filter.

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [April 30, 2025, 9:08am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/3 "2025-04-30T09:08:17Z")

</div>

Thank you for your response.  
I choose “Invert” item, the result likes this:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/d/0/d0a544af66c66eaafa99946ab4a9580a7b050dd4.png)

here is the setting of properties

 ![屏幕截图 2025-04-30 164941](https://discourse.paraview.org/uploads/default/original/3X/a/6/a60b06050322163756248f842d5a8baade79c2b1.png)

if i choose “Exact” item, the result likes this:

 ![image](https://discourse.paraview.org/uploads/default/original/3X/3/7/372317f210b9169660d3b013f81cefc587d061eb.png)

In fact, I want to make the part of the model that is located in the box disappear, that is, the pink part. In the end, the green part will remain

 ![image](https://discourse.paraview.org/uploads/default/original/3X/c/a/ca3d92e2393700333ad6e4a72d5fdb8ed4c30e46.png)

---

<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: [April 30, 2025, 9:26am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/4 "2025-04-30T09:26:01Z")

</div>

I dont understand, is this working for you ?

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 2, 2025, 12:16pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/5 "2025-05-02T12:16:56Z")

</div>

**Apologies for my lack of clarity.**

It didn’t work for me.  
actually, I want ro acquire the this resluts:

I have a square model with a green outline in the picture.  
and I use one box to clip this model,  
but in Paraview, I always acquire the square model with a purple outline, **That is, Section inside “box for clipping”**  
I expect to acquire a model with a black outline, **That is, the remaining seven-eighths. Saction outside “box for clipping”**

 ![image](https://discourse.paraview.org/uploads/default/original/3X/3/6/360cced73a9ba8456c0be02039caccda3e22e3fc.png)

---

<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: [May 2, 2025, 12:20pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/6 "2025-05-02T12:20:33Z")

</div>

Indeed, it looks like the inverted box clip is not working as it should, please open an issue:

[https://gitlab.kitware.com/paraview/paraview/-/issues](https://gitlab.kitware.com/paraview/paraview/-/issues)

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 2, 2025, 12:23pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/7 "2025-05-02T12:23:39Z")

</div>

Okay, et Merci

---

<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: [May 7, 2025, 7:37am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/8 "2025-05-07T07:37:31Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/-/issues/22964](https://gitlab.kitware.com/paraview/paraview/-/issues/22964)

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 7, 2025, 11:52am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/9 "2025-05-07T11:52:03Z")

</div>

Thank you for your reply!

Because I need this feature to polish my thesis work, If I want to participate in the resolution of this issue, are there any other requirements besides the fork repository?

[CONTRIBUTING.md · master · ParaView / ParaView · GitLab](https://gitlab.kitware.com/paraview/paraview/-/blob/master/CONTRIBUTING.md)

I mean does it require me to be a full time ParaView developer if I want to be involved in the resolution of issue

---

<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: [May 7, 2025, 11:57am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/10 "2025-05-07T11:57:34Z")

</div>

If you are familiar with C++, you definitely can contribute to VTK and ParaView.

Find the contribution guides here:

- [Developer’s Guide - VTK documentation](https://docs.vtk.org/en/latest/developers_guide/index.html)
- [https://gitlab.kitware.com/paraview/paraview/-/blob/master/CONTRIBUTING.md?ref\_type=heads](https://gitlab.kitware.com/paraview/paraview/-/blob/master/CONTRIBUTING.md?ref_type=heads)

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 7, 2025, 12:01pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/11 "2025-05-07T12:01:21Z")

</div>

Okay, thanks!  
How long will it take for this issue to be resolved, as I see that there are about 2,000 issues that have not been resolved!

---

<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: [May 7, 2025, 12:03pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/12 "2025-05-07T12:03:14Z")

</div>

> How long will it take for this issue to be resolved

That depends on you 🙂

You can either fix it yourself or reach out to other to fix it:

> [@How are features and bug fixes incorporated into ParaView?](https://discourse.paraview.org/t/how-are-features-and-bug-fixes-incorporated-into-paraview/4735):
>
> As with all open source projects, adding features and fixing bugs takes developer effort. That effort may originate from volunteer community contributors, or through paid professional services offered by companies like [Kitware](https://www.kitware.com). Features and bug fixes are prioritized by the needs of contributing community members and by professional services customers. Note that contributions are vetted by a rigorous community review and testing process; therefore it is recommended that significant changes are d…

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 7, 2025, 12:04pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/13 "2025-05-07T12:04:20Z")

</div>

Okay, thanks!

---

<div class="post-metadata">

### Author: ![spyridon97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/spyridon97/32/11569_2.png) [@spyridon97](https://discourse.paraview.org/u/spyridon97)
#### Post date: [May 23, 2025, 6:55am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/14 "2025-05-23T06:55:08Z")

</div>

> [@JIERSHAO](#):
>
> How long will it take for this issue to be resolved, as I see that there are about 2,000 issues that have not been resolved!

What you need is exact and not inverted. That’s not an option right now.  
But i took the liberty to implement it [https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/7314](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/7314).

It’s slower than without exact. But at least it works as it’s supposed to.

---

<div class="post-metadata">

### Author: ![spyridon97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/spyridon97/32/11569_2.png) [@spyridon97](https://discourse.paraview.org/u/spyridon97)
#### Post date: [May 26, 2025, 9:11pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/15 "2025-05-26T21:11:19Z")

</div>

[https://gitlab.kitware.com/paraview/paraview/-/merge\_requests/7314](https://gitlab.kitware.com/paraview/paraview/-/merge_requests/7314) has been merged.

Go here: [https://www.paraview.org/download/](https://www.paraview.org/download/) and tomorrow download the nightly version.

Use the clip filter and select exact and unselect Invert. I hope this provides you with the solution you were looking for.

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 27, 2025, 2:17am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/16 "2025-05-27T02:17:15Z")

</div>

thank you!

---

<div class="post-metadata">

### Author: ![spyridon97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/spyridon97/32/11569_2.png) [@spyridon97](https://discourse.paraview.org/u/spyridon97)
#### Post date: [May 28, 2025, 6:43pm UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/17 "2025-05-28T18:43:53Z")

</div>

Since it’s a new feature, I would appreciate it if you let me know of anything weird you see with my non-inverted exact box clip implementation.

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 29, 2025, 5:15am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/18 "2025-05-29T05:15:16Z")

</div>

I used this version, as it was released in 28th,May;

 ![image](https://discourse.paraview.org/uploads/default/original/3X/5/7/57e7e13bfaff2500019d004349f4516f39757cf8.png)  
after setting options, click apply. it seems not working well.  
 ![image](https://discourse.paraview.org/uploads/default/original/3X/3/7/375e9bbbc5d5e2486a785a255582a0fd35bf9187.png)

the result is not section outside ‘Box for clipping’

---

<div class="post-metadata">

### Author: ![spyridon97](https://discourse.paraview.org/user_avatar/discourse.paraview.org/spyridon97/32/11569_2.png) [@spyridon97](https://discourse.paraview.org/u/spyridon97)
#### Post date: [May 29, 2025, 6:00am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/19 "2025-05-29T06:00:18Z")

</div>

It seems that we don’t have nightlies for Windows, only releases (and this feature is not yet part of it).  
You need to either compile master on windows, or download the nightly on Linux/Mac.

@cory.quammen Why don’t we have nightlies on windows?

---

<div class="post-metadata">

### Author: ![JIERSHAO](https://discourse.paraview.org/user_avatar/discourse.paraview.org/jiershao/32/16133_2.png) [@JIERSHAO](https://discourse.paraview.org/u/JIERSHAO)
#### Post date: [May 29, 2025, 6:22am UTC](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554/20 "2025-05-29T06:22:37Z")

</div>

Okay, I see

[Next page](https://discourse.paraview.org/t/how-to-clip-the-model-rightly/16554.md?page=2)
