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...
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.
Tutorial Video
https://youtu.be/pOpmThy1KA8
Have you tried Trimble’s Creator yet? Let me know below in the comments what you think about it.
...
In this video 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.
Tutorial Video
https://www.youtube.com/watch?v=ciocDOO_ags
Have you tried Trimble’s Creator yet? Let me know below in the comments what you think about it.
...
In this video 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, parametric designs (or product configurators).
You can try all of this for yourself at Trimble Creator's live site: creator.trimble.com. If you want to experiment with my models, search for "alexschreyer" there (using one of the left icons). Also, I am collecting all of my Trimble Creator videos in a YouTube playlist.
Tutorial Video
https://www.youtube.com/watch?v=joc6ouRTaTg
Links
Trimble Creator - Access the web app here
Trimble Creator Forum - A place to ask your questions on SketchUp's forums
Node Documentation - The main help docs for Creator's nodes
Have you tried Trimble's Creator yet? Let me know below in the comments what you think about it.
...
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!
...