Jump to content


C4D - Python To Serial

Python Scripting XPresso

  • This topic is locked This topic is locked
1 reply to this topic

#1 supergeordie

  • Regular Member
  • 49 posts
  • C4D Version:15 Studio
  • Location: London

Posted 10 August 2012 - 09:04 AM

Hello everybody.

I'm struggling a bit with this one as it's a bit out of my comfort zone......Scripting.

I'm trying to get the RGB values of a mograph clone out of Cinema and on to an Arduino by serial. The xpresso setup does all of the calculation work on the cinema side which is fine, as is getting the data into a python node. My problem begins when I start using code from the pyserial library. As far as I can tell I'm not defining my outputs properly and I'm struggling to find info on the web for this area specifically.

I guess my question is:

Does anyone have any example code they can share regarding getting data coming into a python node and sending it somewhere by serial?


Can anyone point out where my mistakes in defining my outputs may lie?

Many thanks in advance.


Attached Thumbnails

  • pyserial issues.jpg

Needs more glow.... __________________ Adam Heslop - Design & Visualisation

#2 niklasrosens


    Plugin Dev

  • Regular Member
  • 135 posts
  • C4D Version:14 Studio
  • Location: Germany

Posted 21 August 2012 - 11:10 AM

I have answered your question on the plugincafe. Just so that other people know your topic is answered.



Also tagged with one or more of these keywords: Python, Scripting, XPresso

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users