Hello,
I got a task where triremesh could help me produce good quality meshes but I struggle with at least one part of the process.
In short: I am trying to fill gaps between two meshes and have one mesh without any naked vertices inside.
This file is just an example, my geometries will vary a lot.
GH File: Triremesh test.gh (1.5 MB)
-
Starting two meshes
-
To connect meshes I used loft and then remeshed input.
Result of a loft between meshes (remeshed) -
Because the polyline edge of the bottom part may have a different number of vertices than the edge of the upper, smaller mesh I tried to stitch meshes together with the use of script from that post:
Join the vertices of two different meshes? - #11 by DanielPiker
but I always have some naked vertices nonetheless.
Stitched meshes and naked vertices marked in blue.
My goal is to have one good quality triremeshed mesh which I can then take to Blender and sculpt in it or use in Rhino to trim, offset, etc.
My problems:
a) even if I stitch meshes and align vertices I still have inner naked vertices/edges. If I would take mesh like that and sculpt in it I will have visible gaps.
b) preservation of vertex normals after stitching (it may be rendered afterward so bad vertex normals are a bit of a problem)
c) method of connecting meshes - I doubt that my method based on lofting edges and then turning surface into mesh is the most optimal one, but I couldn’t find any better solution (note that my meshes may not be planar). Do you have any suggestions for a better method to “patch” meshes?