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$
4
$\begingroup$

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

| improve this answer | |
$\endgroup$
  • 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$ – Stan Paillereau Oct 16 '14 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$ – Stan Paillereau Jul 30 '17 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$ – Jaroslav Jerryno Novotny Jul 30 '17 at 22:29
  • $\begingroup$ @Jerryno The performance part could be avoided by creating your own build and using C... $\endgroup$ – Bert VdB Aug 6 '17 at 14:41

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.