Create a mitre edge frame

Hi,

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

image

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!


erase.gh (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 Frame.gh (8.3 KB)

3 Likes

yeah, much better!

Really elegant solution, thanks a lot!

1 Like