Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5875

Trying to normalise the scale of two shapes of different sizes

$
0
0

@woxxy wrote:

Hi there!

So I'm attempting to normalise the scale of two shapes that have the exact same geometry (i.e. they're both rectangles) but they are of different sizes. I'm working solely in RhinoPython.

I've come up with two methods but attempting both has left me defeated:

  1. Scale them to the lowest possible value in a hope they both reach a scale threshold.
  2. Surround each in a bounding box and scale them accordingly.

I'm kind of at a loss as you can see haha. Would anyone be able to give me a push in the right direction?

Thanks :smiley:

Posts: 8

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 5875

Trending Articles