Parametric facade mapped to curve

Hi there!

Does anyone know how I might adapt a parametric shading script to follow a curve? I have attempted it but have run into some errors.



ParametricShading2exp.3dm (43.8 KB)
ParametricShading2exp.gh (36.7 KB)