Closed ThomasChauve closed 3 years ago
You just have to filter your tesr before meshing to solve topological issues, using -transform rmsat,grow
:
$ neper -T -loadtesr CI02_539x495_micro.txt -transform "rmsat,grow" -o filtered
$ neper -M filtered.tesr -rcl 0.5 -mesh2dalgo fron,dela
$ neper -V filtered.tesr,filtered.msh -datavoxedgerad 0 -datacellcol id -dataelsetcol id -imagesize 600:600 -cameraangle 12 -showelt1d all -dataelt1drad 0.2 -showtesr 1 -showmesh 0 -print filtered-tesr -showtesr 0 -showmesh 1 -print filtered-mesh
(-transform
changes only 3 pixels...)
Neper does not take VTK files as input, and it can mesh a 3D tesr by approximating it as a tess (-morpho tesr:file()
), see Quey and Renversade, 2018.
Hello, Thanks for the tools you provide. I was trying to do transform a tesr to mesh and I got an error. My tesr is a custom one build for a VTK file. Therefore it can be no written correctly. Anyway I got this error :
Here is the input file. I just rename the '.tesr' ' to '.txt' as github was not ok to take 'tesr' CI02_539x495_micro.txt
Therefore I have a couple of question :
Thanks for the great work. Best Thomas Chauve
PS: I am using Ubuntu 20.04 and Neper 4.1.2