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,