Custom Mesh Display

Hello,

I’m trying to figure out a custom display for meshes from grasshopper that retains ceretain properties from the Display Options Views Settings.

In my particular case, I have a copy of arctic view and I’m drawing mesh edges as black (somehow the mesh edge settings knows which edges belonged to the original brep that was meshed).

How do I output a similar visualisation of a mesh from grasshopper?

Original mesh object in ‘shaded view’:

Vieport Settings Applied:

Desired output in grasshopper (can only get it with meshes in Rhino document):

If you explode your original brep and convert each surface into meshes, then GH will recognize the naked edges…

2 Likes

Thanks,

That will definately work!
I still want to figure out how the display knows which edges of a mesh it needs to render as edges. Is it a property of mesh edges itself or some kind of magic that happens in the rendering pipeline?

2022-08-10 14_48_36-Script Editor

Also MergeAllCoplanarFaces on your output Mesh maybe magic!
https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_Mesh_MergeAllCoplanarFaces.htm

Unfortunately that method will not return anything clean where the surfaces are not flat (like those fillets in my example).

It looks as if they are unwelded mesh edges.

1 Like