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
Yes, You Can Use OpenAI’s GPT AI to Create Geometry in SketchUp (With Ruby Snippet)

Yes, You Can Use OpenAI’s GPT AI to Create Geometry in SketchUp (With Ruby Snippet)

AI can create a box from a text prompt and even show a completion message Just like everyone else these days I have been trying out OpenAI's ChatGPT and Microsoft's Bing (which now also uses the same AI - artificial intelligence - engine). One of my lines of exploration (beyond "what does this thing know about me?") was the question whether it can auto-generate SketchUp Ruby code with AI. And - as it turns out - it can do that. Albeit with some caveats. As a start, you can go to ChatGPT and (after signing up) ask a reasonably specific question like "Which Ruby code would draw a box in SketchUp?". That would spit out somewhat appropriate code that you can just paste into e.g. the Ruby Code Editor. Apparently the SketchUp API is part of its knowledge base and generating SketchUp-specific Ruby code is thus well within its grasp. You could even refine the query with a comment like "Isn't there...
Read More
Intro to Coding in SketchUp with the Ruby Code Editor

Intro to Coding in SketchUp with the Ruby Code Editor

This video provides an introduction to Ruby scripting with the Ruby Code Editor extension in SketchUp. Scripting in SketchUp is also a good "intro to coding" exercise because you not only learn a usable scripting language (Ruby), you can even use it to create 3D models that you can manufacture (e.g. 3D print) afterwards. Tutorial Video https://www.youtube.com/watch?v=cKz6m7sR-uw&feature=youtu.be This is a free sample instructional video from the book "Architectural Design with SketchUp: 3D Modeling, Extensions, BIM, Rendering, Making, and Scripting" (2nd Edition). I discuss this topic more in detail in that book's Chapter 7. Want more of these videos? If you own the book, use the password from the inside cover to gain access to all of my remaining videos on Wiley's website: http://www.wiley.com/go/schreyer2e. If you don't yet have your own copy, follow the links in the sidebar to get one. It is a great reference for SketchUp! ...
Read More
Fun with Coding in SketchUp (for All Ages)

Fun with Coding in SketchUp (for All Ages)

In this video tutorial I show how you can use Ruby coding in SketchUp to have some fun: Create 3D geometry, draw with code, bend the software to your will... No need for previous coding experience. This can even serve as an introductory "learn to code" curriculum. Tutorial Video https://youtu.be/BlC7eerfS1U?list=PLxUo4IvucruefSR-dwEs7pHAjQZgoOhw0 This is a free sample instructional video from the book "Architectural Design with SketchUp: 3D Modeling, Extensions, BIM, Rendering, Making, and Scripting" (2nd Edition). I discuss this topic more in detail in that book's Chapter 7. Want more of these videos? If you own the book, use the password from the inside cover to gain access to all of my remaining videos on Wiley's website: http://www.wiley.com/go/schreyer2e. If you don't yet have your own copy, follow the links in the sidebar to get one. It is a great reference for SketchUp! ...
Read More