# Internalerror in findedge() TetGen Problem

**URL:** <https://discourse.slicer.org/t/internalerror-in-findedge-tetgen-problem/22193>\
**Category:** VMTK\
**Created:** [February 26, 2022, 11:01am UTC](https://discourse.slicer.org/t/internalerror-in-findedge-tetgen-problem/22193 "2022-02-26T11:01:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![19lollo95](https://avatars.discourse-cdn.com/v4/letter/1/82dd89/32.png) [@19lollo95](https://discourse.slicer.org/u/19lollo95)\
**Post date:** [February 26, 2022, 11:01am UTC](https://discourse.slicer.org/t/internalerror-in-findedge-tetgen-problem/22193/1 "2022-02-26T11:01:28Z")

</div>

Hello everyone,  
I’m having trouble using the command “vmtkmeshgenerator” to obtain internal tetrahedral mesh, in particular starting with this command:

`vmtk vmtkmeshgenerator -ifile sup3.vtp -skipremeshing 1 -volumeelementfactor 1 -ofile mesh.vtu`

I obtain the following output:

```auto
...
...
Duplicating background mesh.
Internalerror in findedge(): Unable to find an edge in subface.
ERROR: In ../vtkVmtk/Misc/vtkvmtkTetGenWrapper.cxx, line 431
vtkvmtkTetGenWrapper (0x7fa3b27ef170): TetGen quit with an exception.
...

```

What do you suggest me to do?  
Thanks in advance.
