Center, Corner Rectangle

Hi, I was wondering if anyone knows how to create a center, corner rectangle which you can control the x,y dimensions from original points, please? Thanks!
GH Help .gh (6.6 KB)

Hi,

Do you mean like this?

2021-01-10 10-42-17.2021-01-10 10_43_15

Screenshot 2021-01-10 at 10.38.00

center_rectangle.gh (5.4 KB)

1 Like

Hi, yes that’s it! Thanks

You could just supply domains to Rectangle β€˜X’ and β€˜Y’ inputs with β€œ-x/2” and β€œx/2” expressions.

center_rectangle_2021Jan10a
center_rectangle_2021Jan10a.gh (4.7 KB)

2 Likes

Thanks, Joseph!