Parametrize these contour lines

Hello, does anyone have an idea how I can parametrize these contour lines so that modifying one will automatically modify the rest? I’m adjusting my terrain based on the shape of my project, and I would prefer not to have to redraw all my contour lines one by one. Ideally, I would only need to redraw one (the green one), and the others (blue ones) would adjust accordingly. I’ve never used Grasshopper, but I suspect it might be done with it. If there’s another way to achieve this that I haven’t thought of, please let me know. Thank you very much!


It’s not clear to me what you are doing. If you have a terrain, the contour lines are generated based on height sections of the terrain itself, right? So why are you modifying the section?

Sure, the contour lines are already given, but I have some freedom to adapt the terrain to my project, and I need to be able to modify them, always in x and y, and change one so that the rest change as well.

you could delete the lines that you want to replace, and then tween between the new curve and the next you want to keep. But this assumes a linear slope between the two height lines. So I think it makes no sense to do this.

Hello
I think you already asked the same question here

Did you try what I propose ? I understood you wanted to use Grasshopper.
And if you want some test please post some relevant files.

Hi! Yes, it’s me again. I didn’t try your method, and I wouldn’t know how to do it using Grasshopper. I’m attaching my file, in case you’d like to try it. Thank you very much in advance for your attention.
Curves.3dm (491.8 KB)

I made a tool
From that


To

It was not so simple, your curve have Z values, some topographic details made things harder…
But the whole logic is to make vector that transform one curve to the other, then diddipate this vector field.
use this vector field to flow the points of topography along the vector field and stop at the goo distance.


smooth vector field of transform vectorV2.gh (297.7 KB)

Wow, thank you so much for your time. I’m trying to figure out the script. I would need to apply the values to the 3 curves at the beginning, right? The first curve would be my original topography that I want to modify, the second would be a curve that I created and want to replace the original one with, and then I would have to select all the curves I want to modify after modifying the first one? Well, I think I was a bit unclear, I don’t even know how many times I said ‘curves.’ And again, thank you so much!

I think you understand how it works. If you want more simple way of working use Pipeline and layers, something like that, and if you use Rh8 there is now automatic bake component that could bake the outputs in a new layer.