Grasshopper

algorithmic modeling for Rhino

I previously posted a problem . it was to general so no body replied. here i have a specific problem .hope some one can help me out.

I am doing my final year thesis project. I am trying to generate different iteration of my idea. 
first , let me explain you the basis which i am working on. i have set of rooms in a house. lets say houses consist of 5 components(each is a room). each component is same sized square. now i have derived the relationship of the components. i.e. lets say 1 should connect to 2 and 3 .2 should connect to 4 and 4 should connect to 5 .
when i say connect . at least one side of the square should overlap with side of the connected square which might not over lap entirely but it over laps.

the attached diagram shows what is right connection. for making this system easier. i made a 1 x 1 base grid and had square of 3 x 3 ..there fore i will have 3 possibly connection in one side of a square if i snap it to the base grid. here for the given basic connection condition . there will be lots of possible iteration happening.i want to generate all. In this problem i know using of coding is needed but i have no clue where to start . 

Views: 353

Attachments:

Replies to This Discussion

Hmm...reminds me a rather complex "synthesis" fortan (yes is that old) thingy that I made a zillion years ago (o/s: UNIX, I don't like windows) : based on a collection of space schedule(s) schema(s)  the app creates a bunch of possible arrangements (cluster analysis,  adjacency matrices and the likes) and then it attempts a myriad of possible "solutions" ... blah, blah.

The code is developed significantly since but the bad news are (a) it runs on UNIX machines (b) I'm not willing to share it since I use it on daily basis for my (real-life) projects: like design something where the sum of all human movements is the minimum possible etc etc

set galapagos to minimize and watch it go! hope this helps you get started. looking forward to seeing where you take it from here... ethan

Attachments:

Thank you for your help..i also figured out another way to do... for sure will update you the end product... facing lots more problem when i tries to repeat the pattern with bigger conditions...

my programming skill are beginner ..i can think of any algorithm but technical skills are very less....and your work looks so interesting.... hope i get more information about your algorithm ..thanks

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