Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Null object dimensions

    SDK Help
    0
    25
    13.2k
    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
      Helper
      last edited by

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

      On 14/09/2012 at 08:15, xxxxxxxx wrote:

      Hei folks,

      in case someone needs it: Here's the working version of the above scene-file using Giblets method (but using GetRad()/GetMp() only!!)

      Cheers,
      -Niklas

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

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

        On 14/09/2012 at 11:46, xxxxxxxx wrote:

        Thanks - it's neat seeing it (working and) ported to Python :). Did you try the full object point-transform method?

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

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

          On 14/09/2012 at 12:55, xxxxxxxx wrote:

          Did you try the full object point-transform method?
          Do you mean calculating the bounding-box of point-objects from its points? No. Because,

          1. I'm pretty sure GetDimension() does this internally for polygon-objects.
          2. For splines, the curves could exceed the bounding box defined only by the points.

          -Nik

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

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

            On 14/09/2012 at 13:17, xxxxxxxx wrote:

            Originally posted by xxxxxxxx

            ...1. I'm pretty sure GetDimension() does this internally for polygon-objects.

            Hmm...

            • Load your scene, delete the 2 cubes.
            • Add a "Tube" object.
            • Switch to Front view.
            • Rotate the Tube 30deg or so clockwise.
            • Make it editable (turn it into a Polygon Object).
            • Grab a point and (in Move mode), pull the point up (at that angle).
            • Observe that the top of the BBox is no longer 'tight' on the object (across the top/right sides).
              ...doing the point-transform method would tighten that box back up (if you needed that).
            1 Reply Last reply Reply Quote 0
            • H
              Helper
              last edited by

              On 26/06/2015 at 01:43, xxxxxxxx wrote:

              Oh i think this would solve my problem with this

              https://developers.maxon.net/forum/topic/6903/7745_eventadd-doesnt-update-c4d

              Not the topic the solution from NiklasR, but The Python c4d file is 404 missing, here.

              Anyhow does somebody have a multiple objects boundingbox Python Script Snippet?

              Kind regards
              mogh

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