Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Login

    How to compile Python Plugin

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 323 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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!!

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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!!

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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

            1 Reply Last reply Reply Quote 0
            • First post
              Last post