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..

Ruby Code Editor Updated to Version 1.1

I finally fixed some problems and added new features to my SketchUp Ruby Code Editor. The result is a 1.1 version that is now available for download. The changes are: Changed webdialog internal name for compatibility Better looking dropdowns under IE Win Fixed save filename preselect problem Better code execution and error catching (thanks to […] Read more..

My Newest Plugin: A Shiny Ruby Code Editor for SketchUp

I always found Ruby code editing and testing for SketchUp a bit tedious. First I write code in my preferred text editor: PSPad. Then I load it into SketchUp using my plugin loader. And then I run it from the menu. Although there are better ways to handle this (e.g. the SketchUp bridge), I wanted […] 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.

Merry Christmas and a Happy New Year 2010

Wherever you are and whatever you celebrate, enjoy your holidays and some relaxing time with your families. I wish you all the best for the new year! Cheers, Alex (FYI: The image was rendered with the fantastic SketchUp rendering software Twilight)

SketchUp Ruby API Cheatsheet

I like working with cheatsheets when I do coding. Although the online API reference is very extensive and has great examples and the downloadable version is a good solution when you’re offline, this one may be useful as a reference once you mastered the basic concepts. It contains the full API reference in a condensed […] Read more..

Numbering vertices in SketchUp

As it turns out, I need to revisit my centroid plugin for SketchUp. While it accurately calculates area properties for a face that does not contain internal (and fully enclosed) openings, it apparently gets it wrong as soon as an enclosed opening is present (like the face in the top-right corner of the image above). […] Read more..