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

    Custom Build C4D.2024.py310 ?

    Cinema 4D SDK
    2024 python
    4
    7
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UMDU
      UMD
      last edited by

      Hello,

      We wanted to know if there are custom versions of C4D 2024 with python 3.10?
      If so, where can we find them?
      If not, is there a way to return from the 3.11 to 3.10 with 2024?

      Merci !

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @UMD
        last edited by ferdinand

        Hello @UMD,

        Thank you for reaching out to us. No, there is no Python 3.10 variant of Cinema 4D 2024 . Our Python VM is quite deeply integrated into Cinema 4D and up- or downgrading it is more work than you might think. It is not intended that users up- or downgrade a Python version themselves.

        May I ask why you need Python 3.10 over Python 3.11? Since the release removed only very obscure features, the scary version update will be 3.13, as it will remove quite a bit of deprecated legacy functionality.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • UMDU
          UMD
          last edited by

          Hello @ferdinand,
          To answered to your question, our TD said:
          "Our pipeline uses PySide2 to display UIs, however from python 3.11 onwards only PySide6 is available. We plan on switching to it eventually but it will take some time, meaning we will not be able to use C4D 2024 with our pipeline in the meantime."

          Thanks

          ferdinandF gheyretG 2 Replies Last reply Reply Quote 1
          • ferdinandF
            ferdinand @UMD
            last edited by ferdinand

            Hello @UMD,

            There is indeed not much that you can do here. All I can do is recommend either using an abstraction layer around your Qt bindings such as QtPy or decouple your Qt UI from Cinema altogether using a server-client model where Cinema 4D and its Python VM are the server and execute all the logic. And where clients plug into this server, running in a Python VM of your choice so that you can match whatever the GUI demands; we talked about this pattern here.

            But both won't help you with your problem at hand, because doing both would be just as much work as updating your UI code. But depending on how vast your code is, abstracting things a bit might be good idea for the future.

            Cheers,
            Ferdinand

            MAXON SDK Specialist
            developers.maxon.net

            1 Reply Last reply Reply Quote 0
            • gheyretG
              gheyret @UMD
              last edited by

              Hi @UMD

              I would like to ask you how to import the Pyside library in to Cinema 4D, I always get a "DLL load failed" error when importing.

              Thanks

              www.boghma.com

              1 Reply Last reply Reply Quote 0
              • U
                Unit Image Dev
                last edited by Unit Image Dev

                Hi, thank you for your answers !

                We were actually planning on switching to QtPy since our current abstraction layer Qt.py does not wrap PySide6 yet. However this will take some time to implement, and @UMD was very much looking forward to using C4D 2024 as soon as possible.

                We are confronted to another problem that does not allow us to switch to C4D 2024 yet : the prebuilt PySide6 wheels available on PyPI are apparently not compatible with C4D's python DLL's.

                The server/client model you suggest is something that would circumvent both of those issues, and it is in fact something that we have discussed many times internally, but changing our Pipeline's model at this point in time would take at least a year of planning and implementation.

                @gheyret PySide is not bundled with C4D, you must install PySide yourself (using the wheels built by Dan Bradham for C4D since the prebuilt ones from PyPI are not compatible), and then you'll be able to import and use PySide in C4D 🙂
                They have yet to build one for PySide6 though, so using PySide in C4D 2024 will not be possible for now (there is an issue opened about this).

                In any case, thank you for your time @ferdinand, we will figure out what to do internally.

                gheyretG 1 Reply Last reply Reply Quote 2
                • gheyretG
                  gheyret @Unit Image Dev
                  last edited by

                  Hi @Unit-Image-Dev
                  Thank you for your reply.
                  That's so cool! and i will try it.

                  www.boghma.com

                  1 Reply Last reply Reply Quote 0
                  • gheyretG gheyret referenced this topic on
                  • First post
                    Last post