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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. mike
    3. Topics
    M
    • Profile
    • Following 1
    • Followers 0
    • Topics 21
    • Posts 62
    • Best 2
    • Controversial 0
    • Groups 0

    Topics created by mike

    • M

      Is there any way to check deformcache dirty

      Cinema 4D SDK
      • r20 c++ • • mike
      4
      0
      Votes
      4
      Posts
      738
      Views

      M

      Hi @mike, I just wanted to confirm what @chuanzhen said.

      For more information see the C4DAtom Manual about the dirty stuff.

      Cheers,
      Maxime.

    • M

      Where is lib_geom.h

      Cinema 4D SDK
      • r20 c++ • • mike
      3
      0
      Votes
      3
      Posts
      676
      Views

      M

      @s_bach Oh, i miss a important part, thank you!

    • M

      How ObjectData add PRIORITY and execute

      Cinema 4D SDK
      • c++ r20 • • mike
      3
      0
      Votes
      3
      Posts
      704
      Views

      M

      @s_bach Thank you!

    • M

      QuickTabCustomGui.GetData() is None

      Cinema 4D SDK
      • r20 python • • mike
      7
      0
      Votes
      7
      Posts
      1.4k
      Views

      M

      @m_adam thank you for your answer😊 from the code, it similar to what i already try, but this way looks like not a perfect solution. actually after read most c4d gui sdk and write some examples, i think maybe c4d should update gui model? sometimes it not flexible. just my personal thoughts, don't mind : ) expect python 3.x and pyside2 coming : )

    • M

      SET DTYPE_VECTOR4D VALUE

      Cinema 4D SDK
      • r20 python • • mike
      2
      0
      Votes
      2
      Posts
      455
      Views

      r_giganteR

      Hi @mike, thanks for reaching out us.

      With regard to the issue reported, I confirm that it's known bug and there is no current workaround.

      A bug fix will be delivered in the future.

      Regard, Riccardo.

    • M

      GeUserarea crash when Redraw() in Message()

      Cinema 4D SDK
      • r20 python • • mike
      3
      1
      Votes
      3
      Posts
      642
      Views

      M

      @m_adam oh,i miss this reason,thank you : )

    • M

      Toolplugin Crash When Close Cinema 4D

      Cinema 4D SDK
      • c++ r20 • • mike
      8
      0
      Votes
      8
      Posts
      1.4k
      Views

      M

      @r_gigante Thank you for your answer! it s all fine : )

    • M

      DRAWPASS::HANDLES Not Effect DRAWOBJECT()

      Cinema 4D SDK
      • r20 c++ • • mike
      6
      0
      Votes
      6
      Posts
      1.1k
      Views

      M

      @m_magalhaes thank you : ) : ) : )

    • M

      how to write description "Coordinates"

      Cinema 4D SDK
      • c++ r20 • • mike
      6
      0
      Votes
      6
      Posts
      1.1k
      Views

      M

      @m_magalhaes thank you for your answer 🙂

    • M

      Any way to get the originally point pos before posemorph tag?

      Cinema 4D SDK
      • • • mike
      7
      0
      Votes
      7
      Posts
      1.2k
      Views

      M

      @m_magalhaes thank for your help!

    • M

      Questions about NodeData::CopyTo()

      Cinema 4D SDK
      • • • mike
      8
      0
      Votes
      8
      Posts
      1.3k
      Views

      M

      @m_magalhaes Thank you for your patient answers.

    • M

      Save node data in Read and Write

      Cinema 4D SDK
      • • • mike
      5
      0
      Votes
      5
      Posts
      1.0k
      Views

      M

      @m_adam Thank your for your answer

    • M

      How to use object plugin to get data from my tag plug-in

      Cinema 4D SDK
      • c++ • • mike
      3
      0
      Votes
      3
      Posts
      634
      Views

      M

      @s_bach Thank you for your answer!

    • M

      How to get InExcludeData in ModifyObject

      Cinema 4D SDK
      • r20 c++ • • mike
      4
      0
      Votes
      4
      Posts
      716
      Views

      M

      @m_magalhaes Thank you for your answer. really helpful!

    • M

      How to updata message when i save data in NodeData::Message

      Cinema 4D SDK
      • r20 c++ • • mike
      4
      0
      Votes
      4
      Posts
      789
      Views

      M

      @r_gigante Oh!Thank you!The plug-in ID is the reason for the problem,use another shorter number and everything is ok.

      Thank your for your help!☺ ☺ ☺

    • M

      How to keep data in tag plugin even if restart Cinema 4D

      Cinema 4D SDK
      • python • • mike
      7
      0
      Votes
      7
      Posts
      1.2k
      Views

      M

      Please consider to sets the topic as solved if it's the case.
      Cheers,
      Maxime.

      EDIT: I've done it, but feel free to set it back to Open if you feel the need to ask more questions.

    • M

      How to get spline offset by spline point index ?

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

      ferdinandF

      Hi @everyone,

      as a little disclaimer, this is my private take on this topic.

      Cinema does calculate the length of a spline (at least with SplineHelp) in a rather unpretentious fashion as the sum of the Euclidean norms of the underlying LineObject segments, i.e., there is no fancy arc-length calculation going on. Which makes sense in Cinema, since the discrete LineObject is what does effectively count, and not the smooth SplineObject. Since you can get access to the LineObject of a SplineObject and also convert between SplineObject and LineObject vertex indices with SplineHelp.SplineToLineIndex() , this also means that you can both calculate the length of spline as a total and up to a specific vertex. Which then should mean that you can calculate the relative offset for a spline vertex yourself.

      Practically you can cut out the SplineObject altogether when sampling a spline and just use its associated LineObject. The one nice thing that SplineHelp does for you is though, that it implements a parallel transport for the frames of spline points for you. I.e., realizes that the normals of spline points point into a direction humans would consider "correct" (mathematically these normals are not correct, due to them being modified by parallel transport, but they will look smoother, won't flip when then curvature of the spline flips).

      Cheers,
      Ferdinand

    • M

      deformer object priority

      Cinema 4D SDK
      • • • mike
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      M

      Thank you for your answer!@m_adam
      Although object go back normal after i clicked 'Redraw' (I guess that's the reason),it isn't make sure problem is 'refresh the viewport'. 'refresh the viewport' can also fix Priority error result .
      'Shift Priority Tag' just effective Expression.It can't help.
      After asking questions,i try to use Python Tag to replace 'Spline Deformer Object' ,because Python Tag have Priority.Fortunately,even though it looks very complicated, but everything become ok!

    • M

      Some suggestions about Python SDK

      Cinema 4D SDK
      • • • mike
      5
      0
      Votes
      5
      Posts
      1.4k
      Views

      r_giganteR

      Hi Mike, please check this thread to properly use the Q&A functionality.

      Cheers, Riccardo

    • M

      Python Script Gui: Use EditSlider Get Float

      Cinema 4D SDK
      • python • • mike
      4
      0
      Votes
      4
      Posts
      1.4k
      Views

      M

      Hi, @mike if the previous post solves your issue, please mark it as the correct answers. It will switch the topic as solved. To do so please read Q&A functionality.
      Of course, if you didn't test my previous post, or may have follow-up questions, do not mark as solved and take as much time as you need to ask us. But if there is nothing more to add please mark your topic as solved.

      Cheers,
      Maxime