I'm trying to make tetgen provide Delaunay tetrahedralization of my stl-model, but always getting some errors about intersecting facets.
The model is an ascii .stl model of a human heart, obtained from computed tomography data (can give a link if needed). First I use adaptive rendering with 100 locality and 1.00 tolerance values to construct it in CTAn software, than repair it using MeshFix. MeshFix outputs either .off or binary .stl files.
If I try to import .off model into tetgen, I always get this error:
Syntax error reading header on line 2 in file off.off.
I can't directly import .stl file into tetgen since it doesn't support binary .stl, so I use MeshLab to convert to acsii .stl first, then import the result into tetgen.
But in this case I have another error:
Found two nearly self-intersecting facets
and it recommends me to decrease the dihedral angle tolerance. I do this only to get the next message:
Found two exactly self-intersecting facets
and it recommends me to use -d prefix to detect all of such facets. I do this and receive next message:
No faces are intersecting
Now I'm confused, since it gives exceptive propositions.
If anyone here is familiar with tetgen, please could you tell me, how can I import my model into tetgen? I tried a few repairing tools and different prefixes, but nothing worked so far.
Also will be really grateful if anyone has a link to a tetgen community, because I didn't find any, though tried.