Grasshopper

algorithmic modeling for Rhino

Hi All

How to scale a surface and get a specific area

this is the idea, but when scales the measures is lost.

Views: 4748

Replies to This Discussion

square root it.

The 3D scaling factor you want can be computed using the formula

S = (A1 / A0)^0.5

Where S equals the scaling factor, A1 equals the desired area and A0 equals the current area. The "^0.5" bit means "raise to the power of 0.5" which is the same as computing the square-root of the ratio.

Note that the Expression component I'm using isn't available yet in the public build, you'll need to use the F(x) component that has 2 inputs, or of course replace the expression with pure Grasshopper components (Division and SquareRoot in that order).

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Awesome change (fx) but can it roll the formula string like panel does ? 

At the moment it resizes itself based on the length of the expression.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

? looks interesting

What I said, square root it.

really thanks I think was distracted.

thanks David awesome what comes!

This new Function component is cute ! Like it !

Major spoiler alert in this discussion. don't read it people.. :)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service