Create a bisecting plane through the mid points (not sure if that is the right term). Find the curves at the intersections between that plane and the pipes drawn in step 2.
How do I find the touching pipes quickly in Grasshopper?
I could recreate the above process, but I’m afraid the definition will become quite convoluted. Also, please note again: The original pipes will be in arbitrary positions and orientations. The above is just an example!
could you please clarify exactly how this plane should be built? which exact points it goes through?
how did you draw it in Rhino? (3 points? line+point?)
here the Plane (infinite entity) is representad by a Surface (finite entity) retrieved from the curves that lie on it, but I have no idea how did you goet it in first place:
When I did it this morning, that 45° angle somehow made sense to my brain. It could also be mirrored on the yz-plane and give the same result - see my original post. But generalized, to build the plane, I would say, do as follows
Draw a line through the mid points of the axes of the two pipes.
Sweep that line along the vector you get by bisecting the axes of the pipes.
The point of my question is to find out what is the simplest method to find these touching pipes. The method doesn’t need to replicate the steps I did in Rhino. In fact, I hope that there is a simpler method.
(Constructions with poles or pipes are all over the place, for example in the world of bamboo, or when doing non-standard metal scaffolding. Yet, I am not aware of any specialized tool for the purpose.)
Thank you, this works quite nicely and doesn’t look too complex! The only exception is the singular case where both pipes are parallel. But my original manual solution would have an issue there too.
Thank you! I have to admit that I don’t understand this one. It starts off with the solutions already baked in, then goes into a cluster where a VB script is called.
Thank you. It’s good to have this solution which doesn’t require bouncing Kangaroos. (although for now I’ll stay with my Kangaroo solution, it just does the trick)