Go Down

Topic: Tutorial: GoogleSketchup+Arduino = Best Simulation ever (Read 1 time) previous topic - next topic

ISOZ

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

http://www.youtube.com/watch?v=xIm3BlTa9F0


PGT

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 ?

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy