3.1B Multiple Switches

The above example uses a field of points and their distance between the data stream of a marker to give a specific color and extrude a circle based on proximity.
The definition builds on previous definitions we have made. In this example we are grafting the list of points and distances so they can be compared in their corresponding branches. The new components are listed below.
1. Circle the inputs for this component are a point for the center of a circle a number for the radius.
2. Patch this component creates a surface based on bounding curves or points. There also a couple of other settings but we will leave those as default for now. Be mindful that if you input a flattened list of curves it will try to create a patch from all of the curves so you will need to graft the list in this example.
3. Distance the inputs for the distance component are two vectors/points and the output is the distance between the points.
4. Extrude the inputs for the extrude component are a surface or curve and a vector for the extrusion direction and distance.
You can download the above definition here: Multiple Switches