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

    External Control (possibly Arduino)

    General Discussion
    0
    3
    533
    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
      Helper
      last edited by

      On 23/02/2013 at 07:22, xxxxxxxx wrote:

      Hi all,

      I'm just getting started with plugin development, and one idea i had was for an external controller handled by a plugin. Does the sdk have anyway of handling a serial port for example or even talking to a secondry piece of software that could read basic commands sent and trigger the 'callCommand' for example.

      The idea is to use a series of hardware buttons ect to control various buttons on the interface controlled by an arduino or something else plugged in via usb.

      I understand that there has been some success with using python and the pyserial module but was wondering if there was a starting point that someone could point out that I could start investigating / learning.

      Regards,

      Ian.

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

        On 26/02/2013 at 12:54, xxxxxxxx wrote:

        im pretty sure python and arduino work well together, as there is a library

        http://playground.arduino.cc/interfacing/python

        check it out.

        You can definitly import any library you want into c4d using python so i would start with this.

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

          On 02/03/2013 at 00:27, xxxxxxxx wrote:

          Hi thats great thanks, I had a play with python and can get serial communication so will continue to play. Thanks again

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