Grasshopper

algorithmic modeling for Rhino

# Floorplan generator

Complete Random

Views: 1485

### Related Videos

Comment

Join Grasshopper

Comment by Richard Schaffranek on March 1, 2012 at 4:44am

The kitchen, bath room, toilet are placed at the two insertion points.

Their proportions (a:b; 0.8-2:0.8:2), rotation (-PI/2, 0, PI/2, PI)  and position are randomly generated.

Then the rooms are aligned to a grid.

If the solution is valid (no room intersecting)the rest of the surface is subdivided by domains according to the corner points of the generated rectangles.

Comment by Massimiliano Trave on February 29, 2012 at 12:14pm

hi Richard

great work

I'd be very interested to understand how I can set the algorithm so that the size of the rooms are modified according to (the total area and 'always the same but changes the internal division). you give me a help just to understand what direction to take.

thanks

Comment by bea franko on February 23, 2012 at 5:18am

it would be great to have a look at the definition. so if you like to share:

Comment by bea franko on February 23, 2012 at 5:16am

i would say the best solution would be the biggest useable space or something like that. and the reduction of common space. there could be the optimum of natual lighting aswell.

Comment by Richard Schaffranek on February 23, 2012 at 4:04am

Would be Interessting to go after that.

But the fundamental question with that is:

What is the "best" result of a flat?

I am sure (at least in Vienna) new build flats are build as cheap as possible, enshuring a ceratin quality (thanks to regulations) but I don't want to live in (most of) them.

Comment by bea franko on February 23, 2012 at 3:46am

cool! thank you, would be interessting to link it to galapagos, to get the best result!

looking forward!

Comment by Richard Schaffranek on February 23, 2012 at 2:51am

There a certain constraints, but beyond that random!

The algorithmen just palces kitchen,bathroom and toilet.
There are only two insertion points, installation ducts (but it works also without the constraint).
The rotation is limited to 90 degree turns.

Will post the definition soon.

maeh Schaf

Comment by bea franko on February 22, 2012 at 3:51am

interessting stuff!

what parameters do you use?

could you maybe post your code to get behind it?

do you youse galapagos or is it "just" random?

kiss bea

by kgm

by kgm

by kgm