# Surface Intersection

**URL:** https://discourse.slicer.org/t/surface-intersection/19630
**Category:** Support
**Created:** [September 12, 2021, 2:33pm UTC](https://discourse.slicer.org/t/surface-intersection/19630 "2021-09-12T14:33:40Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Fluvio\_Lobo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fluvio_lobo/32/81262_2.png) [@Fluvio\_Lobo](https://discourse.slicer.org/u/Fluvio_Lobo)
#### Post date: [September 12, 2021, 2:33pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/1 "2021-09-12T14:33:41Z")

</div>

Hello,

I am trying to calculate the intersection of two surface models to design an orthognathic splint.  
The intersection will be used as a flag for the mandible to stop rotating and set the occlusion.

 ![intermediate](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/3/3/3311794f08951d37237b2db0df44655ebb71a8a8.png)

I found [this post](https://discourse.slicer.org/t/new-experimental-feature-boolean-operations-union-intersection-difference-on-meshes/16048) but cannot seem to find the **Sandbox** extension nor the **Combine Models** module! I am running **Slicer 4.13.0-2021-07-29 r30081 / 3b37852**

If there are other clever ways of doing this, without having to create segments out of the models, I am all ears!

Thank you,

---

<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: [September 12, 2021, 2:44pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/2 "2021-09-12T14:44:38Z")

</div>

If your input data set is a CT volume then creating the splint using Segment Editor is the most suitable tool (as you have relatively low accuracy due to the limited resolution of the CT volume).

If you also have surface scans then it may make sense to use the high-accuracy scanned surfaces directly. For this, the Combine models module can be used. You can find Sandbox extension in the very latest Slicer Preview Release (the Extensions Server is being transitioned to a new system, so it is more complicated to access extensions in older Slicer versions).

---

<div class="post-metadata">

### Author: ![manjula](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/manjula/32/80981_2.png) [@manjula](https://discourse.slicer.org/u/manjula)
#### Post date: [September 12, 2021, 3:03pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/3 "2021-09-12T15:03:58Z")

</div>

Just my thoughts on this,

I think it is better to use the collision detection for the application you plan to use. We have done it in Bone reconstruction planner and Prof Lasso or Mauro will be able to tell you on how to technically implement it. The best thing about is that the user can decide how much intersection (intercuspation) is acceptable so the surgeon can decide it. Only drawback in both methods is that (intersection and collision detection ) is that it is implemented on the whole arch. If it can be implemented in a tripod fashion then it will be ideal.

> <https://github.com/SlicerIGT/SlicerBoneReconstructionPlanner/blob/a7f80c02d7be62acccd880cd6235f36d73dd76ad/BoneReconstructionPlanner/BoneReconstructionPlanner.py#L2372-L2388>

---

<div class="post-metadata">

### Author: ![Fluvio\_Lobo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fluvio_lobo/32/81262_2.png) [@Fluvio\_Lobo](https://discourse.slicer.org/u/Fluvio_Lobo)
#### Post date: [September 12, 2021, 3:49pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/4 "2021-09-12T15:49:08Z")

</div>

> If you also have surface scans then it may make sense to use the high-accuracy scanned surfaces directly. For this, the Combine models module can be used. You can find Sandbox extension in the very latest Slicer Preview Release (the Extensions Server is being transitioned to a new system, so it is more complicated to access extensions in older Slicer versions).

I am actually combining **surface scan** and CBCT data. I will update to the latest slicer version and use the module.

Thank you!

---

<div class="post-metadata">

### Author: ![Fluvio\_Lobo](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/fluvio_lobo/32/81262_2.png) [@Fluvio\_Lobo](https://discourse.slicer.org/u/Fluvio_Lobo)
#### Post date: [September 12, 2021, 3:51pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/5 "2021-09-12T15:51:31Z")

</div>

@manjula,

I agree, this is may be more appropriate. I am also glad is already part of SlicerIGT!

---

<div class="post-metadata">

### Author: ![mau\_igna\_06](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/mau_igna_06/32/9056_2.png) [@mau\_igna\_06](https://discourse.slicer.org/u/mau_igna_06)
#### Post date: [September 12, 2021, 7:25pm UTC](https://discourse.slicer.org/t/surface-intersection/19630/6 "2021-09-12T19:25:21Z")

</div>

Make another post on discourse if you need help with the collisionDetectionFilter. @manjula gave you a code example to get you started

Mauro
