Grasshopper

algorithmic modeling for Rhino

Simple Floor Plan Solver

Views: 595

Comment

You need to be a member of Grasshopper to add comments!

Comment by Francisco Lara on October 5, 2013 at 2:42pm

Bryce Willis

COULD YOU PLEASE! HELP ME OUT WITH THE OVERLAPING! I AM TRYING TO SOLVE THE SAME BUT WITH NO LUCK!

I HAVE BEEN EXPLORING THIS DEFINITION BUT I JUST CANT SOLVE IT

http://www.designcoding.net/packing-objects-with-galapagos/

PLEASE GUIDE ME!

MANY THANKS

Comment by Charles Aweida on September 13, 2011 at 2:20pm

I see, very nice, another way to think about it is to evaluate the location of each edge, this becomes more difficult with multiple geometries. If you had two you could do something like this:

Cond1.  If A's left edge is to the right of the B's right edge,           
-  then A is Totally to right Of B
Cond2.  If A's right edge is to the left of the B's left edge,            
-  then A is Totally to left Of B
Cond3.  If A's top edge is below B's bottom  edge,           
-  then A is Totally below B
Cond4.  If A's bottom edge is above B's top edge,            
-  then A is Totally above B

Thanks for sharing
Comment by Bryce Willis on September 13, 2011 at 1:32pm

I solved for overlap by using Galapagos. I have a field of dots in the background, I then take the dots within each rectangle and cross list it with the other rectangles to find duplicates. For every duplicate point found I add a value x. Galapagos is trying to minimize this number so when it solves for 0 no overlap exists.

To make everything more efficient the rectangles side dimensions snap to 1.5 unit increments.

Comment by Charles Aweida on September 13, 2011 at 12:17pm

This is really cool, could you explain how your overlap algorithm works? I posted a discussion on collision detection here:http://www.grasshopper3d.com/forum/topics/collision-detection

It sounds like David might make some collision detection tools.

Comment by Danny Nguyen on August 31, 2011 at 5:34pm

I'll give Hoopsnake a go, thanks for that. I haven't explored Galapagos well enough just yet, and didn't want to introduce it into my system until i have a firm understanding of how to use it. I'm only after creating a simple parametric floor plan, so that i can experiment with various paths for energy analysis.

Comment by Bryce Willis on August 31, 2011 at 9:16am
There are a few different ways I have explored however most of them have been through the use of Galapagos. This script works by aggregating the rooms together to make a plan but if you have a pre-defined shape you may try to use a packing algorithm. If you are avoiding Galapagos you might try Hoopsnake because it establishes a recursive loop within grasshopper that could then be used to solve a problem. I am yet to try this out but have plans to do so soon.
Comment by Danny Nguyen on August 31, 2011 at 9:02am

Hi Bryce, this is amazing work. I'm currently trying to create my own parametric floor plan system.  I was heading down a similar route of creating my system, where i can input manually room dimensions and so forth. However i am having trouble with overlapping, i was wondering if you can think of other ways to address overlapping without going into Galapagos?

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service