I want to apply an Array Modifier using a function based on the counter number. For example, X Displace = Count**2
, I tried to use modifiers["Array"].constant_offset_displace[0] = modifiers["Array"].count**2
, but the result is the count value squared, like the print:
I was expecting for Instance 01 of the Array Modifier to result to $x=1**2 (=1)$, for Instance 02 to $x=2**2 (=4)$, for Instance 03 to $x=3**2 (=9)$, and so on... The graphic result is a curve, not a constant like what happens on the print.
How can I do this?
Thanks!