Pages: [1]   Go Down
Author Topic: Tutorial: GoogleSketchup+Arduino = Best Simulation ever  (Read 1325 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 7
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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




* CodigoArduino.ino (0.99 KB - downloaded 6 times.)
* teste.skp (86.57 KB - downloaded 3 times.)
Logged

Offline Offline
Full Member
***
Karma: 2
Posts: 212
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/playground/Interfacing/Ruby   >> serialport gem

i am really wondered what your goal is here, manipulate inside google sketchup to control an arduino object ?
Logged

Pages: [1]   Go Up
Jump to: