# Hex Meshing Extension

**URL:** <https://discourse.slicer.org/t/hex-meshing-extension/2996>\
**Category:** Support\
**Created:** [May 29, 2018, 3:08pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996 "2018-05-29T15:08:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![HarishRRao](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@HarishRRao](https://discourse.slicer.org/u/HarishRRao)\
**Post date:** [May 29, 2018, 3:08pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996/1 "2018-05-29T15:08:34Z")

</div>

Hello,

I discovered that a hex-meshing extension called IA-FEMesh was available in the Slicer version 3.6 and I do not see it anymore. Is it discontinued or is there another extension which can perform hex meshing of segmentations?

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [May 29, 2018, 3:48pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996/2 "2018-05-29T15:48:17Z")

</div>

I’m afraid we didn’t have resources to bring the IA-FEMesh code into the 4.x version.

---

<div class="post-metadata">

**Author:** ![HarishRRao](https://avatars.discourse-cdn.com/v4/letter/h/ee7513/32.png) [@HarishRRao](https://discourse.slicer.org/u/HarishRRao)\
**Post date:** [May 29, 2018, 4:04pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996/3 "2018-05-29T16:04:14Z")

</div>

Thanks @pieper

Are there any alternatives to perform a hex mesh within Slicer?

---

<div class="post-metadata">

**Author:** ![brhoom](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/brhoom/32/1228_2.png) [@brhoom](https://discourse.slicer.org/u/brhoom)\
**Post date:** [May 29, 2018, 4:25pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996/4 "2018-05-29T16:25:11Z")

</div>

I found this [openSource](https://github.com/gaoxifeng/Robust-Hexahedral-Re-Meshing) but I didn’t test.

---

<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:** [May 29, 2018, 4:46pm UTC](https://discourse.slicer.org/t/hex-meshing-extension/2996/5 "2018-05-29T16:46:50Z")

</div>

There are many mesh generators out there and it should be quite easy to extend the Segment Mesher module to work with them.

The Segment Mesher is essentially just a Python script, which converts input image or mesh to a format that the mesher accepts, runs the meshing algorithm, and imports the result back into Slicer. The module can already use two libraries (TetGen and Cleaver2) - extending it to support more should not be a problem.
