Hello,

Thank you to everyone ahead of time!

I am a complete noob when it comes to Python in Grasshopper and need some help to get started.

To sum it up I have made a simple script for FAR ratio massing generation, basically to see how tall/ levels I can go given a set criteria such as site area, setback lines and FAR ratio.

You can specify how many levels you want to go and then in return see if the total SQ Ft is greater than the allowable FAR ratio which returns a simple yes or no result.

If yes then the result is greater than allowed so i go one step below to reach allowable levels in the building. but that means there is still a bit of SQ ft left.

I want to make python component that in the event the result is “Yes” it displays the difference between Allowable area and the total area of the building.

Any help is greatly appreciated, let me know if you need more details as I know this all doesn’t sound very logical.Massing FAR Study.gh (21.4 KB)

Massing.3dm (121.8 KB)