Creating a surface from a profile following a specific Z-axis path

I am trying to generate a surface in Grasshopper that starts from a given profile and follows a specific trajectory along the Z-axis. I want to use Graph Mapper to control variations or transformations of the profile as it moves along this path.

So far, I have created the profile I want to use, but I haven’t been able to generate the trajectory along the Z-axis.

The profile I want to follow is similar to the one shown in the attached image

Any tips, examples, or suggestions would be greatly appreciated!

Forum_qst.3dm (47.8 KB)
Forum_qst.gh (9.4 KB)

Hi Jhony

I am trying to figure out what your intended output is, I can’t really tell from your script. A couple of things I noticed though:

Range component gives graphmapper 101 values (for Z) not 100 values like X & Y. On the range component use the expression X-1 so the range is 0-99, which is 100 values.

The output from the graphmapper is basically all 1’s, try feeding it a range between 0-1 and remapping the values to the domain you want afterwards.

I’m happy to help further if I can get a better idea of what your final output is.


Forum_qstv2.gh (14.0 KB)