Grasshopper

algorithmic modeling for Rhino

I am tryin to figure out the best way to do this. I add my definition for better understanding. I have two tubes, and I am trying to make the first intersecting tube's end, to match the contour of the tube it is intersecting, to have a nice joint. 

This is just a definition to illustrate my question, but one of the ideas I've got was to create an ellipse along a side of the tube's surface, and then extrude it. any one has encoutered a similiar problem?
kind regards 

Views: 729

Attachments:

Replies to This Discussion

Is this the solution you were looking for?

If the tubes have the same radius and their axis are intersecting at a right angle then you won't get an ellipse on the surface. It will come to two sharp points at the edge.

EDIT: there is always an easier way. I uploaded a long definition before I realized it could be done with a single boolean subtraction component. ;)
Attachments:
Thanks kris,

I will definietly take a look at what you did, hope I can implement it. Cheers
One question, i changed the sweep of one tube, instead of it sweeping along the Zaxis I changed it to the y-axis, and now I needed to alternate the inputs of the A and B for the subtracting component. it works

but now the subtraction took the tube section, which went inside the other tube (which is right), but also the surface (touching) of the tube(on the yaxis) perpendicular to the other one. any ideas?

both tubes are connected, instead of the meer appearance they were connected.
thanks again

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service