*On 03/08/2015 at 04:48, xxxxxxxx wrote:*

Hello,

*(May be it's not directly related with Python coding but overall I'm writing those in python for formula spline)*

I'm trying to adapt some nice useful equations to Cinema 4D.

Some of them I was able to adapt but some with integrals I cannot understand;

(How to adapt integrals ?)

I even asked one of my mathematician friend. She explained but we could not find how to adapt it to Cinema 4D. Here is one example of Cornu or Eulers Spiral

http://paulbourke.net/geometry/cornu/

I tried to write it as :

cos ( (t*pi*sqr(100) / 2))

sin ((t*pi*sqr(100) / 2))

But did not work. Can anyone explain me please? I want to learn syntax not only try to solve it. (Because there are lots of other examples to adapt)

And also from formula appendix there is an example for conditions :

like if (3=3;10;20) what is the meaning of field after first semicolon and other semicolon. Normally after if condition there is a rule but here there are two. Confused.

What is it for ? : Well I have already done 35 formula splines with userdata controls. I'm planning to make a library about it. So I would be glad if anyone help me.

Regards