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

    Spline control over Mograph Clones

    Scheduled Pinned Locked Moved PYTHON Development
    6 Posts 0 Posters 504 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

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 29/11/2011 at 00:33, xxxxxxxx wrote:

      Hi all

      I want to use the Spline Control in an effector to control the scale of clones

      Are there any examples or anything similar - rather than trying to figure it all from scratch.

      (not that I want the easy route - I looked at the spline gui and I don't think I'm going to get anything off the ground from scratch this side of Xmas)

      tia

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 02/12/2011 at 00:33, xxxxxxxx wrote:

        quiet here!

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 02/12/2011 at 03:22, xxxxxxxx wrote:

          Hi deepshade,

          You need  multiplier for each clone. You can calulate it by getting the value of the spline for each clone. The Spline customgui takes values between 0 and 1 for calculating the yvalue. You can get the x-value by dividing the clones index with the maximum number of clones - 1.

          x = clone_index / float(clone_count - 1)
          

          Cheers !

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

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 02/12/2011 at 06:47, xxxxxxxx wrote:

            thanks for the nudge

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

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 02/12/2011 at 09:11, xxxxxxxx wrote:

              Note that, of course, the way you calculate the multiplier will affect your clones physicals.
              You may also calculate through the clones position relative to the cloners bounding box, etc. There are many way to reach a goal. 🙂

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

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 02/12/2011 at 09:20, xxxxxxxx wrote:

                ta

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