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.
-
Download o Sketchup 8.0.
-
Download plugin Sketchyphysics 3.2 .
Google Code Archive - Long-term storage for Google Code Project Hosting. -
Download Plugin Supy: used to run python code inside SketchUp.
http://www.cosc.canterbury.ac.nz/greg.ewing/SuPy/ -
Download Python 2.5.
http://www.python.org/getit/releases/2.5/ -
Download lib serial for python : Pyserial 2.5.
Python Serial Port Extension - Browse /pyserial at SourceForge.net -
If you want download webdialog plugin for sketchup.
-
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
CodigoArduino.ino (1013 Bytes)
teste.skp (86.6 KB)