Many times over my years of intermittent Sketchup use, I have wanted to be able to input a list of directions and distances and have SU simply follow that to create a line drawing.
Recently I realized that this isi the basic concept of one of the very first computer drawing programs, Turtle Graphics. Implementations of Turtle Graphics have been done in numerous languages, from SmallTalk to Python. There's even a downloadable Python Module.
Turtle Graphics also seems a natural for Sketchup, but in poring over Sketchucation, the Sketchup Form, the web, etc, I can't find anything.
The concept is simple, you provide a list of directions and distances and the system follows directions.
N 1"
W 1"
S 1"
E 1"
or
0, 1
90, 1
180, 1
270, 1
will draw a 1" or 1 unit square.
Previous uses that I would have like to use it in have been measuring a room interior that is more complicated that a simple rectangle and pacing off the layout of pathways in a large garden site.
If I were to try myself at getting a Ruby Script to input the data and draw the line, it could take me weeks to get up to speed on all the different Ruby functions I would need. I can read some Ruby, but generating it slower than one hour per line.
Has anyone done this already? Is there someone for whom Ruby is a native language who could just whip our a demonstration version (sans bell and whistles of different data input formats, etc.) that I might augment?
Thanks.
P.S. Nice to be back on Sketchucation. It's been a while.