Save a SketchUp File as an Older Version (Ruby Snippet)

Save a SketchUp File as an Older Version (Ruby Snippet)

With the recent introduction of SketchUp 2024 came one change in functionality that has the community talking here and here. In 2023, when you went to the File > Save As... dialog, you had all of the SketchUp versions available all the way back to version 3 (Why not version 2? That's when I got into SketchUp!) as a file format option (see image below). With 2024, this has now gone away and files can "only" be saved in the version-less SketchUp file format that was introduced with SketchUp 2022. SketchUp Desktop 2023 SketchUp Desktop 2024 In principle, the version-less format (which, by the way, has with the 2024 version also been introduced for LayOut) is a very convenient thing: You can open a newer file in an older version (albeit with a warning that some functionality may be lost). That makes working in computer labs (which are notoriously slow to update) and other environments much easier. It is also VERY MUCH better...
Read More
Coding Your First SketchUp Extension

Coding Your First SketchUp Extension

In this (beginner!) video tutorial I give a very basic overview of the process needed to create a SketchUp extension from scratch and then distributing it as an RBZ file. Admittedly, this isn't completely from scratch since I am starting with a template file that you can simply download from this site, but the result is a very basic yet fully-functional SketchUp extension. Want to learn more about Ruby scripting? This video does not cover much of Ruby scripting, but you can read up on that topic in Chapter 7 of my book. Tutorial Video https://youtu.be/fDV92tkzTh0 Links Extension template files - You can download those from my website here. SketchUp Ruby API - SketchUp's official API reference. ...
Read More
Make your life easy: Load SketchUp extensions from a cloud folder with a small Ruby script

Make your life easy: Load SketchUp extensions from a cloud folder with a small Ruby script

Are you using SketchUp Pro on multiple computers? As I mention in Chapter 2, it may make sense to leverage one of the many cloud storage services (that you may already be using) like Dropbox, OneDrive, GDrive, etc. to make your life easier by synchronizing those. In essence, using the approach presented here, you can off-load extensions that you want to have available on both machines onto a shared drive, and then you load them back from the respective computers using the script shown below. Tutorial Video https://www.youtube.com/watch?v=mI6FvENlIno Tutorial Steps Step 1: Designate a folder on your cloud drive First, designate a folder on your cloud-synchronized drive as the Plugins folder. As you can see in my example below, I am using OneDrive (at C:/Users/<username>/OneDrive/SketchUp/Plugins), but you can use any other service, too (e.g. for Dropbox on Windows it would likely be C:/Users/<username>/Dropbox/). Of course, for this to work you need to have a cloud-synchronized local folder, not just an online folder. And that folder...
Read More
GPT-3.5-Turbo vs. GPT-4 with the SketchUp OpenAI Explorer extension

GPT-3.5-Turbo vs. GPT-4 with the SketchUp OpenAI Explorer extension

Now that version 2.1 of the SketchUp OpenAI Explorer extension is available, it is easier to test the AI's capabilities when using the most recent GPT-4 model. In this post, I will be comparing side-by-side the gpt-3.5-turbo and the gpt-4 models with a few common examples. If you want to give this a try, too, make sure you have access to the gpt-4 model and then simply replace the model name in my SketchUp extension's settings dialog. The extension page on my other website features a longer list of successful prompts than what I am able to cover here. Feel free to give those a try, too. Example1: Draw a Box For this example, I asked the AI to draw a 2' (i.e. "two foot") box. I wanted to test not only whether the box would get drawn correctly, but also if the foot tick mark would be interpreted correctly as the foot unit. The images below show what I got with that...
Read More
Just Released: Third Edition of “Architectural Design with SketchUp”

Just Released: Third Edition of “Architectural Design with SketchUp”

I am very excited to be announcing the release of the third edition of my book “Architectural Design with SketchUp”! You can as of now find this new edition on Amazon, Wiley and everywhere else where books are sold. It is available as full-color paperback and e-book editions. Since the publication of the second edition in 2015, many changes have happened to SketchUp and in the larger realm of architectural software: Trimble introduced a web version of SketchUp as well as an iPad version that has proven very popular. Real-time rendering options have increased in availability, and point cloud modeling is now often used on renovation projects. Beyond that, many new extensions have been published, others have gone away or have been replaced with built-in functionality, and their underlying Ruby engine has received new and updated capabilities. All of these changes made an update to the second edition necessary, which led to me thoroughly editing and rewriting the entire text. I updated screenshots...
Read More