Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 451 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 451 Bytes

Ruby code snippet to generate a random cityscape in 3D design tool SketchUp

This is a simple example for creating a grid of block with random height. Three roads are defined with blocks of limited height and black color.

How to run

The file is not packaged as a SketchUp extension (.rbz). You need to copy the content of the cubes.rb file into SketchUp's built-in Ruby editor and run the code.