Display or hide SketchUp layers/tags depending on time (dates or hours). Create and assign simultaneously a layer/tag to an entity via context menu. Export time layers/tags to a MP4 or GIF animation. Export and import time layers/tags in JSON format. Now, your favorite 3D modeling software understands seasons concept.
- Be sure to have SketchUp 2017 or newer.
- Download latest Layers/Tags In Time plugin from the SketchUcation PluginStore.
- Install plugin following this guide.
Now, you should have in SketchUp a "Layers/Tags In Time" menu in "Extensions" menu and a "Layers/Tags In Time" toolbar.
Say we have a SketchUp model containing a terrain, an oak tree, a snowy terrain, a snowy oak tree and a deer. All these entities are visible and already grouped conveniently. Ok? Now, let's follow these steps:
-
Right click on "Terrain And Oak Tree" group in viewport or in "Outliner" panel. Select "Assign to layer" then "New layer...". Enter this layer name: Spring-Summer-Autumn. (Note that as of SketchUp 2020 "Layers" are called "Tags".)
-
Right click on "Snowy Terrain And Snowy Oak Tree" group in viewport or in "Outliner" panel. Select "Assign to layer" then "New layer...". Enter this layer name: Winter. (Of course, you can still use "Layers" and "Entity Info" panels to accomplish this.)
-
If you need it: assign "Deer" entity to a layer. Whatever... It doesn't concern us since, in our model, time has no effect on deer.
-
Open "Extensions > Layers In Time > Open Layers Editor". Input these dates for "Spring-Summer-Autumn" layer: 03/20 - 12/20. Input these dates for "Winter" layer: 12/21 - 03/19. (By the way, this plugin handles overlap on two years or two days.) Save changes.
-
Open "Extensions > Layers In Time > Play animation". Customize settings then press "OK" to preview animation. Repeat this step until you're satisfied.
-
Open "Extensions > Layers In Time > Export to an animation...". Customize settings then press "OK" to export animation. SketchUp can become unresponsive during this operation. Don't close SketchUp. Be patient ;)
-
Enjoy result:
For sake of standardization between leap years and normal years: leap days aren't supported... This plugin sees February 28 and 29 as same day. (It's not a bug.)
Layers/Tags In Time plugin relies on imaskjs, List.js and FFmpeg. Thanks to imaskjs's, List.js's and FFmpeg's contributors. Thanks also to Simon Joubert for this plugin's original idea. Toolbar icons of this plugin were made by Linector and Freepik from Flaticon.
© 2021 Samuel Tallet