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 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. 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 a simpler way to do this?"...
https://youtu.be/pOpmThy1KA8
In this tutorial I am demonstrating how you can import geometry that was created in SketchUp (and an image) into Trimble Creator so that we can add parametric behavior to it. I cover the basic import workflow, model cleanup, texturing, and parametric sizing here.
Trimble Creator is a tool/service that allows you to create parametric "Live Components" for SketchUp and lets you come up with some cool designs (or product configurators). You can try it for yourself at creator.trimble.com. If you like, you can modify and download the Live Component that I created in this tutorial here.
Have you tried Trimble’s Creator yet? Let me know below in the comments what you think about it.
...
https://www.youtube.com/watch?v=ciocDOO_ags
In this tutorial I create a parametric massing component (as a Live Component) completely from scratch in Trimble Creator. This allows me to cover geometry, parameters, Boolean operations and various user interface details and general processes.
Trimble Creator is a tool/service that allows you to create parametric "Live Components" for SketchUp and lets you come up with some cool designs (or product configurators). You can try it for yourself at creator.trimble.com. If you like, you can modify and download the Live Component that I created in this tutorial here.
Have you tried Trimble’s Creator yet? Let me know below in the comments what you think about it.
...
https://www.youtube.com/watch?v=joc6ouRTaTg
In this tutorial I show how the newly released Trimble Creator works. This tool/service allows you to create parametric "Live Components" for SketchUp and lets you come up with some cool designs (or product configurators).
You can try all of this for yourself at https://creator.trimble.com/. If you want to experiment with my models, search for "alexschreyer" there. Also, all of my Trimble Creator videos are contained in this YouTube playlist.
Have you tried Trimble's Creator yet? Let me know below in the comments what you think about it.
...
https://www.youtube.com/watch?v=cKz6m7sR-uw&feature=youtu.be
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.
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!
...