Create volumetric mesh from segmentation using Cleaver2 or TetGen
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Segment Mesher extension

This is a 3D Slicer extension for creating volumetric meshes from segmentation using Cleaver2 or TetGen.

Cleaver2 mesher is freely usable, without any restrictions. TetGen mesher is only free for private, research, and educational use (see license for details).

Alt text


  • Download and install a recent nightly version of 3D Slicer (
  • Start 3D Slicer application, open the Extension Manager (menu: View / Extension manager)
  • Install SegmentMesher extension.


  • Start 3D Slicer
  • Load a volume (for example: switch to SampleData module and load MRBrainTumor1 imaage)
  • Switch to Mesh Segmenter module (in Segmentation category)
  • Select "Create new Model" for Output model (this will contain the generated volumetric mesh)
  • Click Apply button and wait a about a minute

Visualize and save results

  • Open "Display" section to enable clipping with slices.
  • Go to "Segmentations" module to hide current segmentation.
  • Switch to "Models" module to adjust visualization parameters.
  • To save Output model select in menu: File / Save.

Alt text

Mesh generation parameters

Cleaver parameters are described at Increase --scale parameter value to genereate a finer resolution mesh.

TetGen parameters are described at


Cleaver is an Open Source software project that is principally funded through the SCI Institute's NIH/NIGMS CIBC Center. Please use the following acknowledgment and send references to any publications, presentations, or successful funding applications that make use of NIH/NIGMS CIBC software or data sets to SCI: "This project was supported by the National Institute of General Medical Sciences of the National Institutes of Health under grant number P41 GM103545-18."

TetGen citation: Si, Hang (2015). "TetGen, a Delaunay-based Tetrahedral Mesh Generator". ACM Transactions on Mathematical Software. 41 (2): 11:1-11:36. doi:10.1145/2629697