Grasshopper

algorithmic modeling for Rhino

Control Rhino Sun System from GH (Rhinocommon)

In Rhinocommon it is very straightforward to take control of the sun system.

The attached definition will get you there.  There are some weird things happening when I switch locations...the time gets shifted.

I need to look further as it was very quickly implemented.  As you see, only 2 lines of code to mess around with the sun.

controlSun.gh

Views: 3815

Comment

You need to be a member of Grasshopper to add comments!

Comment by Murtaza Mohammadi on May 24, 2015 at 2:02am

great, thanx

Comment by Ben Raines on January 3, 2013 at 10:48am

Michael, I think "Sun" is being added in Rhino 5, I think a beta is out there somewhere.

Comment by Michael Esposito on October 15, 2012 at 11:40am

This is a great little definition, however, I'm getting two error messages:

"Error: The type or namespace name 'Sun' does not exist in the namespace 'Rhino.Render' (are you missing an assembly reference?) (line 86)"
"Error: 'Rhino.DocObjects.Tables.LightTable' does not contain a definition for 'Sun' (line 86)"

I'm using Rhinoceros 4.0 v9 and just recently installed the Rhino4.0SDK.  Any comments/suggestions would be appreciated. Thanks 

Comment by pbdlab on May 31, 2012 at 8:50pm

Nice work! Thanks!

Comment by Ángel Linares on May 23, 2012 at 12:55pm

A lot!, usefull tool!

Comment by Wieland Schmidt on May 20, 2012 at 9:03am

Thanks, very helpful. 

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service