How to compile Python Plugin



  • On 23/10/2014 at 17:54, xxxxxxxx wrote:

    I've been looking with no luck, how to compile my test plugin that I created in python. I'm newbie, I followed a tutorial and I watched the official SDK documentation. But now, how do I test or compile my plugin? Please I need some help.

    My OS : Mac OS X Yosemite
    Project files created with : Sublime Text 3
    Cinema 4D R16

    About the plugin :
    I have the PLUGIN_ID
    The folder structure is like the following:
    PluginName.pyp
    res/
    -c4d_symbols.h
    -icon.tif
    -description/
    --plugin.h
    --plugin.res
    string_us/
    -description/
    --plugin.str

    Please, some Instructions that can help me to achive this will be appreciated!
    Cheers!!



  • On 24/10/2014 at 00:02, xxxxxxxx wrote:

    Hello and welcome,

    Python is an interpreted language, so you don't compile your Python program. To run your plugin simply copy your project folder into the "plugins" folder of your Cinema 4D installation and run Cinema 4D. Open the "Script" → "Console" window to see if any problems are detected while loading your plugin.

    Best wishes,
    Sebastian



  • On 24/10/2014 at 01:20, xxxxxxxx wrote:

    So, in order to distribute my plugin, will go with all the code?

    Once again, thank you!!



  • On 24/10/2014 at 01:39, xxxxxxxx wrote:

    Hello,

    if you want to protect your source code you can encrypt it using the "Script" → "Source Protector" tool. Please keep in mind that this encryption cannot guarantee 100% security.

    Best wishes,
    Sebastian


Log in to reply