generative modeling for Rhino
Tags: area, lists, slope, sort
Permalink Reply by Danny Boyes on April 4, 2011 at 3:46am 
Attached two files, one for assigning colours based on slope, the other for removing facets based on slope.
I also changed your slope calculation to work directly on the z-component of the facet normal vector. I operate on the Absolute of the z-component, so it no longer matters whether the surface is upside-down or not.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Permalink Reply by David Wooden on November 8, 2011 at 5:18pm The ColourBySlope def has been very helpful. Is the output from the F(x) component in degrees (slope) or does the Z normal need to be converted into degrees?
Permalink Reply by Jacob Buchenauer on February 22, 2013 at 6:09pm it appears to be in degrees
Permalink Reply by Jacob Buchenauer on March 23, 2013 at 12:15am I have a question related to the ColorBySlope command you attached here. Is it possible to take the gradient you generate and use that to limit where, say, a curve (or set of curves) would be projected onto a surface? For example, if you drew a series of curves parametrically on the world plane, and then wanted to project those curves onto the surface, but only on the parts where the slope is a certain angle/color (in this example, the color of the surface represents a certain angle normal to the ground plane).
Permalink Reply by Matthew Schexnyder on April 5, 2011 at 6:10pm
© 2013 Created by Scott Davidson.
Powered by