# Mesh generation using Cleaver method

**URL:** <https://discourse.slicer.org/t/mesh-generation-using-cleaver-method/27171>\
**Category:** Support\
**Created:** [January 10, 2023, 4:37pm UTC](https://discourse.slicer.org/t/mesh-generation-using-cleaver-method/27171 "2023-01-10T16:37:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZSoltani](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zsoltani/32/17166_2.png) [@ZSoltani](https://discourse.slicer.org/u/ZSoltani)\
**Post date:** [January 10, 2023, 4:37pm UTC](https://discourse.slicer.org/t/mesh-generation-using-cleaver-method/27171/1 "2023-01-10T16:37:59Z")

</div>

HI ALL,

I’m trying to use Cleaver for meshing a vertebra in Segment Mesher. The output contains regions with different mesh resolutions and the volume elements looks bizarre too (below images). I appreciate any comment on what can be the potential reasons and how they might be fixed.

Thanks,

Zahra

 ![Screenshot from 2023-01-10 06-25-22](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/a/aae56359eb7a3dc83450d79ba2060a9806d42f82.jpeg)

 ![Screenshot from 2023-01-10 06-25-42](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/9/9/99d8c366626be7113dc67cbd61fc94bf54492e56.jpeg)

---

<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:** [January 10, 2023, 5:11pm UTC](https://discourse.slicer.org/t/mesh-generation-using-cleaver-method/27171/2 "2023-01-10T17:11:44Z")

</div>

Those darker areas look like triangles with flipped normals on my opinion

Please check if [vtkPolyDataNormals](https://vtk.org/doc/nightly/html/classvtkPolyDataNormals.html) works for you

Hope it helps

---

<div class="post-metadata">

**Author:** ![ZSoltani](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zsoltani/32/17166_2.png) [@ZSoltani](https://discourse.slicer.org/u/ZSoltani)\
**Post date:** [January 10, 2023, 5:19pm UTC](https://discourse.slicer.org/t/mesh-generation-using-cleaver-method/27171/3 "2023-01-10T17:19:48Z")

</div>

Thanks @mau_igna_06 for your reply. Perhaps below image can show the darker area better.

 ![Screenshot from 2023-01-10 07-20-06](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/8/a860319cc5405cba68ad120ca8d5f3808b5bab04.jpeg)
