Create courtyard block with defined offset and required area

Hi All, I have been really trying to get a script working that will create a courtyard block with a defined offset (red) and required area (yellow m2).

So far I have tried m2 required / block division to get one long rectangle with the correct area but any attempt to turn this into an offset rectangle and the required area is never quite met properly.

I thought maybe to divide into panels and rotate but there must be a smarter way?


241022_UNED_script_help.gh (30.6 KB)

Thanks * 1000 in advance.

I don’t remember which version of this is the best and don’t know if it helps you, but it sounds like a similar issue:

P.S. I don’t want to get into this but why not start with a simple approach, like this?


lot_offset_2024Oct22a.gh (12.7 KB)

1 Like