Hello,
I’m a Rhino / Grasshopper newbie wanting to create a tool for myself to better identify the height of different surfaces from different angles.
I want to make a elevation heat map, scaled dynamically between the lowest and highest points of whatever geometry I create on a given layer. When I say heat map, I mean something like this.

I followed this tutorial to create a mesh in Grasshopper constructed around target geometry, colored with a gradient according to the target geometry’s z component, so that, in the grasshopper project I’ve shared & screenshotted below, all surfaces visible in the range of z=3mm should display as blue, but then the gradient doesn’t appear and the geometry stays grasshopper-selected-red.
// errors: “1. Solution exception:Object reference not set to an instance of an object. 2. Data conversion failed from Surface to Mesh face”HeightMap.gh (11.5 KB)
DVDCaseTest.3dm (751.4 KB) // the project I was creating this for
I suspect something’s gone wrong in the conversion between brep and mesh. Maybe I misunderstand what breps are?
I would greatly appreciate anyone pointing me in the right direction. Thanks & take care,
Peter


