SketchUp Ruby Editor updated to v.1.2

I just posted an update to the SketchUp Ruby Code Editor. It now sports buttons instead of text, which makes it easier to use on a small screen. It also has three new buttons: One to explore the current selection, one to explore attributes of the current selection and a third to display the Ruby […] Read more..

SketchUp script clips #2: Creating geometry

In this section, we’ll start creating scripted geometry in SketchUp. In this and all following posts, I’ll approach SketchUp scripting in a pragmatic way. This means that I don’t think every step in the process should be scripted – after all, I am not writing a plugin. I’ll only script what can’t efficiently be modeled […] Read more..

SketchUp script clips #1: Setup and basic ideas

In this series of posts, I will be exploring how one can create scripted geometry in SketchUp. Traditionally, this has been more the realm of programs like Rhino. And justifiably so. Rhino is NURBS-based and can create and modify curved geometry much better than SketchUp. However, SketchUp is an easy-to-use program for working with polygon-mesh-based […] Read more..

SketchUp Ruby Code Editor

This code editor extension offers an easy-to-use and visually appealing way to write and modify Ruby scripts directly within SketchUp. These scripts can then be used to create geometry, add functionality or add data within the SketchUp 3D modeling environment. The SketchUp Ruby API provides an extensive set of functions to automatize SketchUp in many ways or create scripted, computational geometry.

On-Demand Ruby / Extension Loader for SketchUp

This SketchUp extension was created out of a need for having extensions available in a “locked down” computer lab setting (similar to my solution for AutoCAD). It also provides an easy way to use extensions in SketchUp without having to install them – therefore making SketchUp start (and possibly run) faster. In addition, you can use this tool to run any external ruby code (e.g. for development purposes).

Face Centroid and Area Properties Extension for SketchUp

A little while ago, I had a need for calculating centroids for planar shapes in SketchUp. To be more exact, my students had the need since I gave them an assignment that required this. Not knowing of a plugin for SketchUp that would accomplish this feat, they did it in Rhino or AutoCAD instead.
To rid SketchUp of this shortcoming, I decided to re-use some old Pascal code of mine and try my hand at writing a plugin for this. Here is the result.