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

    Matrix -> Quaternion

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 422 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/06/2015 at 01:56, xxxxxxxx wrote:

      Hey,

      is it in Python also possible to get a Quaternion ?

      Thanks

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

        On 18/06/2015 at 06:18, xxxxxxxx wrote:

        I guess so. You can test this:
        print str(op.GetMg().off) + "i cap" + str(op.GetMg().v1) + "j cap" + str(op.GetMg().v2) and so on..

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

          On 18/06/2015 at 06:39, xxxxxxxx wrote:

          Hi,

          The Quaternion class is currently missing in the Python API.
          You have to calculate one by yourself or use a quaternion class from another Python library.

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

            On 18/06/2015 at 12:05, xxxxxxxx wrote:

            thanks for you replies . that help

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