etjones / LiveParametric

Extension to Google Sketchup's Parametric class example to allow live updating & richer UI.
2 stars 0 forks source link

LiveParametric for Google Sketchup

Introduction

LiveParametric is a more interactive version of the Parametric class supplied in Sketchup's Ruby examples. It lets you control a plugin in real-time using sliders, dropdown menus, and other UI elements, with a minimum of extra code required.

Example

Google's Ruby examples include a parametric model called OnionDome. By supplying different values in the input box, you can change the appearance of the dome significantly.

Original Parametric LiveParametric
Original LiveParametric

But, every time you want to change the dome, you have to right-click on the object, select "Edit Onion Dome", and then type new values. It's difficult to explore very much with a system like that.

LiveParametric makes it much easier to try out different appearances of a structure, by letting you change dimensions in realtime with sliders, checkboxes, or other UI elements. And it required almost no code to convert the original Parametric OnionDome to a LiveParametric one.

Installation

(parametric.rb, and others, are available here).

Using LiveParametric in your code