Newbie to Ruby API?

Hey!
I’m wanting to get into Ruby. Does anyone have any good tutorials aside from the one on developers.sketchup.com ?
Preferably something basic.
Kaiden :slight_smile:

2 Likes

Thanks @dezmo

Do you have existing programming experience and are looking to get into the SketchUp API? Or are you looking for resources on learning Ruby and programming from scratch?

Also, what are you wanting to create? :smiley:

Only very slightly from about 5 years ago.

Yeah

Anything at this point!

I’d then recommend having an initial look at Ruby’s own Getting Started:

Play around a little to familiarize yourself with the fundamentals of the language.

Our API docs and examples assume basic knowledge of Ruby and programming.

Then maybe play around with the SketchUp API from the Ruby Console. There’s is even an Ruby Console+ extension that includes an intro to SketchUp API itself: Extension | SketchUp Extension Warehouse

Then look at our example and tutorials on GitHub: GitHub - SketchUp/sketchup-ruby-api-tutorials: SketchUp Ruby API Tutorials and Examples

The tutorials are fewer, but goes into every detail of the basic structure of an extension. The examples section has less comments and more to provide a range of examples to study.

Post back to the forum if you ever get stuck. That’s how I got into SketchUp extension development.

3 Likes

Thanks Thomas :smiley:

A “simple” external code editor like “notepad++” can be useful too…

2 Likes