# Maximum thickness in Baffle Planner module

**URL:** <https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133>\
**Category:** Support\
**Created:** [June 15, 2021, 2:41am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133 "2021-06-15T02:41:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [June 15, 2021, 2:41am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133/1 "2021-06-15T02:41:09Z")

</div>

Hello all,  
My maximum thickness in the Baffle Planner module is 10. How can I increase it?

![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/7/0/701b6e0893863c1d08ae7840a891ace958c49147.png)

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 17, 2021, 3:24am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133/2 "2021-06-17T03:24:10Z")

</div>

You probably don’t want to increase it much, because if the surface is curved and you make it too thick then you’ll have self-intersections. If the shape that you want to reconstruct is very thick then there better methods to use (e.g., Surface Cut effect and many other tools in Segment Editor module).

Anyway, you can easily change this by locating BafflePlanner.ui file in your Slicer folder and changing `10.0000` in this line to the value that you want to use:

> <https://github.com/SlicerHeart/SlicerHeart/blob/master/BafflePlanner/Resources/UI/BafflePlanner.ui#L157>

---

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [June 17, 2021, 3:35am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133/3 "2021-06-17T03:35:49Z")

</div>

Thank you very much for your response @lassoan. I have the same question about the CreateModels module and I asked this in the forum a few hours ago. Should I do the same thing for increasing the thresholds in that module as well?  
I cannot find any files with the name CreateModels.ui for that.  
Thanks in advance.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [June 17, 2021, 3:55am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133/4 "2021-06-17T03:55:50Z")

</div>

CreateModels module was implemented before Python scripted modules existed. It is implemented in C++, so changing its source code is not an option. If you have any more questions about CreateModels module then then let’s discuss it in [the topic that you created for it](https://discourse.slicer.org/t/increasing-the-maximum-value-range-in-createmodels-module/18175/2).

---

<div class="post-metadata">

**Author:** ![Aep93](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/aep93/32/5990_2.png) [@Aep93](https://discourse.slicer.org/u/Aep93)\
**Post date:** [June 17, 2021, 5:17am UTC](https://discourse.slicer.org/t/maximum-thickness-in-baffle-planner-module/18133/5 "2021-06-17T05:17:56Z")

</div>

OK, thank you very much for your explanations @lassoan.
