Damn...beat me to it... http://groups.google.com/group/grasshopper3d/web/angleAn2.jpg In this one I color the meshes as well as the surfaces...
Luis On Apr 10, 12:16 pm, David Rutten <[email protected]> wrote: > I meant using the OGL preview > shaders:http://groups.google.com/group/grasshopper3d/web/ColourPreview.png > > I noticed there is a bug in the Planar-Surface->Plane conversion, I'll > fix this for the next release (available hopefully sometime later > today). Also, in the next release you'll be able to plug a colour > directly into the Preview Component, no need to specifically create a > shader first. > > -- > David Rutten > [email protected] > Robert McNeel & Associates > > On Apr 10, 11:55 am, hypertriangleman <[email protected]> > wrote: > > > I tried doing as you said, although there are still some issues that I > > have resolved. By looking at these screenshots, can you detect the > > mistake? > > > Links:http://farm4.static.flickr.com/3400/3428787724_6afd6a16f1_o.jpghttp:/... > > > thanks > > > On Apr 9, 9:45 pm, David Rutten <[email protected]> wrote: > > > > yup, if your surface is planar that means that you can plug them into > > > Plane parameters and have them converted on the fly into planes. > > > From these planes you extract the z-axis, and you measure the angle > > > between the z-axis and a vertical vector. > > > Feed that angle into a gradient editor, and custom preview your > > > surfaces. > > > > -- > > > David Rutten > > > [email protected] > > > Robert McNeel & Associates > > > > On Apr 9, 6:16 pm, hypertriangleman <[email protected]> wrote: > > > > > Hello Everyone, > > > > > I was wondering if there is a way to analyse the angle of a planar > > > > triangular surface to the construction plane and translate that into > > > > color and in numerical data. The idea is to have a color gradient with > > > > a vertical surface in red and a horizontal surface in white. There > > > > are over 100 triangles with a different position in space to analyse. > > > > Any ideas? > > > > > Thank you.
