Questions tagged [tetgen]

TetGen is a mesh generator written in C++, designed to partition any 3D geometry into tetrahedrons by employing a form of Delaunay triangulation.

Homepage: http://wias-berlin.de/software/tetgen/

TetGen can be used as a library or built as a standalone program. The code has been incorporated into software packages such as Mathematica and Gmsh.

A Python interface to TetGen is available through MeshPy

28 questions
0
votes
0 answers

Can Tetgen generate curved 2nd order tetrahedra?

It looks like the midside nodes (generated with -o2 option) are always at the midpoints of the corner nodes. Is there a way to make them fit the shape of the surface?
user1318499
  • 1,327
  • 11
  • 33
0
votes
1 answer

Tetgen expression -d unexpected output

I am trying to clean some meshes with the help of tetgen. Starting tetgen with python subprocess and saving my output in a file like this run(["tetgen", "-d", Model+"\\Cat\\Cat.ply"], stdout= log_output, encoding="utf-8") I get this result:"For…
gmarco97
  • 35
  • 8
0
votes
1 answer

How to mark faces of a hole in Tetgen?

Using a .poly file, I created models with holes in them. I would like to mark/identify the faces bounding these holes. Is there a way? Maybe using regions?
Snowman
  • 1,503
  • 1
  • 17
  • 39
0
votes
1 answer

How to convert from .mesh format to .nodes, .ele and .face format?

I have a 3d mesh in .mesh format which can be read by medit visualization program. However I need to convert it into the .nodes, .ele and .face format that is the output format of tetgen (the 3d Delaunay tetrahedralization program) . What is the…
praveen kr
  • 115
  • 8
0
votes
1 answer

why leads pointer cast from double*** to double** to a write access violation?

I have to integrate the code from tetgen (mesh generator), which is obviously used quite often. However, I have to use the old version (1.4.3 instead of 1.5) and this gives me a 'write access violation'. The relevant function is here: void…
sciloop
  • 1
  • 1
0
votes
1 answer

Ubuntu - tar.gz download error because website changed their address

I am trying to compile dependencies of a C++ framework called FW4SPL with cmake in the terminal. By typing in the command make -j4, it will automatically download, build and install each dependency. But there is an error during the compilation. --…
Senyokbalgul
  • 1,058
  • 4
  • 13
  • 37
0
votes
2 answers

How to use direct "tetgen.h" and the functions to generate meshes without using "tetgen.exe"?

Our team is working on a project in which we are using tetgen file for generation of 3D meshes and right now we are using you tetgen.exe file to get results. Now what we want to do is to use direct tetgen.h and the functions to generate meshes…
Aditya
  • 121
  • 1
  • 5
0
votes
0 answers

Tetgen in C Language

I am currently using Tetgen to generate Delaunay triangulation, but since I have to use C programming language and not C++, is there a way in which I can call Tetgen from C? Thank you in advance
NotMe
  • 65
  • 5
0
votes
1 answer

LNK 2028 - 2019 / Managed and Unmanaged C++ ? (VS 2008)

I am trying to link an open-source library to one of my project. The library is unmanaged (named Tetgen) and my project is in managed C++. My project recognizes the header and can use the functions defined in it. But I get a 2028 error each time it…
ccote
  • 111
  • 11
0
votes
1 answer

Using tetgen or triangle (or meshpy) to create a hollow dome

I'm using tetgen to try to create a hollow dome. I was using triangle and then just triangulating a circle and raising the z values according to the equation z = sqrt(abs(r^2 - x^2 - y^2)) but I was getting very bad stretching near the edges. So…
fatalaccidents
  • 192
  • 1
  • 2
  • 13
0
votes
1 answer

Create C++/CLI Wrapper for native C++ code

I currently need to write a C++/CLI wrapper for a native C++ library (TetGen) for later use in a C# project. I have read quite a few articles on how to do this but am at a loss with my linker errors. A chap called "Sam Agten" tried to accomplish…
lhiapgpeonk
  • 457
  • 1
  • 5
  • 18
0
votes
1 answer

Modify default behaviour of TetGen

I am writing some code that utilizes the TetGen library to find the convex hull of a set of points. However, by default tetrahedralize("Q", &in, &temp); generates both the convex hull and the 3D Delaunay tetrahedralization. I am inclined to…
E.O.
  • 794
  • 6
  • 16
  • 24
0
votes
1 answer

Code::Blocks where are "compile switches"?

I have a problem of terminology here, that would be super nice if you can help, I am not sure what this means. On the tetgen website, the instructions to compile the tetgen library on Windows are as follows: To create a library do the following…
adrienlucca.net
  • 677
  • 2
  • 10
  • 26
1
2