Detecting mesh creases

Hello everyone,
I was trying to find a way to use grasshopper to detect creases/hard edges in a mesh, for example delineating them. As a simple example, if given a mesh box it would give out the edges of the box. Anyone have any idea if this would be possible?
Thanks in advance for the help on this!
Best regards,
Samuel

Yes this is possible.
Here’s an example showing how to select all edges where the angle between adjacent faces is above a given threshold. You can use the absolute value if you don’t care which way it is folding, or if you want to distinguish between mountain/valley creases you can use the signed value.
mesh_dihedral_angles.gh (29.9 KB)

9 Likes

Thank you so much! Will give this a try.