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

    mapping coordinate systems

    SDK Help
    0
    2
    220
    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 24/09/2007 at 05:57, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   10 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello.

      I have an assembly of several components from CAD-files. The conversion to c4d-files was okay but now I have to reassemble the part-files to an assembly in Cinema. In CAD the exported matrices are right hand side - in C4D they're all left hand side.
      After recreation of the assembly structure I thought it would be easy to set the local Matrices of the single parts - but there is the problem, that all components that have to be translated and rotated are in the wrong position. Does anybody have an idea that can help me?
      The matrice out of CAD has the following structure:

      [vx.x, vx.y, vx.z, 0]
      [vy.x, vy.y, vy.z, 0]
      [vz.x, vz.y, vz.z, 0]
      [v0.x, v0.y, vo.z, 1]

      The corresponding matrice-structure in the Coffee-SDK is nearly the same - I recognized the difference, I think.

      Thanks in advance

      guckmalda

      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 24/09/2007 at 06:25, xxxxxxxx wrote:

        You probably only have to exchange the second and the third line of the matrix, like this.

        [vx.x, vx.y, vx.z, 0]
        [vz.x, vz.y, vz.z, 0]
        [vy.x, vy.y, vy.z, 0]
        [v0.x, v0.y, vo.z, 1]

        cheers,
        Matthias

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