Grasshopper

algorithmic modeling for Rhino



My last exploration on weaving stuff ended up in this Grasshopper definition which alters a given surface to a woven one in a simple weave pattern.
It is done via dividing it to it's U and V points ,then I had to rearrange them into separate U and V data trees. Moving the points up and down relating to their own normal vectors through a little scripting was the last job done.

Below is the definition shared, I hope you all enjoy it .

Surface 2 Weave Script.ghx
Surface 2 Weave Script.3dm

Views: 32868

Comment

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

Comment by Alireza Akhoundi on April 19, 2010 at 5:06am
@Dirk, my graduation semester would be the next one, yet there is no more streams! so I don't know what happens.
@Ida, thanks for advice, I haven't looked into new version because of such problems!
Comment by Ida Angel Weum on April 18, 2010 at 2:55am
Hello Alireza
Nice definition! Just wanted to mention that in the newer versions of grasshopper, the EH-path (line 98 and line 129) in your script needs to be changed to GH-path.
Comment by Deepthi on January 23, 2010 at 4:31am
Ah thats so true! I'm trying that procedure now :)
Comment by Dirk Anderson on January 13, 2010 at 5:32pm
great to see you're still exploring GH scripting... looking forward to your project this year (will you continue to pursue the digital stream subject?)
Comment by Alireza Akhoundi on January 12, 2010 at 6:46am


as you see for defining the desired threads you should chose the right points on the surface by inventing a pick up pattern, then put it in a data tree branch and move every other on up and down.

the pick up pattern in my weave system is horizental and vertical as U and V threads. you should define your pattern to pick e.g on the second line (probably 60 degree) .

good luck
Comment by Alireza Akhoundi on January 10, 2010 at 7:31pm
First thing first. you should have a clear algorithm that functions correctly . As a matter of algorithm I think yours couldn't work cause it has no response to the surface.you know if u is a data tree of on surface points rotating it needs a base point, or a base axis to rotate around it and this makes the resultant points regardless of whether they are on the surface or not. so as a working algorithm first you should invent a pattern to chose the right series of points for 60 degrees .
No body knows enough of scripting ! so be confident and try to alter and manipulating my script to produce your desired result. I will post an image to explain the patterns for you later today or tomorrow. good luck.
Comment by Deepthi on January 10, 2010 at 5:11am
Hello Alireza!
Happy New Year!
Though I donot know anything about scripting, I was trying to understand it. Here outputs are only u and v. Where as in triaxial, we need 3 values in 3 directions. So can it be achieved by keeping the u constant, rotating the v in 60degrees and mirroring this v to get three values? But even so how do we make them interact in a weaving behaviour? Pls help me!
Many Thanks

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service