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. gheyret
    • Profile
    • Following 5
    • Followers 2
    • Topics 48
    • Posts 145
    • Best 9
    • Controversial 0
    • Groups 0

    gheyret

    @gheyret

    13
    Reputation
    144
    Profile views
    145
    Posts
    2
    Followers
    5
    Following
    Joined Last Online
    Website www.boghma.com

    gheyret Unfollow Follow

    Best posts made by gheyret

    • [FREE PLUGIN] Redshift Light Manager

      Hi Everyone!
      My free plugin, Redshift Light Manager, has been updated and released. You can download and update it in our Boghma plugin manager. And hope you enjoy it.
      There are many other free plugins available in our Boghma plugin manager, and we look forward to your using them.
      If you have any ideas or suggestions, please feel free to let me know.
      e5b1c34f-8c7a-456b-824b-2047dacf5342-image.png
      4ed9f9bf-41aa-42a7-8c86-8cddc7d5af13-image.png

      About Boghma


      We are a platform comprised of Cinema 4D third-party plugin developers. We not only share functional and complimentary plugins freely, but also warmly welcome other third-party developers to utilize our platform to release their own plugins for a wider audience.
      If you have plugins you'd like to share but haven't found a suitable platform for publishing, please contact us!

      Thank you.

      posted in General Talk plugin-information download
      gheyretG
      gheyret
    • RE: Howto add headers & dividers for a ShowPopupDialog?

      Hi, @Gaal-Dornik
      Of course you can add header, divider and icon in to Popup dialog.
      this is a simple example for how to add title, separator and icon:

      import c4d
      
      def main() -> None:
          bc = c4d.BaseContainer()
          bc.InsData(c4d.FIRST_POPUP_ID, "item01")
          bc.InsData(c4d.FIRST_POPUP_ID+1, "item02")
          
          # add a title
          bc.InsData(0, "This is Title")
          bc.InsData(c4d.FIRST_POPUP_ID+2, "item03")
          bc.InsData(c4d.FIRST_POPUP_ID+3, "item04")
          
          # add separator
          bc.InsData(0, "")
          bc.InsData(c4d.FIRST_POPUP_ID+4, "item05")
          
          # add icon for an item
          bc.InsData(c4d.FIRST_POPUP_ID+5, f"item06 &i{5140}&")
          bc.InsData(c4d.FIRST_POPUP_ID+6, "item07")
          
          res = c4d.gui.ShowPopupDialog(cd=None, bc=bc, x=500, y=500)
          
      
      if __name__ == '__main__':
          main()
      

      And the result is like this:
      5cfb6134-c84c-47db-b0ec-a045cdc72552-image.png

      You can also visit API Documentation page for more information.

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Show or Hide Object in Viewport

      Hi @chuanzhen ,
      This is a Bug and it's already reported, you can find more info in this thread.

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Open source wrapper for Octane/Redshift/Arnold/Vray/Corona in Cinema 4D.

      @Dunhou
      It's realy cool and usefull, keep going bro 🍻

      posted in General Talk
      gheyretG
      gheyret
    • RE: Problem with MessageData plugin

      Hi @ferdinand

      Thank you so much for your explain, i understand what's happen now.

      Cheers

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • [FREE PLUGIN] Redshift ShaderLink

      Hi everyone!
      This is Gheyret from Boghma! My new plugin Redshift ShaderLink has now been officially released.

      Redshift ShaderLink is a plugin specifically developed to improve the work efficiency of Redshift users. With this plugin, users can use Cinema 4D Procedural shaders and apply them to scenes as light maps or Gobo maps.


      RSSL.gif

      Download

      you can download it in our new Boghma Plugins Manager.
      There are many other free plugins available in our Boghma plugin manager, and we look forward to your using them.
      a1aea95c-30ca-4d5c-963b-3046bcace95a-image.png


      We also warmly welcome other third-party developers to leverage our platform and share their plugins with a broader audience of Cinema 4D users.
      If you're looking for such a platform, feel free to contact us at any time!

      posted in General Talk plugin-information
      gheyretG
      gheyret
    • RE: How to create a radial (pie) menu?

      Hi @Gaal-Dornik

      Yes, you can create just regular command with c4d.gui.ShowPopupDialog
      Just like this:

      import c4d
      
      def main() -> None:
          
          menu = c4d.BaseContainer()
          # Add some commands
          menu.InsData(5159, "CMD")
          menu.InsData(1007455, "CMD")
          menu.InsData(1018544, "CMD")
          
          # Show the popup menu
          c4d.gui.ShowPopupDialog(cd=None, bc=menu, x=500, y=500)
              
      
      if __name__ == '__main__':
          main()
      

      And this is the result:
      af30aa55-9230-4436-bec3-5bb851027a47-image.png

      For more information about c4d.gui.ShowPopupDialog, you can go to This page.

      And about your question:

      How to create a radial (pie) menu?

      I've done some research on this:

      • Just using c4d.gui.ShowPopupDialog to create the radial menu. But I don't like the style of that. I want to highly customizable of UI creation methed.
      • Use c4d.gui.GeUserArea. we can use c4d.gui.GeUserArea to draw anything we want. But unfortunately, we can't just keep the UI widgets and make the background Dialog disappear.
      • Use third-party UI Library like PySide(PyQt), we can create any style of UI interface, but the problem is that Cinema 4D doesn't support third-party libraries, so we can't normally use PySide in Cinema 4D Python, While there are people in this thread who can use it, I think PySide is too big for a gadget like Radial Menu (it's fully 300MB in size).

      That's it. If you have intrested or some ideas for that, please tell me.

      Cheers~
      Gheyret

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Cinema 4D plugin market and tons of free plugins!

      Thanks so much for @Dunhou and other Boghma member to do this amazing things!

      posted in General Talk
      gheyretG
      gheyret
    • RE: Transparency of GeDialog?

      Hi @JH23

      If you are using Python, you might consider trying PySide6 for creating your UI.
      As far as I know, starting with Cinema 4D 2024.2, they have resolved some import issues related to third-party libraries, making it possible to import PySide6 in Cinema 4D Python.

      However, it should be noted that the Maxon SDK team does not recommend using other third-party UI libraries and will not provide support for any issues arising from their use. Therefore, you will need to resolve any problems encountered on your own.

      Cheers!
      Gheyret

      posted in Cinema 4D SDK
      gheyretG
      gheyret

    Latest posts made by gheyret

    • RE: How to implement an image control that can receive and generate image data drag events

      So detailed example as always, this is really helpfull!

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: KDTree or OcTree with C4D Python

      tend to be very complex computationally and therefore not very sensible to be implemented in Python.

      yeah, I forgot the BaseView, but whatever, I agree whit you.
      And this is just the beginning, I'm still in the research and testing phase.
      My final goal is to write a procedural tree generator, so maybe combine L-System to improve some performance, I'll also try to write an Octree.
      Thank you for your suggestion and reply.

      Cheers!
      Gheyret

      posted in General Talk
      gheyretG
      gheyret
    • RE: KDTree or OcTree with C4D Python

      Hi @m_adam , It's nice to hear that! And hope we can use it in future version in some day.

      I just looked at the GetNearestPoint method of ViewportSelect, it seems to only work in Viewport coordinates? I wonder if it is possible to work in 3D space, I haven't tried it yet.

      In terms of what I want to do, I want to implement Space Colonization Algorithm in Cinema 4D.
      I have already implemented an inefficient version with brute force search, but its performance is too low.
      I'm not sure ViewportSelect.GetNearestPoint () whether can do it.
      By the way, should I start a new post on this topic?

      posted in General Talk
      gheyretG
      gheyret
    • KDTree or OcTree with C4D Python

      Hi everyone~
      In my recent research in C4D python, I needed to do some algorithms to find nearest points.
      During my research, I noticed that while the C++ SDK provides native KDTree implementation , but not in python SDK.
      It would require me to build similar algorithms manually, but that's not something I'm good at, and python's performance also is a limitation. Although there are some third-party libraries available, which I think makes things more complicated.
      So I'd like to ask the SDK Team if it's possible to add KDTree to python, or something like that?
      Cheers!
      Gheyret.

      posted in General Talk chit-chat
      gheyretG
      gheyret
    • RE: Show or Hide Object in Viewport

      Hi @chuanzhen ,
      This is a Bug and it's already reported, you can find more info in this thread.

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Transparency of GeDialog?

      Hi @JH23

      If you are using Python, you might consider trying PySide6 for creating your UI.
      As far as I know, starting with Cinema 4D 2024.2, they have resolved some import issues related to third-party libraries, making it possible to import PySide6 in Cinema 4D Python.

      However, it should be noted that the Maxon SDK team does not recommend using other third-party UI libraries and will not provide support for any issues arising from their use. Therefore, you will need to resolve any problems encountered on your own.

      Cheers!
      Gheyret

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Get command information from command palette

      I get it, thanks for your reply and keeping the idea.
      If there are any workarounds or alternative solutions in the meantime, please let me know.
      I look forward to any updates regarding this feature in the future.
      Cheers~

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • RE: Get command information from command palette

      Hi @m_adam , how's it going!

      Thank you for forwarding the message to the developers.
      If you have any updates or information, please let me know at any time.

      Cheers!

      posted in Cinema 4D SDK
      gheyretG
      gheyret
    • Get command information from command palette

      Hi everyone!
      There is an idea for get command information from command palette by right mouse click.

      For example: make a script and add it to right click menu, and then I can click on any command through this button to get information like command name, ID e.t.c.
      91cd4bb4-ab2c-4323-bb47-618cc722c15f-image.png

      Is this possible with python?

      posted in Cinema 4D SDK python 2025 2024 2023
      gheyretG
      gheyret
    • RE: Get and Set any parameter with Tag

      Hi @i_mazlov
      I can't use C++ at the moment, so I thought I'd try MultilineEditText for my purposes.
      I looked for This post in the forum and now I have some ideas.
      Thank you for your reply!

      Cheers~

      posted in Cinema 4D SDK
      gheyretG
      gheyret