I want to create a curve that shrinkwraps to the mesh but the curve has a start and endpoint defined using vertex groups. The curve has to also be able to array in the mesh but it will not spill out of the boundary.
Green boxed vertices is StartPoint.
Blue boxed vertices is EndPoint.
Image 1: The Yellow is the Curve and the starting point of the Curve.
Image 2: The curve is arrayed but is limited by the mesh. Higher numbers will work but the curves will be squeezed in order to fit the mesh.
I have tried what I know and failed to create this in geonodes.
Edit 1: It seems there are some misunderstanding due to my bad explanation. I will provide further explanation
Let's say there is this plane. In the plane, I will select a row of vertices and mark it as a vertex group named Start, and select another row of vertices then mark it as a vertex group named End. This vertex group will determine the starting and ending point of the "Yellow" curve.
Now, I have to make the vertex group "Start" as a curve so it can be divided procedurally using [subdiv node]. So, I used a [mesh to curve] node, plugged the geometry in, plug the vertex selection in to the "selection" socket on the node, and expected it to turn the row of vertices in to a curve. It didn't because it also included the the neighboring vertices which isn't even marked as a vertex group. I'm stuck with that problem since it's the same as the "End" group.
Here is an image of the problem:
Edit 2: I'm now able to connect the curve on the start and end point but I need to make it the same with the other points. Doing it manually wont work since new points will be added procedurally using subdivision.
Blend file: https://filebin.net/pb8q7sjrb9nk55qo/kami.blend