THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/10/2010 at 14:44, xxxxxxxx wrote:
Cinema 4D Version: R12.021
Platform: Mac ; Mac OSX ;
Language(s) : PYTHON ;
my name is alex, i just started out learning python and start off building some tiny tools and scripts for personal use.
i came up with n python generator, that included some lines of code to create a certain spline for me, controlled by a few (6-7) userdata fields.
now as that works, i m thinking about wrapping this stuff into n object plugin (like i.e Py-DoubleCircle, that comes with the python sdk manual). but i cant get my head around that. i just copied the Py-DoubleCircle plugin and changed some things to get it into the right direction, but i failed as i dont have any knowledge about the .res, .h and .str files. i didnt build any plugins before.
in my generator code i got to defined functions: curve() and main() after i defined those, i just called the main() function. The Generator object is working like a charm, but i dont how how to build up n objectplugin from that point on, so any help would be appreciated!
thanks in advance,
On 15/03/2011 at 07:07, xxxxxxxx wrote:
I'm having similar issues - I have my Phyton script working and it shows up in the user scripts menu, but I really want to turn it into a plugin!
Could anyone suggest some direction / help on this?