Box Rectangle. Keep Height always positive

I want to convert rectangle generated from ‘Rectangle 3Pt’. For some combination of three points, ‘Box Rectangle’ will generated it in -ve height. I want to keep it positive.

g1


Neighbourhood design.gh (7.7 KB)

You could use negative value of ‘H’ input, or…


Neighbourhood design_re.gh (11.1 KB)

You can use Extrude or order your A,B points in x direction

Or use function

Neighbourhood design__.gh (13.2 KB)