2
$\begingroup$

Is there a way to get the length of a Bezier curve in Python such that I can use it in a driver?

$\endgroup$
2
1
$\begingroup$

The animation node plugin implements a node for calculating the length of a curve:

You find the sources here. enter image description here

An older BA thread also provides some snippets.

$\endgroup$
4
  • $\begingroup$ Is there a way to get this into a driver? $\endgroup$
    – PGmath
    Feb 28 '16 at 22:14
  • $\begingroup$ @PGmath With animation nodes you can modify other objects properties. I never tried to use both. $\endgroup$
    – stacker
    Feb 28 '16 at 22:18
  • $\begingroup$ I am trying to drive a modifier property (array count), can animation nodes do that? $\endgroup$
    – PGmath
    Feb 28 '16 at 23:21
  • $\begingroup$ What you're probably after is: youtube.com/watch?v=ZndDvxL-gQE $\endgroup$
    – stacker
    Feb 29 '16 at 7:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.