Saturday, May 5, 2012

GH: SURFACE BRIDGING

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


This definition bridges two surfaces together to make one continuous mesh. 

LOGIC
1. Define two surfaces to bridge between
2. Subdivide the surfaces
2. Loft selected sub surfaces together
3. Adjust bridge center thicknesses
4. Convert to mesh and smooth

GH Version
0.8.0066
Plug-ins Required
1. Weaver Bird
2. Mesh Analysis and Utility


Tip
WHEN WEAVING THE PATTERN MUST BE SET TO THE 
SAME AMOUNT OF INPUTS. DO NOT FORGET TO SET 
THE BOOLEAN OPTION IN POLYLINE TO FALSE. 
Make sure the two surfaces have the same normal vectors.
To make more bridges add more sliders to the merges in the
"select sub surfaces to bridge" section but be sure the merges
have the same amount of sliders. You can also use random 
component instead of sliders to generate the bridges. 






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

22 comments:

  1. i've tried out your definition, but the bridges aren't coming out as a smooth mesh, with a flowing curved surface, instead they have angular faces so it's like rectangular columns spanning between 2 surfaces. also the 2nd weave component won't allow me to add a third inout stream under '2'. I need my structure to resemble the organic form in the pics above. Any help would be good thanks

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
    2. I have the same problem. Who can help us?...rs... thanks

      Delete
    3. Hi Kayyyness and Tiago, I don't know if I guess it right or not. I have a similar problem when I first tried it out, the bridges did not smoothly connect with the surfaces. The problem was caused by there might be multiple data sets even after the Brep Join component. So to fix it, you might want to try flatten the output of the Brep Component (Expolde Brep). It works for me. Good luck!

      Delete
  2. You need to adjust the L input of catmll-clark to be 3. to add more inputs to weave zoom into the component there will be little plus signs, click one. http://www.grasshopper3d.com/video/variable-parameter-zui

    ReplyDelete
  3. thank you for this great definition!
    somehow i've got a little problem and i cant find a solution...
    my lofted surface only covers half the distance between both surfaces, it stops right after the perp frame. any ideas?
    any help would be great, thanks!

    ReplyDelete
    Replies
    1. my guess is your forgetting to make P input of the last weave read as 0 1 2, rather than its default 0 1

      Delete
    2. yes! that was it, thanks a lot!

      Delete
    3. Hi, I have the same issue except I fixed the P input on weave. Join Brep does not let me connect more than one cull list so I'm kind of confused as to what to do... Any suggestions would be of great help to me.
      thanks again

      Delete
  4. Hi Michael, I tried your definition on a project but I can't make it work very well : the surfaces start to smooth but the bridges don't. Some subsurfaces even don't bridge well. And the last loft cpnt is red. Out of the last weave, there are untrimmed surfaces, 2 planar curves and one polyline curve. Do you know what is wrong ? I have version 09.0005 on rhino 4. Thanks .

    ReplyDelete
  5. Hi Michael (sorry for my english, i'm french)
    I worked on your definition but actually i've a problem with the loft component at the end of the definition (the second one).
    The loft component error is "loft only works with only closed curve or open curve"
    I guess i don't really understand the basics from the weave component...
    If you can help me...it will be great. (dunno if my explanation is very clear).
    Thanks

    ReplyDelete
  6. Another problem is that i actually can't have more than one entry in the brep join component. Yeah, i'm a very beginner :/

    ReplyDelete
  7. This comment has been removed by a blog administrator.

    ReplyDelete
  8. the Pframe and the loft are RED,the defenotion is not working. What's going on? thanks

    ReplyDelete
  9. This comment has been removed by a blog administrator.

    ReplyDelete
  10. This comment has been removed by the author.

    ReplyDelete
  11. Hi,I also suffer the problem that the Pframe and the loft are RED. And I don't really get " have C of Pframe set to true to make it closed". How can I fix this? Thank you

    ReplyDelete
  12. Cant tell wit out seeing your file. Works fine here.

    ReplyDelete
    Replies
    1. So how to attach the file here? or can I send a email to you?

      Delete
  13. Hi there, I have been able to successfully carry out the definition however my surface bridges look like angular rectangular prisms rather than your organic tube-like structures. Can you somehow point out what I am doing wrong? If there is an email address I could have, I could show you my definition through pictures and then you could maybe point me in the right direction. I set my L input of my catmll-clark to be 3 and I also flattened my explode brep function and it still hasn't changed anything. Thank you!

    ReplyDelete