Mesh picture frame for specified edges only?

Hello. Is there a tool / plugin to get mesh picture frame (as Weaverbird does), but just for certain edges?

  1. What Weaverbird does
  2. Selected edges to make “frame” around
  3. Desired result

My workaround:

  • Make WB picture frame
  • Select desired edges from the source mesh
  • Find mesh edges of the new frame mesh (these don’t share the same order)
  • Get only faces that are adjacent to the selection (some C#)
  • Join, weld etc.

Is there an easier approach?
Thanks for your suggestions.

GH file?

EdgeMeshFrame.gh (10.2 KB)

Fun fact: WB Mesh Edges doesn’t correspond to mesh edges topology. I had to use nGon component.