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