🌱 Plant Kit Examples

Examples Package

Download whole package of examples here.

00. Basic Setup - A Simple Mix

Double click the file, no Rhino file required.
How do you fill plants into an area? What’s an area? What’s a plant? Where am I!? 
Here, we show you how to create “pseudo” plants and add them to your areas.


To launch the example file, double click on the example grasshopper (.gh) file to open Rhino 6 and Plant Kit demo.

The first rule of plant kit is to create plants. For the purposes of this example file, we’re using the Pseudo Plant Parameters component to generate a list of hypothetical plant data, which feeds into the Create Plants component. The Create Plants component will take the data from Pseudo Plant Parameters and generate a list of plants to use throughout your planting design. To change the number of species in this list, adjust the number sliders of max_sp and min_sp feeding into the Pseudo Plant Parameters component.

To randomly generate a new list of hypothetical plants, Toggle the True/False button connected to activate in the Pseudo Plant Parameters.

The Fill Plants component will accept the plants generated through the Pseudo Plant Parameter and the Create Plants components and join it with your site information and planting regions. To space plants tightly throughout your design, set the packing ratio of the Fill Plants component around 1. A value less than 1 will result in a more loosely spaced planting design. The weights input of the Fill Plants component will determine the proportions of each species to be represented throughout planting iterations. In this example, the weights for plant species are randomly generated from the Pseudo Plant Parameters.

To change or assign new planting areas, right click the curve container component labeled “Area Boundaries” and select one, or multiple, closed, planar curves. Add or change topography by assigning a mesh to the mesh container Topo component. This information from your site’s topography and boundaries will inform the Create Environment component. In future videos, we will show you how to add layers of analysis to your environment instance to shape your planting designs.

Plants distributed through Fill Area component will have their placements and density adjusted slightly in the Pack Plants component by changing the step input value. Packing plants will ensure that plants are not placed on top of each other but instead placed in a way that respects the diameters of their plant neighbors.

The next step is to use the Get Area Plants component to gather the plants and prepare them for visualization or export.

Get Plant Info will generate a list of plants with their defining attributes broken out and ready for visualization.

If you would like to refresh your planting design with a new distribution of randomly generated hypothetical plants from Pseudo Plant Parameters hit F5 on your keyboard.

If you’ve generated a design that you like, make sure to bake before hitting F5 again.

01. Placing Plants Explicitly

Double click the file, no Rhino file required.
Here, we add plants where we want them and the other plants fill in around them.
In this section, we are going to show you how to directly place a plant. The information covered in this section is particularly helpful if you have existing vegetation on your site that you would like to integrate into your planting design, or if you’d like to introduce manual patterns or geometries into your planting mixes. 

This section will also teach you how to randomly place a specific number of a plant species into a planting mix and show you how to define the characteristics of your desired plant.

To place a plant in a specific location, use the Create Plant component. You can name your introduced plant species, define a height and radius of the plant, give it a color for visualization purposes, and determine if this plant should be distributed singularly or in clusters. To distribute the plant singularly, set the group_radius input of the Create Plant to 0, or leave it without an input. To distribute this species as a cluster throughout your planting designs, set the group_radius input to an integer greater than 1.

Once you’ve defined the traits of your plant, use the output from the Create Plant component to feed into the native grasshopper component “Duplicate Data.” Change the number input of the “Duplicate Data” to number of times you’d like this species to be repeated throughout your planting areas.

To place your new plant throughout the planting areas, create a “Boundary Surface” from “Area Boundaries.” The surfaces generated from “Boundary Surface” will be the input geometry used for the grasshopper native component, “Populate Geometry.” The number of custom-placed plants you define as your n input will be placed in each area.