I want to design a path on a slope and I would like to create a custom preview of gradient colour equal to the path degrees in order to create a diagram showing that the degrees of the path is between 0% - 12 %.
Is it possible to create it in grasshopper? How difficult is it? This is a part of the path I want to create!
The examples in that thread with the gene pool component are using it to set various “slope ranges”.
so a gene pool with values of:
is fed into something like a consecutive domains component/function, to yield “ranges”:
(ranges is a poor choice of words on my part, they are explicitly DOMAINS…that are used to hold the slope values that fit into those domains).
Yeah Qythium thank you for your comment. The fact that some parts are canted sideways is something that i haven’t fixed yet. So the correct case is with only vertical normals so I don’t care for two dimensions.
In the examples I referenced, the base geometry was mesh faces. The units that come out of vector compare, (measure angle between two vectors), outputs radians. Those are then converted to degrees, (using the built in radians to degrees component). There is then an option to use degrees or Percent.
Looks like you have a working solution already.