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
    • Unread
    • Recent
    • Tags
    • Users
    • Login
    1. Maxon Developers Forum
    2. rownn
    3. Topics
    R
    Offline
    • Profile
    • Following 0
    • Followers 1
    • Topics 6
    • Posts 13
    • Groups 0

    Topics

    • R

      Python: How to get axis scale from the preference settings?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      0 Votes
      3 Posts
      714 Views
      ferdinandF
      Hello @rownn, without any further questions or replies, we will consider this thread as solved by Monday the 20th and flag it accordingly. Thank you for your understanding, Ferdinand
    • R

      Python: possible to check if a description is highlighted in AO?

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      3
      1
      0 Votes
      3 Posts
      506 Views
      R
      thanks.
    • R

      Drawing into Rendering

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK r20 python windows
      7
      0 Votes
      7 Posts
      1k Views
      r_giganteR
      Hi @rownn, thanks for having provided further details. Assuming that you're aware of the limitation in terms of appearance that you might face by using the functionalities delivered by GeClipMap, the only way to go to access a bitmap which is supposed to contain a rendering of the scene in Python is to execute the rendering invoking the BaseDocument::RenderDocument() and pass the BaseBitmap you intend to manipulate via the GeClipMap. Best, Riccardo
    • R

      Priority: PriorityData and PriorityList

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      5
      0 Votes
      5 Posts
      1k Views
      ymoonY
      @rownn said in Priority: PriorityData and PriorityList: Hi m_adam, thank you very much for the enlightenment on priorities, it helps alot, and sorry for my late reply. Greetings and thx again rownn PS: I´ll keep the pointed way of posting in mind. Hello @rownn This is another question. I am writing here because there is no way to contact you. You are the developer of "Rounded Corner (c4dnetwork)". Would you make it run on R25?
    • R

      Spline notRealOffset to RealOffset

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK
      6
      0 Votes
      6 Posts
      2k Views
      r_giganteR
      Hi rownn, thanks for following up. Can you elaborate more on I wasnt able to get the "customlength" by offset.? Actually looking at your screenshot and assuming that the red-labelled refers to what you actually consider "wrong" and the green-labelled to the right, I think that the red-labelled is indeed correct since it actually lies in the middle of spline considering that the start point is the top/right vertex. At the same time, the green-labelled point is the one that you can obtain when passing 0.5 to SplineHelp::GetPosition() which is the 50% of the spline parametrization not of the spline length. Assuming a linear rectangle is used as shown above the code below shows the behavior I describe: def main(): sh = c4d.utils.SplineHelp() sh.InitSpline(op) splineLength = sh.GetSplineLength() halfLength = splineLength / 2 midPointOffsetIncorrect = halfLength / splineLength midPointOffsetFromReal = sh.GetOffsetFromReal(midPointOffsetIncorrect,0) midPointOffsetFromUnit = sh.GetOffsetFromUnit(halfLength,0) mtx = c4d.Matrix() midpointRed = sh.GetPosition(midPointOffsetFromUnit) # which in this case is the same of offsetFromReal midNullRed = c4d.BaseObject(c4d.Onull) midNullRed[c4d.ID_BASEOBJECT_USECOLOR] = 2 midNullRed[c4d.ID_BASEOBJECT_COLOR] = c4d.Vector(1,0,0) midNullRed[c4d.ID_BASELIST_NAME] = "MidRed" mtx.off = midpointRed midNullRed.SetMg(mtx) midpointGreen = sh.GetPosition(midPointOffsetIncorrect) midNullGreen = c4d.BaseObject(c4d.Onull) midNullGreen[c4d.ID_BASEOBJECT_USECOLOR] = 2 midNullGreen[c4d.ID_BASEOBJECT_COLOR] = c4d.Vector(0,1,0) midNullGreen[c4d.ID_BASELIST_NAME] = "MidGreen" mtx.off = midpointGreen midNullGreen.SetMg(mtx) doc.InsertObject(midNullRed) doc.InsertObject(midNullGreen) c4d.EventAdd() Best, Riccardo
    • R

      Get clone of group and keep links

      Watching Ignoring Scheduled Pinned Locked Moved Cinema 4D SDK python
      3
      0 Votes
      3 Posts
      933 Views
      R
      Very cool, thx alot Sebastian rownn