Merry Christmas, Joyful Holidays, and a Happy New Year 2019!

Merry Christmas, Joyful Holidays, and a Happy New Year 2019!

https://sketchfab.com/models/ffc984f2997a42c884d0a7425dca0955 Dear friends and colleagues, I wish you and your loved ones a Merry Christmas, a peaceful and joyous holiday season and a happy and successful new year 2019! Cheers, Alex P.S. Once again my Christmas card is a simple SketchUp model, made with a randomizing script and the amazing MS Physics extension. It was then exported to Sketchfab where I enhanced all textures a bit and applied lighting....
Read More
Using images for scaling and geometry patterns in SketchUp

Using images for scaling and geometry patterns in SketchUp

This post was actually inspired by a question in my Basecamp presentation: Could we use images to create or modify geometry in SketchUp? As it turns out, this is actually quite easy since SketchUp version 2018. This year's version of SketchUp includes a new class in Ruby, the ImageRep. Contrary to the regular Image class (which you can use to work with images as entities in SketchUp), the ImageRep class goes further and allows you to look at images on a pixel by pixel basis. This is basically what we need to be able to read pixel color values and then use those to create or modify geometry. As you can see in the code snippet below, this is reasonably straightforward once one figures out the basic geometric behavior. The code even stretches the image by the (x and y) dimensions of the selected geometry. One part that needed to be resolved was that color information in an image contains red, green, and...
Read More
Beautiful Functions in SketchUp

Beautiful Functions in SketchUp

Scripting geometry (as described in Chapter 7) can make things look very interesting (and quite beautiful) with a rather small amount of actual code. You can see this in the patterned panel example or in the pulled brick post. Both of those examples use a combination of sine and cosine functions to create a "wavy" pattern that nicely undulates shapes and geometry. There are other functions, however, some of which you likely remember from algebra and trigonometry classes. But even without delving too deeply into this, I thought it would be useful to have a reference for some interesting functions that may be of use. The interactive examples shown below use the following grid of 1 inch cubes in SketchUp that were simply scaled vertically according to the lines of code that are included at the bottom of this post. Obviously you can use this approach for other purposes and in other ways, too, but this is a good way to...
Read More
SketchUp 2017 is out. And it’s looking great!

SketchUp 2017 is out. And it’s looking great!

Okay, admittedly SketchUp 2017 has been out for a few days now (there's even a first maintenance release already). I just didn't get around to posting about it. So, what do I like most about this release? Here's my rundown: A new Graphics Engine This one is a major improvement. As you may know, SketchUp doesn't only exist on Mac or Windows computers, but since a little while also as a browser-based modeling app on the web (at my.sketchup.com). This means that there are three different graphics environments out there in which you can push and pull to your heart's content. It makes only sense from a software development standpoint to unify those three. Fortunate for the users, this also leads to much more consistent graphics as well. Specifically this means: The modeling environment is now DPI-aware. This means that on a high-resolution screen, everything from lines to tool cursors now scales with the set resolution. You can see this already in the...
Read More
How to best prepare your SketchUp models for Sketchfab.com

How to best prepare your SketchUp models for Sketchfab.com

There are nowadays quite a few ways in which we can share a SketchUp model with the world, thanks to a technology that is built right into most modern browsers: WebGL. One example is Trimble's 3D Warehouse, where an uploaded model becomes an interactive one just by clicking on a small icon: Other web services expand on this technology. Of those, Sketchfab offers amazing possibilities when it comes to adjusting the model and its materials after upload. Using its 3D Editor, you can tweak the interactive WebGL model quite a bit. Here is an example of an edited SketchUp model. I am covering the process of preparing a SketchUp model, uploading, and adjusting it in a guest post on the Sketchfab blog. You can read it at the link below. Feel free to discuss anything related to this process in the comments below this post. http://blog.sketchfab.com/post/139059882629/getting-your-sketchup-models-to-sketchfab-the If you want to experiment with the sample model, download it here: https://3dwarehouse.sketchup.com/model.html?id=uf387fc06-37bd-4099-ad5a-584fd6525db1...
Read More