Saturday, November 17, 2012

GH: SURFACE RIBBONS

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.
GRASSHOPPER SURFACE RIBBONS
3D-Dreaming (Home)
3D-Dreaming (Facebook)


This definition creates ribbons on a surface

LOGIC
1. Create a surface and divide it
2. Interpolate curves from the divisions
3. Put frames along the curves
4. Flip Matrix and make lines between frames
5. Rotate the lines via source object influences along the frame axis
6. Loft Rotated lines making ribbons

GH Version
0.9.0014



Tip
Works best with open surfaces because of seams. The filter switch will change
the direction of the ribbons along the surface. Any geometry can be used as an 
influence (points, curves, breps), and multiple can be used in combination.
The rotation range can create spiraling effects of the ribbons. Try using attraction
logic also for the length of the lines in the lines for rotation area. Also, adding graph
mappers can create some interesting patterns to the twisting. 








Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

22 comments:

  1. Hey Michael-

    I am an M Arch student at UPenn and just discovered your blog. Such cool stuff, thanks for sharing!

    I was just wondering if there is a way to download the scripts you have here so that I can copy-paste to the definition I am working with, or if I need to recreate it based on the images you provide...am I missing a link somewhere?

    Thanks!
    Jonny

    ReplyDelete
  2. Well, the goal of my blog is to teach so I don't provide the file. You learn more through recreation. Glad you like it.

    ReplyDelete
    Replies
    1. Hah I just recreated it in my script and was thinking "wow I am learning a lot more by doing this myself"... thanks again for the info and I appreciate that philosophy!

      Delete
    2. hey i would like to know what you gave in as your rotation source, i am really stuck here , and need help. Thank you

      Delete
  3. Hi Michael,

    Thanks for this tutorial it's exactly what I'm looking for! However, I am running into a problem with the minimum of the strength and coverage. It keep returning with "Error: Minimum isn't defined for a point and number" (despite replicating your set up) and thus isn't allowing enough profile curves for the loft. Any insigth into this would be much appreciated,

    Cheers,

    Toby

    ReplyDelete
  4. well just wanted to thank you for your effort :)

    ReplyDelete
  5. What is the GEO (source object) I don't understand what needs to be set here? Please explain.
    Thank you

    ReplyDelete
    Replies
    1. thanks, that was my initial understanding too, but because the lofts were not being created at the end I was not sure if maybe the geometry was the issue. I have since figured out the problem. For some reason, on my definition (although exactly as pictured) I had to swapped the (1) and (-1) for the switch components under lines of rotation. again not sure why but it worked. thanks

      Delete
    2. Hi there, I understand what a geometry is, but I don't understand 'what' geometry as I do not see an example of how the source geometry influences the definition. (Do I like draw a box and rotate it in rhino?) I am fairly new to grasshopper and am eager to learn; so I will appreciate if anyone can explain to me what i should input as source geometry into the definition. Thanks.

      Delete
    3. I don't understand either what should you use for the Geometry compound. More precisely how does it influences the whole script. Could anyone explain me please, or show me a tutprial or something that would help me understand.
      Thank you

      Delete
  6. So my problem is not the influence object, rather everything is correct but my loft at the end continues to stay RED, thus the ribbons are not being created. I've reverse engineered multiple times but cannot find the cause. Anyway thoughts? Thanks

    ReplyDelete
  7. Michael,

    I am having issues with the ribbons reacting to the rotation sources, as well as some of the ribbons being extruded far in the opposite direction. Below are several screenshots of the model (green is the final loft and the isolated red x's are meant to be the rotation source points) and the grasshopper definition (which I believe follows your definition down to the slider numbers)

    https://www.dropbox.com/s/rxgy3uq2q74od25/probscreen1.png
    https://www.dropbox.com/s/mcg34tohftz3tv8/probscreen2.png
    https://www.dropbox.com/s/kh8r6wj7vgwluej/probscreen3.png

    Any idea what might be the issue? I am running Rhino 5 64 bit and Grasshopper .9.0075

    Above all, thanks so much for these tutorials. They have been extremely helpful!

    ReplyDelete
  8. Is there a way to use this formula on a polysurface?

    ReplyDelete
  9. it has some geo problem and the lines doesnt loft is there any solution plz help.

    ReplyDelete
  10. Hi, I've posted a discussion on GH's forum about a problem I had with this definition.. Does someone has got any idea?
    Thanks!!!

    http://www.grasshopper3d.com/forum/topics/variable-louvres-attractor-problem

    ReplyDelete
  11. Problem solved! If you wanna see how, follow the link above.

    ReplyDelete
  12. I am new to grasshopper. I am trying to replicate few examples from online resources. I am not able to replicate the above example. Below is my Grasshopper Document link.
    https://drive.google.com/file/d/0B98Z24pLIFcDWWxRM0VOQzNCZ2c/view?usp=sharing

    ReplyDelete
  13. I am new to grasshopper. I am trying to replicate few examples from online resources. I am not able to replicate the above example. Below is my Grasshopper Document link.
    https://drive.google.com/file/d/0B98Z24pLIFcDWWxRM0VOQzNCZ2c/view?usp=sharing

    ReplyDelete
  14. I don't understand either what should you use for the Geometry compound. More precisely how does it influences the whole script. Could anyone explain me please, or show me a tutprial or something that would help me understand.
    Thank you

    ReplyDelete
  15. To a vertical surface how should i do? the frames should be horizontal or i should make a 3D rotation in another direction??

    ReplyDelete
  16. how can someone use a loft or closed surface, like in the picture above

    ReplyDelete