Saw tooth script - transform to along crv

Hi there,
I am trying to adopt the excellent saw_tooth_2024 script from Joseph_Oster to follow it a crv. I am not able to transform it. Attached is my test. If somebody could help me pointing what to do would be highly appreciated.

Thanks in advance. best marcel

saw_tooth_2024Aug14_alongspline.ghx (370.8 KB)

facade_louvertest.3dm (304.6 KB)

Are you referring to this thread?

Your code looks very much like mine? Creating multiple threads won’t help you.

yes. exactly. it is your code. sorry. was not implying on it. I try to adopt your code but failed.

“adapt”. It is customary to mention the source of copied code, including a link to it.

Hi Joseph, Sorry i did not wanted to upset you. Is it possible to edit the post for including the link to your original one? marcel