Adaptive component on a curved surface

Hello, I’m new to Dynamo and Vasari and am trying to place an adaptive component along a curved surface. I have used a Grid to Quad node to split the surface into quads to array the component (which has 4 adaptive points). The adaptive component has a height parameter that is driven by an image. The problem I am having is that whenever the curve is convex, there are gaps in between the components, and when the curve is concave, the components overlap. Is there a way to make the AC continuous so that they abut to each other nicely?




One other thing to keep in mind here is that you should use the "Adaptive Component by UVs on Face" for this, as this will allow you to access the surface normals of the underlying form

It's all in the normals...

(EDIT: faulty link)