DESCRIPTION
This set of components allows for the manipulation and creation of Rhino light objects from grasshopper. The components were originally developed to create shadow studies in Rhino driven by Ladybug, as an alternate to using Rhino’s sun system, which changes the color of the sun to reflect its intensity at a given time of the day. In the case of this study, it was important to keep the shading consistent, but match the sun angle. This required the movement of a directional light in Rhino controlled by a vector in Grasshopper. This lead to the development of the larger set, featured here, which covers all the typical light types in Rhino. These components are based off the the fantastic work by Andrew Human’s, Human Tools, and the posts of Luis Fraguada. The distinction in this set of components is that they allow for the both the creation of a light object, like with Human Tools, and the modification of lights via their GUID. This relationship allows the one time creation of the lights based on grasshopper parameters, which outputs both the light objects and the GUID’s which can be copied and referenced to then update the light’s properties. Lights created within Rhino can also be modfied directly through the GUID component.
INPUTS / OUTPUTS
INPUT GUID Item ID The GUID for a light object. This will modify an existing light in the scene
INPUT Point3d Item O Sets the origin point for the point light
INPUT Color Item C Sets the diffuse color of the light
INPUT Double Item I Sets the unitized (0-1) intensity of the light
INPUT Boolean Item B If true will create a new light object in the scene
OUTPUT GUID Item ID_ If B is true the GUID of the newly created light, else if ID has an input, the same GUID is returned
INPUT GUID Item ID The GUID for a light object. This will modify an existing light in the scene
INPUT Line Item L This line input sets the origin, direction, and axis for the light
INPUT Color Item C Sets the diffuse color of the light
INPUT Double Item I Sets the unitized (0-1) intensity of the light
INPUT Boolean Item B If true will create a new light object in the scene
OUTPUT GUID Item ID_ If B is true the GUID of the newly created light, else if ID has an input, the same GUID is returned
INPUT GUID Item ID The GUID for a light object. This will modify an existing light in the scene
INPUT Line Item L This line input sets the origin, direction, and axis for the light
INPUT Double Item A The angle of the light cone in radians (0 to pi/2)
INPUT Double Item F The unitized focus of the spotlight (0-1)
INPUT Color Item C Sets the diffuse color of the light
INPUT Double Item I Sets the unitized (0-1) intensity of the light
INPUT Boolean Item B If true will create a new light object in the scene
OUTPUT GUID Item ID_ If B is true the GUID of the newly created light, else if ID has an input, the same GUID is returned
INPUT GUID Item ID The GUID for a light object. This will modify an existing light in the scene
INPUT Line Item L This line input sets the origin, direction, and axis for the light
INPUT Double Item R Sets the radius for the linear light
INPUT Color Item C Sets the diffuse color of the light
INPUT Double Item I Sets the unitized (0-1) intensity of the light
INPUT Boolean Item B If true will create a new light object in the scene
OUTPUT GUID Item ID_ If B is true the GUID of the newly created light, else if ID has an input, the same GUID is returned
INPUT GUID Item ID The GUID for a light object. This will modify an existing light in the scene
INPUT Plane Item P Sets the plane for the rectangular light
INPUT Double Item L Sets the length for the rectangular light
INPUT Double Item W Sets the width for the rectangular light
INPUT Color Item C Sets the diffuse color of the light
INPUT Double Item I Sets the unitized (0-1) intensity of the light
INPUT Boolean Item B If true will create a new light object in the scene
OUTPUT GUID Item ID_ If B is true the GUID of the newly created light, else if ID has an input, the same GUID is returned
DOWNLOADS
gha | Download User Objects
gh | Download Grasshopper Sample Files
MINIMUM REQUIREMENTS
Platform | Rhino 5, Grasshopper
Version | Grasshopper 0.9.0075
Type | Visual Basic Component