# "Model Maker" mesh generation algorithm

**URL:** <https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401>\
**Category:** Support\
**Created:** [December 5, 2019, 2:18pm UTC](https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401 "2019-12-05T14:18:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gonzalo\_Rojas\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gonzalo_rojas_costa/32/5259_2.png) [@Gonzalo\_Rojas\_Costa](https://discourse.slicer.org/u/Gonzalo_Rojas_Costa)\
**Post date:** [December 5, 2019, 2:18pm UTC](https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401/1 "2019-12-05T14:18:42Z")

</div>

Operating system: Any  
Slicer version: 4.10.2  
Expected behavior: The mesh generated using “Model Maker” option, has points or triangles? Which algorithm uses “Model Maker” option?  
Actual behavior:

---

<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:** [December 5, 2019, 2:22pm UTC](https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401/2 "2019-12-05T14:22:50Z")

</div>

It uses a number of VTK filters. See complete implementation here: [https://github.com/Slicer/Slicer/blob/master/Modules/CLI/ModelMaker/ModelMaker.cxx](https://github.com/Slicer/Slicer/blob/master/Modules/CLI/ModelMaker/ModelMaker.cxx)

---

<div class="post-metadata">

**Author:** ![Gonzalo\_Rojas\_Costa](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/gonzalo_rojas_costa/32/5259_2.png) [@Gonzalo\_Rojas\_Costa](https://discourse.slicer.org/u/Gonzalo_Rojas_Costa)\
**Post date:** [December 5, 2019, 3:55pm UTC](https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401/3 "2019-12-05T15:55:01Z")

</div>

The mesh generated with “Model Maker” has triangles or only points?

---

<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:** [December 5, 2019, 6:26pm UTC](https://discourse.slicer.org/t/model-maker-mesh-generation-algorithm/9401/4 "2019-12-05T18:26:52Z")

</div>

Model maker generates a surface mesh consisting of points and triangle cells.
