Custom mullion profile along surface

Hi all good mighty grasshopper gods,

I’m still a newbie to gh and had written a code which you can see as attached. What I intend to do is to create it so that I can use any shape/customised profile as mullion to sweep along isocurves or any curves projected onto any surface.

I couldn’t figure out why the remap didn’t work out properly…

190912_custom louvre (47.6 KB) test custom mullion profile.3dm (76.7 KB)

This works as it’s an extrusion.

However with this one… nope

190912_custom louvre (51.7 KB)

Beautiful all mighty HS_Kim!

Saviour of the day!