Scaling within boundaries

Hi there
How to scale geometry based on circle size? Changing the size of the circle changes the size of the pyramid
thank you

Hello

I would say :

  • from what seems to be the bottom surface of the pyramid, deconstruct it to extract two opposite vertices (items 0 and 3 most likely).
  • compute the distance between those points
  • retrieve the circle radius (Deconstruct Arc)
  • use r = distance / (2 * radius) as the scaling ratio

You can provide your GH file if this isn’t helpful.

1 Like