SketchUp Ruby

From Wikipedia, the free encyclopedia

Ruby is a popular scripting language that was first introduced (to Sketchup) in SketchUp 4. Since its introduction SketchUp users have shown their creativity by creating hundreds of useful tools. The SketchUp Ruby Forum is the place where all SketchUp Ruby developers & users share their ideas on SketchUp Ruby [1]

Contents

[edit] Ruby Application Programming Interface (API)

SketchUp contains a Ruby application programming interface (API) for users who are familiar with (or want to learn) Ruby scripting and want to extend the functionality of SketchUp. This interface allows users to create macros, such as automated component generators and additional tools, to be included in the menus within SketchUp. In addition to the API, SketchUp also includes a Ruby console, which is an environment where you can experiment with Ruby commands and methods.[2]

[edit] Learning Ruby & The SketchUp API

A good place to start learning the SketchUp API is to read the SketchUp Ruby Documentation which is bundled with SketchUp. You can also find good sources of Ruby instruction at the following places:

[edit] Tutorials

There are a number of SketchUp Ruby Tutorials on the SuWiki:

[edit] Ruby SketchUp Experiments

A number of interesting Ruby SketchUp experiments are currently in the developement stage.[3]

  • SUAVE - SketchUp Audio Video Experiments
  • SketchUp Bridge - Allows external Ruby code to be executed inside SketchUp (Windows only)
  • SketchUp Web Macro Editor (not available yet but undevelopment)
  • SUDLL - A project to extent the full power of Windows dialog boxes in their SketchUp applications *Tutorial Available

[edit] External Resources

[edit] References

  1. ^ http://www.sketchup.com/?sid=79 SketchUp Website
  2. ^ SketchUp Ruby Documentation Page 1.
  3. ^ http://labs.plugins.ro