[Gmsh] Shared boundaries between two stl model

Christophe Geuzaine cgeuzaine at uliege.be
Tue Nov 17 10:07:52 CET 2020

> On 11 Nov 2020, at 09:50, Yue Yu <yuyue930307 at gmail.com> wrote:
> Hi,
> I am currently using gmsh to mesh two .stl models. I have two .stl model, brain tissue and tumour. I need to mesh the shared boundary explicitly between brain tumour and brain tissue. I am now able to use GMSH remeshing the surface of one .stl file and mesh the volume. Can GMSH mesh two .stl files (brain and tumour, part of the tumour is inside the brain, so they have connected boundaries), and give explicit boundary (connected nodes…)?

If the 2 STL meshes match you could remove the duplicate nodes and proceed as usual. See e.g. https://gitlab.onelab.info/gmsh/gmsh/-/blob/master/demos/api/glue_and_remesh_stl.py


> Many thanks,
> Best Regards,
> Yue
> Sent from Mail for Windows 10
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

More information about the gmsh mailing list