• Why are there no Sketch and Toon shaders?

    Cinema 4D SDK windows python s26
    3
    0 Votes
    3 Posts
    512 Views
    ferdinandF
    Hello @blastframe, without any further questions or other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Compute distance from a point to a mesh

    Cinema 4D SDK
    4
    1
    0 Votes
    4 Posts
    859 Views
    ferdinandF
    Hi, I am looking for hit point. Then if I understand well, my only way would be to use GeRayCollider on all objects ? A point-something projection will also give you a "hit-point" in some sense. The question is if you want to find the closest point for a point on some geometry (projection), or a point on a geometry for a point and a ray (intersection). GeRayCollider realizes ray-triangle intersection testing for PolygonObject instances. For multiple objects you must initialize multiple collider instances (or reinitialize one instance). But you cannot intersection test a null, a spline, or joint object as shown in your screenshot as they do not contain any triangles. When you are just interested in the closest point in some discrete geometry, you can use ViewportSelect or the more modern maxon API equivalent maxon::DistanceQueryInterface with a slightly different and more abstract purpose. ViewportSelect can also be used to pick the object in a scene which is closest to a point (for the cursor for example) for further testing with other methods. In maxon::GeometryUtilsInterface you will find some basic building blocks for writing something of your own.
  • [Python API] - Foldable Group Bug Still?

    Cinema 4D SDK s26 python
    5
    0 Votes
    5 Posts
    784 Views
    C
    @m_magalhaes - All good! Just wanted to make certain that the issue hasn't been fixed yet (since 2018..). In the future I'll write a python class, extending a group that is collapsible using the workaround you mentioned. Thank you for getting back to me and looking into this! Cheers.
  • c4dpy "sysctl: No such file or directory"

    General Talk s26 python
    4
    1
    0 Votes
    4 Posts
    855 Views
    I
    Sorry for the late reply, my issue went away after reinstalling C4D so I forgot about it Thank you for your feedback
  • 0 Votes
    4 Posts
    732 Views
    ferdinandF
    Hello @byoneukp, without any further questions or other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Add Database to the Asset Browser

    Cinema 4D SDK c++ r25 s26 sdk
    2
    0 Votes
    2 Posts
    455 Views
    ferdinandF
    Hey @kbar, thank you for reaching out to us. How to add asset databases and others things are all explained in the Asset API Handbook. Your specific case is dealt with in the example Add User Databases. You can technically also take a route via the Asset Browser preferences in the Cinema 4D Preferences dialog and the GUI gadget showing these database entries, completely ignoring the Asset API, but I would not recommend doing this. Cheers, Ferdinand
  • How to use GeUserArea.DrawCustomButton()

    Cinema 4D SDK python sdk s26
    5
    1
    0 Votes
    5 Posts
    728 Views
    K
    Hi @m_adam , It is unfortunate because I thought it would be useful if it were available, but I understand. Thank you for your prompt response!
  • ShowPopupDialog in SceneLoaderData

    Cinema 4D SDK s26 python
    6
    0 Votes
    6 Posts
    1k Views
    ferdinandF
    Hello @kalugin, without any further questions or other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • How to Set UserData Group fold/unfold

    Cinema 4D SDK python s26
    9
    0 Votes
    9 Posts
    1k Views
    ferdinandF
    Hello @chuanzhen, without any further questions or other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • How to add a multi _line string UserData

    Cinema 4D SDK python s26
    3
    0 Votes
    3 Posts
    385 Views
    chuanzhenC
    @m_adam Thanks for help!
  • 0 Votes
    4 Posts
    807 Views
    ferdinandF
    Hello @dskeith, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Node Editor API - Active Node Editor Graph?

    Cinema 4D SDK python s26
    7
    0 Votes
    7 Posts
    1k Views
    ferdinandF
    Hello @dskeith, without any further questions and other postings, we will consider this topic as solved and flag it as such by Friday, 17/06/2022. Thank you for your understanding, Ferdinand
  • Python SDK Examples: Tiny request

    Cinema 4D SDK python s26
    1
    0 Votes
    1 Posts
    300 Views
    No one has replied