Skip to content

Latest commit

History

History
18 lines (10 loc) 路 1.62 KB

README.md

File metadata and controls

18 lines (10 loc) 路 1.62 KB

sample-grasshopper-analysis

A VIKTOR sample app which runs a Grasshopper script with Ladybug sunhours analysis. 馃馃悶

Functionality

This app demonstrates how to connect VIKTOR applications to Grasshopper scripts. The app is connected to a Rhino Grasshopper instance running on a server, and allows the user to run a Grasshopper script with a sunhours analysis. A twisting tower is configured through the app parameters, and each time the user updates a parameter, a Grasshopper script runs on the server that performs a sunhours analysis using the popular Ladybug plugin. The tower parameters can be adjusted and the resulting geometry and sunhour performance is visualized in real-time.

Screenshot 2023-08-03 133936

Configuration

The Grasshopper script that is executed and the worker configuration used for this app can be found in this repo under files. For further documentation on how install and connect Rhino / Grasshopper to your VIKTOR app, head to our docs.

Screenshot 2023-08-02 155545

Use Cases of Grasshopper integration

This integration opens the door to many exciting possibilities. It is possible to inject Grasshopper into existing VIKTOR workflows, run Grasshopper scripts using plug-ins from the browser or automate complex workflows with multiple Grasshopper files. Happy coding! 馃槉馃帀