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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Python Effector Plugin Example

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 408 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 18/03/2013 at 12:46, xxxxxxxx wrote:

      Hello,
      New here but would like to know if any one can help me.
      I am trying to find any examples of a python effector plugin example. Not the code its self but forming it into and actual plugin. I can't find any examples any where in the SDK or anything?

      Would I need to code in the 'full control' mode in order to form the plugin or can I still use the 'parametric control' option. Information on this seems to be a little thin on the ground so hoping some one can point me in the right way.

      Cheers

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

        On 18/03/2013 at 12:59, xxxxxxxx wrote:

        We can not create effector plugins in Python, yet.

        Best,
        -Niklas

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

          On 18/03/2013 at 13:05, xxxxxxxx wrote:

          Ah I thought as much I just didn't want to admit it to my self 😞

          Thanks anyway

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

            On 18/03/2013 at 13:09, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            We can not create effector plugins in Python, yet.
            Best,
            -Niklas

            i do not know, why you would say that ? it would be some work to fully replicate the
            behaviour of effectors, but i cannot see a reason why it should not work.

            edit : ontopic, you would have to do the same as in full control. the basic approach would
            be something like this, if i am not missing something important here (regarding what nikklas
            posted).

            1. find all clone generators in your scene
            2. check if n out of generators is dirty.
            3. check if n out of generators includes your effector.
            4. modify the data arrays of n.

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

              On 18/03/2013 at 13:55, xxxxxxxx wrote:

              Hi littledevil,

              an effector requires an EffectorData implementation. This class is not exposed to Python.
              Yes, there's still the hacky approach of modifieng the cloners cache. 😉

              Best,
              -Niklas

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