Hi,
i started last week with rhino and grasshopper and i wanna make this work faster, so i wanna try to automatic some steps.
I have to create a wave relief on a wood plate for cnc routing. The base are splines from AutoCAD.
I created manually one testplate and this is the result: (now I wanna make some work automatic for same and faster result, because i needed for this plate 2h and i have to do 50m² individual plates )

Manually closed splines divided into two curves each (manually in rhino)

Rebuilt the curves (done in grasshopper)

Created a Middlecurve (done in grasshopper) 4. The points of this Middlecurve I manually moved 0-10mm down (i dont know how to automatic this one)

Then the curves were merged with Loft (done in grasshopper)

Trimmed from solid (manually in rhino - maybe later in grasshopper)

And created a closed solid from the faces (manually in rhino - maybe later in grasshopper)

The tricky problem is also to get the optimal depth of the Middlecurve. The maximal depth is 10mm(in the best way it is variable with a slider) and the other depth should be variable of the distance of the points(0-10mm). Is the point distance 0, the depth of the middlecurve should be 0, too.

t
Can anyone help me to change the Z Coordinate of the Points from the MiddleCurve?
Or does anybody know a answer for the variable depth of the MiddleCurve?

I divide each curve, put a line between the 2 borders, it gives me a middle point and a length (useful to move down the point)
Then evaluate each length of line, use Graph Mapper to scale the movement in Z depending on the normalized length of lines, the move the middle point then make a curve Wellenrelief aus 2 Kurven generieren_LD.gh (17.1 KB)

I have another question about the minimum value.
So that the curve runs out nicely and homogeneously, I divided the curve and simply deleted the part that I is drawn by the designer.

But now, if the ends of both curves never meet, I don’t have a 0 value and the graph. It always calculates everything from the lowest value.