Extrude along straight line with domain, or "height"

Hi everyone,
I would like to extrude a surface along a line with a specific domain using a parameter.
It is not possible to use a unit z because the line is on a angle. Therefore i thought extrude along this particular line is the best option, only I keep getting stuc on the domain function.

I hope anyone can help me.

Greetings Koen
RHINOFORUM4.gh (851.8 KB)

you can take this central Line, cast as Vector, give it amplitude 0.3 units:

and then use that single vector to extrude all your surfaces:

RHINOFORUM4_Re.gh (858.1 KB)

You are amazing, thank you for your help!