12
$\begingroup$

Obviously it is possible to add new mesh "type" with python in the list of create mesh. I think I read that it isn't possible to create a new "modifier" type with python. What about constraints type (like a 4th kind of "track to" for example)? Would this be possible to do in python and if yes where should I start to look at in the docs ?

Thx a lot, Stan

Almost three years after ..., I was wondering if that is still the case ? Are we able to create new modifiers or constraints types with the python API in 2.78 ?

$\endgroup$

1 Answer 1

5
$\begingroup$

Currently we don't support Python constraints (though they were supported at one point in Blender 2.4x).

$\endgroup$
4
  • 1
    $\begingroup$ Thx! That is what I was afraid of ... I guess I will have to use handlers or dive into my own blender build then :D $\endgroup$ Commented Oct 16, 2014 at 0:44
  • $\begingroup$ Almost three years after ..., I was wondering if that is still the case ? Are we able to create new modifiers or constraints types with the python API in 2.78 ? $\endgroup$ Commented Jul 30, 2017 at 19:49
  • 2
    $\begingroup$ @StanPaillereau in 2.78 you can use app.handlers to do almost what ever you want. You can script your own constraint engine and expose it in UI or even with nodes. Only the performance hit is concern. $\endgroup$ Commented Jul 30, 2017 at 22:29
  • $\begingroup$ @Jerryno The performance part could be avoided by creating your own build and using C... $\endgroup$
    – Bert VdB
    Commented Aug 6, 2017 at 14:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .