I am trying to create a Geometry Nodes for hanging grass on the outside edges of planes.
After deleting the original faces, I resample the curve to add many points, then extrude along Z at a random value to create the grass effect:
However, I don't want the grass to go straight down, but be angled at a 45 degree angle along its normals.
The problem is, when I resampled the curve to add many points, I had to split the edges so the original points were included in the curve:
When I exclude the split edges node, I can first extrude along the Z, and then use that node's Top selection to size my extrusion along the normals, giving me the 45 degree angle:
However, when I include the split edges node, the normals aren't maintained:
I need both the original points in the curve, without splitting the edges to maintain the normals for the angle. I've tried both not splitting the edges and trying to incorporate the original points into the curve, and keeping the split edges in but trying to recalculate the normals with the "Set Curve Normal" node, but couldn't get either implementation to work.
My second problem is that, since I first extrude along the Z, then resize my extrusion along normals, I'm having a hard time randomizing along the angle, to get the straight hanging grass from the first image:
I've tried to give the same value to the Z extrusion and the Resize, with no luck: