Grasshopper

algorithmic modeling for Rhino

How to extend pipe surfaces up to wiggly plane (that is a question I never thought I would ask.)

Okay, so far I have divided two curves and created pipe surfaces between the points.  Now I want to extend the pipes up to a (wiggly) plane (shown yellow in the image). 

I hope someone can help me!

Views: 1603

Replies to This Discussion

Don't know if you have found the answer for this yet, But you can use Surface/Line Intersect Component with the lines you have created allready no need to extend them then create a line between to points in the same way as you did orginally use the intersecting point created by Surface/Line Intersect Component as your end point then pipe this line.

 

Hope this helps

Extending the pipe centre lines is fairly easy (see Matt's response). If you want the pipe surfaces to actually terminate exactly at the wiggly surface, then it will involve a surface trimming/splitting operation which is a bit more involved.

So, lines or surfaces?

--

David Rutten

david@mcneel.com

Thanks for your help guys.

I think lines will be fine David but I seem to be missing something...

I have intersected the lines with the surface which has created points on the surface but it hasn't actually extended the lines.  What am I missing? I've attached screenshots for you to see my workings :)

Attachments:

Not had a chance to write the code yet but it seems that you may just need to switch the way around the input lines are created as you seem to have A and B the opposite way around to what i would expect, which could create 0 lenght lines when you try to make the ones using the intersect points the other thing to do would be to either Flatten the point output of the surface intersect command or graft the line input of the last line component.

 

That's it Matt! I knew it would be something as simple as that. I reversed the input lines and flattened the surface/line intersect. Thank you!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service