# Cutting model with planes using dynamic modeler

**URL:** <https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711>\
**Category:** Support\
**Tags:** segmentation\
**Created:** [November 20, 2020, 3:21pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711 "2020-11-20T15:21:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomek](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tomek](https://discourse.slicer.org/u/Tomek)\
**Post date:** [November 20, 2020, 3:21pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/1 "2020-11-20T15:21:42Z")

</div>

I am relatively new to slicer beginning to test out the features to use in my research project. So far I was able to get by with information I found in this forum or the wiki. But I got to a point that I am stuck. My goal is to divide a 3D model of periatrial fat into regions with regard to the adjacent left atrial wall by drawing planes and calculate the partial volumes.

Operating system: Win 10  
Slicer version: 4.11.20200930  
Expected behavior: cutting a 3D Model with multiple planes through the dynamic modeler feature to create separate model parts.  
Actual behavior: nothing seems to be happening after selecting model node and plane nodes; trying different parameter and output node options.  
This is how it looks:

 ![Screenshot_1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/8/68aee887c52b58d9b1978e5f0afaa08a22e2597f.png)

I would really appreciate any help in this regard to point out any things I am missing.

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 20, 2020, 3:44pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/2 "2020-11-20T15:44:31Z")

</div>

By default Dynamic modeler is giving the output as the same color as the original model. So it might be working fine and you might not be noticing anything until you actually go to Data module and check the output and change the colors.

Right after the apply the cut, it looks like this:

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/a/7a1caeb5af30b708cc6ec2356adee67e0738350a.jpeg)  
But when I set the colors of different cuts, i can see them (you can see the original model bleeding through the cuts as yellow):

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/5/a/5abea32c4e2edbf8b4974389b97af2d1c423e495.jpeg)

---

<div class="post-metadata">

**Author:** ![Tomek](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tomek](https://discourse.slicer.org/u/Tomek)\
**Post date:** [November 20, 2020, 4:02pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/3 "2020-11-20T16:02:56Z")

</div>

Thank you very much for your answer. You are right about the color behavior of the models. The models are generated in the Data section but changing colors does not yield a result as in your case, unfortunately.

 ![data view](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/b/0b25da6057d87a5ff7d49606829af5298bafec2c.png)  
 ![settings fat](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/c/6/c6c00b36fc8c6b4b4fbfa2e0f6ce26a506835b1b.png) .

---

<div class="post-metadata">

**Author:** ![smrolfe](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/smrolfe/32/3659_2.png) [@smrolfe](https://discourse.slicer.org/u/smrolfe)\
**Post date:** [November 20, 2020, 5:37pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/4 "2020-11-20T17:37:36Z")

</div>

Have you tried checking the properties of the output models (Model\_2 and Model\_3)? This might help narrow down the issue. In the Models menu under ‘Information’ you can check the number of points and cells.

---

<div class="post-metadata">

**Author:** ![Tomek](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tomek](https://discourse.slicer.org/u/Tomek)\
**Post date:** [November 20, 2020, 5:59pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/5 "2020-11-20T17:59:19Z")

</div>

Thank you for your input. I checked the properties of my models, strangely the 3D Fat model I was using had no Information (blank fields) the same was true for the generated Model2, Model3.  
I loaded my fat model .vtk again (which than displayed properties values) and again used the dynamic modeler (trying all possible settings like union, intersection…) to generate the new models, with the same result (properties remain blank / models not visible)

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [November 20, 2020, 6:30pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/6 "2020-11-20T18:30:37Z")

</div>

You can check the log file (Ctrl + 0) to see if there are any errors generated by the module. Alternatively, try other modes of operation and see if it is unique to the difference mode.

---

<div class="post-metadata">

**Author:** ![Tomek](https://avatars.discourse-cdn.com/v4/letter/t/3ab097/32.png) [@Tomek](https://discourse.slicer.org/u/Tomek)\
**Post date:** [November 20, 2020, 7:13pm UTC](https://discourse.slicer.org/t/cutting-model-with-planes-using-dynamic-modeler/14711/7 "2020-11-20T19:13:16Z")

</div>

> [@smrolfe](#):
>
> Have you tried checking the properties of the output models (Model\_2 and Model\_3)? This might help narrow down the issue. In the Models menu under ‘Information’ you can check the number of points and cells.

I found the problem with your help. I suppose the problem somehow was that my first model had a problem with the “properties being missing”. After loading it again, at first I did not delete my “plane cut”. But after going through the whole process again (loading .vtk model and creating new planes and a new “plane cut” in the dynamic modeler, it worked.

 ![Screenshot done](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/2/92596ae9eb290f82392c83f15204645c9043670d.jpeg)

Thank you both.
