Example Ruby Scripts
A smattering of ruby scripts that demostrate what can be done with the Ruby API.
Example Ruby Scripts

A smattering of ruby scripts that demostrate what can be done with the Ruby API, as well as instruct aspiring Ruby script authors.

 The example tools are:

  • Draw->Box
  • Plugins->Cost  
  • Camera->Animations
  • Right click on a circle > Point at Center

Reviews

Hi Chris,

How come this extension remain as Unsigned while other extentions are all as signed?
Is there any way change signature information to signed?

I see no point at the center of my circle.... i need desperately a point.

Rob M's picture

select face right click - find center

shad 69's picture

Great work, but how can switch the unit of measurement from feet to centimeter?

Edward U's picture

What I get is an rbz or encrypted ruby scripts. How do I get the source code to examine the programming techniques?

Sorry for my ignorance. Its as simple as renaming the files as .zip and windows can open it.

hairizan H.'s picture

future

PCH La Loma L's picture

saludos, super, pero no encuentro los programas en esta pagina:
exampleScripts.rb
animation.rb
attributes.rb
box.rb
contextmenu.rb
linetool.rb
selection.rb

agradeceria si me informan adonde los puedo bajar
gracias

dietrich's picture

Downloaded plug-in, which is supposed to place point at center of circle (via right-click > point at center). I think I successfully downloaded and installed because when I click on extensions, I get popup: cost > assign estimate…etc. But when I try to use the circle center function on a circle I create, there’s no such choice in the right click pop up. Where did I go wrong?

lesforges's picture

Do the Right clik on the line, not on the face

Rene T's picture

thanks

Geo's picture
Geo

The description of the example tools is missing one important item: Point at Center

Chris Fullmer's picture

Done!, thanks for pointing it out Geo.

Geo's picture
Geo

You are our hero Chris !

lesforges's picture

Cool to have a point at Arc & Circle center (by a right clic )

Permet de poser un guide au point central d’un arc ou d’un cercle (par un clic droit)

Ben T.'s picture

Ну вот что это я не ахтунг по их

?

Rolando D's picture

lo maximo

::::

16195 users
Size:
18.4 KB
Version:
Example Ruby Scripts (1.1.0); April 30, 2013
Number of Views: 
128026
OS Compatibility: 
Languages: 
Extensions: 24
The SketchUp team uses our APIs to build all sorts of specialized tools. Some of these extensions ship with SketchUp as full-blown features, and some are just examples of how to use our APIs.