This script gives you the ability to convert triangular mesh to line mesh (MeshTopology.Lines: https://docs.unity3d.com/ScriptReference/MeshTopology.Lines.html). It could be used to create wireframe rendering effect or for highlighting objects. This converter major feature is the ability to omit certain edges if an angle between faces this edge belongs to is less than angle threshold. If the angle threshold is equal to zero then all edges from source mesh would be added to the created line mesh. Also, It can be useful for a deeper look to mesh topology, as an example to see a discontinuity in mesh.
You can save created line meshes to asset folder by selecting “Save mesh” in the component context menu.
This package doesn't work with Skinned Mesh Renderer.
Source code included.
Demo:
Wire mesh WebGL demo