When using tangent circles in TriRemesh and Tangent Circles in Grasshopper, there seems to be some occasional gaps between some circles. This creates some problems when applying connecting solutions later on. Is there a way to avoid these gaps?
The TangentCircles are tangents to the mesh edges, not neighbouring circles, if you want all the circles/spheres to touch, look into sphere packing instead (look into the Collision goals like SphereCollide etc) - alternatively you could increase the circle size until they all touch.
Also, do yourself a favour and uninstall pufferfish.
Incircles of mesh triangles always touch the edges of their triangles, but the TangentIncircles Kangaroo goal optimises the shape of the mesh so that these are also actually tangent to the incircles of adjacent triangles (based on this wonderful work https://www.geometrie.tugraz.at/wallner/packing.pdf from @snabela and @mathias).
There are times when a collision based packing is more useful, particularly if you want to directly control radii, but where we want exact tangency, I do think that TangentIncircles (which produces varying radii in order to achieve tangency) is the way to go.
The issue in @pegelatrin’s definition is that this goal is not being fully satisfied because it is competing with the OnMesh goal, and the creased mesh the vertices are being kept on does not allow enough freedom for them to move. One option would be to simply increase the strength of the TangentIncircles goal.
Another thing that would probably help would be to generate a smoother(eg with Weaverbird’s Loop subdivision) target mesh to use as the target in the OnMesh.
Hi, thanks for the feedback, but maybe I should explain why its a problem, in case it can be solved another way.
I am dividing the circles into three-side shapes based on the circles. The circles are shattered at the tangency, however, where a gap occurs the circles seem to not shape where the tangency is and they become too uneven to connect.