I tried to write a simple code in python for grasshopper. I wanted to offset a curve on a surface for several times and I defined the loop like what I mentioned in the first photo. the problem is that instead of offsetting each curve in a row it just duplicate the first curve in itself.
Does anyone know what my problem is?
Thanks for your help. Unfortunately, it didn’t make any changes on the final result. Actually, I have assigned a certain factor to “offset” variable and the code is supposed to duplicate each curve in a row with a certain amount. But what it does is that it just duplicate the first curve with the amount assigned to “nodiv” variable and it doesn’t