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
    1. Maxon Developers Forum
    2. sheilan
    3. Topics
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 7
    • Posts 19
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by sheilan

    • S

      Matrix/HPB to XYZ and vice versa

      Cinema 4D SDK
      • python r20 • • sheilan
      7
      0
      Votes
      7
      Posts
      1.9k
      Views

      S

      @m_magalhaes said in Matrix/HPB to XYZ and vice versa:

      convert the matrix to XYZ xyz = c4d.utils.MatrixToHPB(m, order=c4d.ROTATIONORDER_XYZGLOBAL) # convert from radian to deg for i in xrange(3): xyz[i] = c4d.utils.RadToDeg(xyz[i]) print xyz

      Works perfectly. Thanks!

    • S

      Getting Tag by name

      Cinema 4D SDK
      • python r20 • • sheilan
      4
      0
      Votes
      4
      Posts
      839
      Views

      S

      @m_magalhaes Oh yeah I forgot to add the tags. I'm using Python by the way.
      You can count this post as solved.

    • S

      Moving\Deleting nodes with Python

      Cinema 4D SDK
      • python r20 • • sheilan
      3
      0
      Votes
      3
      Posts
      846
      Views

      S

      Works perfectly. Thanks!

    • S

      Accessing Octane node editor with python

      General Talk
      • r20 • • sheilan
      5
      0
      Votes
      5
      Posts
      2.5k
      Views

      S

      @Graeme Thank you very much!
      @r_gigante Will do, thanks.

    • S

      Adding polygon UVs & Normals.

      Cinema 4D SDK
      • python r20 • • sheilan
      13
      0
      Votes
      13
      Posts
      2.5k
      Views

      M

      Just to add additional information,

      In R21 GetAllHighlevelData() and SetAllHighlevelData() are working as expected for NormalTag, so data are not any more "shifted" and correctly interpreted internally.

      See What's New: Fixes:

      Fixed an issue where VariableTag.GetAllHighlevelData() and VariableTag.SetAllHighlevelData() used Uint16 instead of int16 for Tnormal. Fixed an issue where VariableTag.GetAllHighlevelData() returned data were shifted and not complete for Tnormal.

      Cheers,
      Maxime.

    • S

      Force custom file format in LoadDialog()

      Cinema 4D SDK
      • python • • sheilan
      2
      0
      Votes
      2
      Posts
      481
      Views

      r_giganteR

      Hi Shellan, thanks for reaching out us.

      Assuming that you refer to the Python general function c4d.storage.LoadDialog() at the current time you can't specify a file format since the value passed as force_suffix even is present is ignored - as written in the documentation - .

      Best, Riccardo