> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/ladybug-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/ladybug-primer/components/3_analyzegeometry/set_rhino_sun.md).

# Set Rhino Sun

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-a3a7592a0940ceae473ee2565035fa3aa198ffe0%2FSet_Rhino_Sun.png?alt=media)

![](https://894783789-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1I3gb93zpLrLZf%2Fuploads%2Fgit-blob-30ca1ddc8ef608d32b854f8a5c9d84e8ebabc31e%2FSet_Rhino_Sun.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Set%20Rhino%20Sun.py)

Set the sun in the Rhino scene to correspond to a given location and date/time.

This can be help coordinate Rhino visualizations with Ladybug analyses.

### Inputs

* **north**

A number between -360 and 360 for the counterclockwise difference between the North and the positive Y-axis in degrees. 90 is West and 270 is East. This can also be Vector for the direction to North. (Default: 0)

* **location \[Required]**

A ladybug Location that has been output from the "LB Import EPW" component or the "LB Construct Location" component.

* **hoy \[Required]**

Script variable rhinoSun

* **run \[Required]**

Set to True to run the component set the Rhino Sun.

### Outputs

* **report**

Reports, errors, warnings, etc.
