Hello my name is Gustavo iam from Brazil and..... My english sux sorry
I did a script for Sketchup to communicate with the arduino using serial port and it was great for prototypes.
But it has a unique problem, I do not know how to send variables from Ruby to arduino, I'm thinking a solution, if anyone knows please help. Watch the video.
1) Download o Sketchup 8.0.
2) Download plugin Sketchyphysics 3.2 .
http://code.google.com/p/sketchyphysics/downloads/detail?name=SetupSketchyPhysics3.2-Dec2.exe&can=2&q=3) Download Plugin Supy: used to run python code inside SketchUp.
http://www.cosc.canterbury.ac.nz/greg.ewing/SuPy/4) Download Python 2.5.
http://www.python.org/getit/releases/2.5/5) Download lib serial for python : Pyserial 2.5.
http://sourceforge.net/projects/pyserial/files/pyserial/6) If you want download webdialog plugin for sketchup.
7) Install everything! its easy!
8)Disable DTR on serialwin32.py
Search on python2.5 folder...
change this values...
self._dtrState = win32.DTR_CONTROL_ENABLE
to
self._dtrState = win32.DTR_CONTROL_DISABLE
dont understand?
http://wp.yellowkazoo.com/?p=177