Get AREA... draw rectangle, then meassure, then delete rectangle... can u do it FASTER?

unhandled

(Anika Boeller) #1

I was wondering if the u could show the area of a rectangle while drawing it… as a tooltip or such.
The Area command way takes way too long…

Help greatly appreciated! Best,
Anika


(Pascal Golay) #2

Hi Anika - there is nothing like this at the moment but you can use DimArea to mark an existing rectangle and then modify the rectangle and watch the area update accordingly.

-Pascal


(Anika Boeller) #3

Hi (again) Pascal!
So the idea behind it would be to just “see” how much sqm a specific area would be, not to document it…

do you know of any plugins that would do the job? grasshopper maybe?.. or could one maybe script .something?

should be the easiest thing, just multiplication axb. if numbers are even, i can calculate it myself, but most of the times numbers are 113.234 x 256.22… thats not so easy on the fly.

best,
a


(Pascal Golay) #4

Hi Anika - my suggestion is to use DimArea (or Text) as a readout for the area as you modify an existing curve.

-Pascal


#5

@anika.boeller,

maybe below script is useful, it does not delete the rectangle, but you can abort drawing it…

DrawRectangleDisplayArea.py (1.4 KB)

_
c.


(Anika Boeller) #6

Thats just great! thanks a lot.

Maybe i should start learning some python…

but the Rhino guys should implement something like this at some point. Architects use it all the time. maybe as just as a part of the tooltip…


#7

very cool Clement. I was secretly hoping you would chime in with something just like that…


(Anika Boeller) #8

btw. me being cheeky… do you have other useful python scripts handy?


#9

@anika.boeller, what do you have in mind ?

_
c.


(Anika Boeller) #10

mh… nothing specific… some “best of” stuff, geared for architecture/design that improves design workflow, and from which i could learn. is there a forum where rhino users post python scripts?


#11

Hi @anika.boeller, you might start here: https://discourse.mcneel.com/c/scripting :wink:

_
c.