Python primitives [SOLVED]

On 31/10/2014 at 06:00, xxxxxxxx wrote:

Hello everyone.

I have been thinking about this one for a little while. I entered this topic into the python section as I'm hopeful that I won't have to leave the python environment. - That said I'm happy to (try to) delve into c++ if necessary.

I was wondering if it is possible to make new object primitives?. There are two arms to this:

Scenario A: I'd like to make mograph effectors which don't have the python effector interface. Is it possible to make an effector using the baseEffector class?

Scenario B: I'd like to make some new object primitives such as a few versions of platonic like things which aren't in the regular toolset. - Do  I have to make a plugin for each object or is there a better way to do this?

Any info, even to help me understand why this may not be feasible is appreciated.

Thanks

Adam

On 31/10/2014 at 06:25, xxxxxxxx wrote:

Hello,

you can only create plugins based on the basic plugin classes. The EffectorData class is currently only available in the C++ SDK.

You can create new primitives using ObjectData plugins. To simplify your workflow you could create just one plugin object that can create all the different primitives you want. Then the user could use a dropdown parameter to select what object should be created.

Best wishes,
Sebastian

On 31/10/2014 at 10:49, xxxxxxxx wrote:

Thanks for your response, that's really useful.

Time to go to c++ school...