Create a mitre edge frame


I would like to create a mitre frame from 2 offset rectangles:


How can I do this in GH? There are probably many possibilities. Thing is that, when I explode the rectangles, I get 4 vertices. When I want to create 4 frame edges (mitres on both sides)by weaving the vertices, I need to duplicate each set and create correct data trees → How can I do this?

Thanks! (20.1 KB)7

I find that usually creating a surface and then splitting it and converting to curves is the easiest way to handle this kind of problem.

Miter (8.3 KB)


yeah, much better!

Really elegant solution, thanks a lot!

1 Like