Grasshopper

algorithmic modeling for Rhino

Hi everyone!

i wanted to ask if there is a way to create polygon according to a given area? for example, lets suppose i need a covered area of 36 sq ft and whatever shape it takes to cover that area is irrelevant to me. i understand one might require to give a range of length and width for this but that would again limit me to a certain shape i.e. rectangle.

so, is there a simple way to do this?

regards!

Views: 1268

Replies to This Discussion

Moved from FAQ into Discussion.

--

David Rutten

david@mcneel.com

Tirol, Austria

Hi Umar,

If you can come up with a random polygon generation then scaling it to be the correct area is easy.

S = (A1 / A0)^0.5

Where S is the scaling factor

A0 is the Polygon Area

A1 is the Intended Area

^0.5 is all raised to the power of 1/2 (which is another way of saying square root)

thanks danny!

sorry david, thought such a general query belonged to FAQs.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service