# vmtkMeshGenerator error

**URL:** https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889
**Category:** VMTK
**Created:** [July 23, 2021, 8:11am UTC](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889 "2021-07-23T08:11:24Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 23, 2021, 8:11am UTC](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889/1 "2021-07-23T08:11:24Z")

</div>

hi,i use vmtkMeshGenerator to get volume meshing,follow this example:[http://www.vmtk.org/tutorials/MeshGeneration.html,but](http://www.vmtk.org/tutorials/MeshGeneration.html,but) i get the error that is TetGen command line options: pq1.414000q10.000000q165.000000YsT1.000000e-08zQm on win10 and ubantu.

 ![1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/a/eae74344ce29e4808fadece7db4286833eec7161.png)  
 ![2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/4/0/40f3ca732fbb30902e085b08fbdb75ef727e6702.png)  
can anyone help me?  
thank you!!

---

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 26, 2021, 6:48am UTC](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889/2 "2021-07-26T06:48:22Z")

</div>

i locate the problem that is in the vtkvmtkTetGenWrapper.cxx file,the position is in 429 line.i have change tetgen versions from 1.4.3 to 1.5.1,but the problem is also extisted.i don’t know how to fix it.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/b/7/b70ed86c9d12a0220f940b49cba2a99c419bdf04.png)

---

<div class="post-metadata">

### Author: ![junqiangchen](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/junqiangchen/32/11541_2.png) [@junqiangchen](https://discourse.slicer.org/u/junqiangchen)
#### Post date: [July 27, 2021, 9:18am UTC](https://discourse.slicer.org/t/vmtkmeshgenerator-error/18889/3 "2021-07-27T09:18:08Z")

</div>

i use the surface mesh result skip the generating volume mesh of vmtkMeshGenerator replacing with using gmsh tool to generate volume mesh.fist fig is surface mesh,second is volume mesh.

 ![2](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/6/f/6fcb15407b45621dd86327d57272f6beee11ef67.png)  
 ![3](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/0/a/0a7ce0c8f3a3c0b81df3d43b34e5ab3005680592.png)  
 ![1](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/e/6/e67c08438a5d30a50683a8bc4b68021fa8770f58.png)
