🚨 We need your feedback: SketchUp’s AI Assistant is here!

Thanks, Dezmo!
Yes, I use the ruby ​​console quite often to talk to Gemini AI when testing the extension codes, those are the first messages that appear when I restart SketchUp.

It’s probably a version that hasn’t been updated in a while. I saw that in the loader there is also code that is not necessarily needed in newer versions of SketchUp. :wink: Thanks, TIG!


I can very well imagine that the code was written by AI, which, by analysing the existing codes, determined that these should be at the beginning of the file.
Then, the person reviewing the code is either lazy or doesn’t care (or doesn’t exist). :grin:

1 Like

I hope the person who wrote the code had the opportunity to meet you at the 3D Basecamp in Vancouver and already knows that you didn’t say it with malice. :slight_smile:

I informed Gemini AI that it was no longer necessary to enter those codes and it only had words of praise for @TIG, agreeing with him of course. But, a day later, when I was working on the Flip Along plugin for SketchUp 2026, out of nowhere it still entered the code require 'sketchup.rb'. It probably takes a while for it to update. :wink:

1 Like

There’s nothing wrong with the ‘require’ code, it works and then does nothing, because it’s already been required before anything else is loaded. It’s just a very minor thing. I’m sure if you look through many of my scripts I still include it too - not having bothered to fix it !

AI doesn’t always learn well. The blackbelt-barrister in the UK has recently been testing ChatGPT and Grok, because our woeful justice secretary [Davis Lammy] is looking to scrap many jury trials and introduce AI in court because of the shortage of experienced judges. The results are risible. Consumer law questions return wrong answers and quote wrong sections as justification. Knife carrying questions gave plain wrong answer, it saying that provided the blade is <75mm long and locks open it’s OK, of course no blade can lock open, unless it’s a trade-tool and you have a reasonable excuse to be carrying it!

Simple questions about logic fail dismally - e.g. my car needs washing, the car-wash is a mile away, it’s a nice day, should I drive or walk ? AI says walk - missing the vital issue that you will arrive without the car to wash! All weird… BUT is is getting better, and can be trained sensibly with effort.

2 Likes

BTW, on macOS if you manually launch SketchUp via a terminal, you will see similar warnings about duplicated items in the C/C++ code. These have been there for many years, but normal users don’t see them because they go to the old-fashioned stdout IO, which macOS doesn’t display via its GUI. Same situation as not seeing the Ruby warnings unless you have the Ruby Console open, and the code is exact duplicate so the warnings can be ignored.

I didn’t quite believe that AI would answer the car wash question so foolishly, so I asked Claude.

:grimacing:

6 Likes

That’s Q.E.D. !

1 Like

Generally AI seems better with organic shapes than hard surfaces.

1 Like

I got a good chuckle out of this one. I fed the AI assistant an image of a handwashing sink, and it generated a… teddy bear?

I knew it was probably a poor image to use. I do get decent results most of the time.

4 Likes

well, maybe peak sink form is a labubu.

1 Like