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 weightsinput 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.
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.
Alternatively, instead of using“Populate Geometry” to generate random points within your Boundary Surface, you can set locations for plants by assigning points as the input for locs in the Add Plant component. If you are assigning points, be sure to add your points to the“List Length” component and assign the resulting list to the n input for“Duplicate Data” to ensure that you have enough plants available to distribute throughout the number of points you’ve set.
Use the toggle component to set the fixed input to True for Add Plant.
Create Planting Areas will generate the input for <A> in the Add Plant component. This input will need to be grafted. By grafting this input, the two areas collected from the Create Planting Areas that exist in one list will be separated into two data trees that each have one area.
Add the output from Add Plant to the <A> input for the Fill Plants component. This will integrate your placed plants within a planting mix.
Constrain the plants you are adding and filling by adding analysis layers to the environment and creating niches for the plants.
Now, we’re going to talk about how to add plants that are constrained to an area based on how the plants’ preferences for slope, elevation, and sun exposure align with site conditions.
The first step to constraining plants is to add analysis layers to the Environment instance. You can add all the environmental analysis layers to the Environment, or you can select one or two analysis layers that are the most relevant for your design.
When you Create Planting Area from your Environment with your analysis layers, you will set up Plant Kit to later restrict what is planted, where, based on specific environmental conditions.
Similar to how we generated Pseudo Plant Parameters in Example 00, for the purposes of this example, we’re going to generate Pseudo Niche Parameters. A niche describes a specific environmental condition that is the ideal habitat for plant species. In Plant Kit, a niche is defined as the minimum and maximum value of an environmental condition where a plant can occur in a given planting design.
Pseudo Niche Parameters will pull data from both the Environment and the Pseudo Plant Parameters to generate hypothetical niches within your site given the existing conditions. From here, use the Create Niche component to gather this data as the N input for the Create Plants component. This sequence of components will create a list of species with environmental preferences that can be placed as the <P> input for Fill Plants Constrained.
To place plants like we did in Example 01, add niche information to the plant you defined by adding the Pseudo Niche Parameters and Create Niche to the N input for Create Plant. If you do not see the plant you defined and placed in your planting mix, the random niches generated in Pseudo Niche Parameters are not matching with the niche preferences for your plant. Simply hit F5 to generate a new random list of plants and niche data.
02.b Real Plants Defined Manually
Define your own plant attributes to build plants with the characteristics that are particular to your project. This requires a bit of work on your part but ensures you understand your plants and their constraints.
Examples Package
00. Basic Setup - A Simple Mix
01. Placing Plants Explicitly
02. Constrained Plants
02.b Real Plants Defined Manually
03. The Full Rhino Workflow (so far)