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

    C++ Plugins with Cython ?

    Scheduled Pinned Locked Moved PYTHON Development
    9 Posts 0 Posters 1.5k Views
    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.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 06/05/2011 at 13:28, xxxxxxxx wrote:

      As the title says: Would it be possible to write C++ Plugins using Cython ? Or maybe PyRex ?

      Thanks,
      Niklas

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 06/05/2011 at 13:32, xxxxxxxx wrote:

        If they compile compatible modules for CPython yes, otherwise no.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 06/05/2011 at 13:48, xxxxxxxx wrote:

          I'm not sure if I understood you right.
          I'd need a Cython module providing the Cinema 4D C++ API ?

          It would be genius being able to write C++ Plugins in Cython or even Python. 🙂

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 06/05/2011 at 15:19, xxxxxxxx wrote:

            What exactly are you trying to achieve? For sure you can extend Python in C4D with own modules, if written in C, C++ or Python code.

            If you use Cython or PyRex please check if the output is compatible with CPython. (from what I've read in the docs of Cython its possible).

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 07/05/2011 at 02:09, xxxxxxxx wrote:

              Hm, I've thought I may be able to use C++ Functions and classes in Python that are not yet implemented in Py4D then. 😄

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 07/05/2011 at 04:21, xxxxxxxx wrote:

                If the wrapped function uses member of the OperatingSystem of C4D then no.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 07/05/2011 at 07:01, xxxxxxxx wrote:

                  Originally posted by xxxxxxxx

                  It would be genius being able to write C++ Plugins in Cython or even Python. 🙂

                  I don't see any advantage in that.

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 07/05/2011 at 09:11, xxxxxxxx wrote:

                    Well, there's still a lot of stuff that's not possible with Py4D yet, but with C++.
                    For example Shaderplugins or inserting Shaders into Materialchannels.

                    1 Reply Last reply Reply Quote 0
                    • H Offline
                      Helper
                      last edited by

                      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                      On 07/05/2011 at 13:38, xxxxxxxx wrote:

                      For example Shaderplugins or inserting Shaders into Materialchannels.

                      Check out BaseList2D.InsertShader and the example in the doc.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post