Grasshopper

algorithmic modeling for Rhino

Hi everyone! 

I am working on a project with the goal of generating a building with only the construction site at the beginning. 
So i have to face a lot of obstacles and here's the first one: 
I am using an attractor to concentrate closed curves (here squares) arround the center point of the construction surface and without touching the boundary line of this surface. 
These squares are supposed to be appartments so i all i want is that that they intersect so that even when we increase their size on the program, it prevents them from changing size and get intersected with other curves. 

So is it possible to know if there is a way to prevent those squares from intersecting in Grasshopper? 

Views: 345

Attachments:

Replies to This Discussion

If the spacing between each grid point is regular, then you can set a maximum size for each square. Look into using the minimum component, you can feed it the maximum square size, and then the size that your script is trying to make the square, and it will output whatever is smaller.

So if your max size is 10, and your script is trying to make the square 11.5 (based on your attractor values) then 10 will be output.

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