algorithmic modeling for Rhino
Hi!
I have a problem testing SpaceSyntax. I have a list of approx. 100 vertices of diagram and it only works fine with around 5 links beetween them. When I am setting up just a little more say 10 everything in viewport dissappears and even if lines and point are detected I can not zoom select neither via GH nor Rhino. The only solution is to Restart Rhino having no progress. I have increased maximal number of iterations but it didn't affect it. Has anyone met such a rpoblem?
Tags:
Hi Karol,
I had a similar problem a while ago when I was trying to generate floor plans from a program diagram of connections, though I was only working with 20 vertices or so. I was able to solve the problem using kangaroo, but my script only does a part of what the SpaceSyntax components can do, it can produce the kissing disk diagram. See this video for further clarification (https://www.youtube.com/watch?v=c30k9Sa431M). I'm attaching two scripts, "Programdiagramscript" is pretty simple and I explain the logic in it. The second script is what I used to produce what you see in the video. It is a bit more complex and messy because I was working on a deadline at that point and did not have time to write out all the logic, though I tried to group things as I went. Hope this helps!
Sam
Hi Sam!
Thank you for your help. It is way more than I could expect!. I am trying to test those scripts currently.
Karol
Hi Sam, I watched your videos -- fantastic work. Just wondering how you managed to have the multi-floor evaluation with floor constrains working.. Ive been trying but only managed the single floor. Is it ok to share your script for the multifloor one ? Any help would be greatly appreciated.
Hi Lei. Here is the script I used. Again, very messy because I have not had time to clean it up yet, I worked off one script to do three iterations, so there are pieces of each script floating around in there, but if you open the rhino file with it then you should be able to get it to run and then work from there.
This definition was the most difficult one, the system is very tense, in many cases if I did not use the appropriate pull and repulsion factors the system would break. Because of this, I believe there is some error allowed. I solved the breaking issue by releasing the floor pull strength and then rounding the final position of the points to the nearest floor, which seemed to work pretty well. Though, you do have to toggle the strengths correctly in order to allow the system to properly untangle, to see how I did this watch the video and take note of the Floor Pull Strength and the Repulsion Strength and their values and how they change etc...
Let me know if you have any other questions, I'm happy to help as I received much help from the forum while making this script. Please do share any developments you make, I'd love to see them.
By the way, I see you are from Austin, Texas. Do you work or go to school in the area? I am from Fort Worth Texas and have some friends at UT.
Sorry, for some reason I cannot upload the files right now, the page wont let me. I will try again later
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by