the bundle of tubes is cut off along the border of the sphere in which they are placed
Actually the tubes are all cut using planar cuts. That means you can’t just run a boolean intersection between the tubes and the sphere. You have to figure out what the sphere tangent plane is at the centre of each tube and cut using those.
Yes , logical circumcision did not work (((
Something like this: tubes sphere.gh (21.9 KB)
The tubes have no thickness right now.
And you have to set the tolerance in your rhino file really low like 0.000001, otherwise it fails.
I have used a hexagonal grid as a base, because that gives the densest circle packing.
thank you, fantastic
I would not have thought of it , it is too difficult to understand , I will try to understand
I’m sorry, it’s a bit messy.
I have done it quickly, and I think it can be done more nicely.
Walk through it step by step.
Ok , thank you )) . Good lesson for me ).
Well, as David mentioned above, the cuts in the example given are planar…
Here’s a solution with planar cuts.
20_06_19_planar_cut_tubes_sphere.gh (24.8 KB)
Hi , Martin Siegrist . Thank you )
Thanks all for help , but I’m trying to check out other ways .
Why don’t I get the right tubes ?
ver2.gh (9.5 KB)
While studying the algorithms that you kindly provided me with as a very useful help , I tried to write another one based on them . And now the question is: how do I make thick tubes ?
tubes-cut-by-sphere-final.gh (14.6 KB)
How to close loft ?
When I close the loft I get an error ((
This looked fun, so even though you already have some good feedback and models, I had a play with it. Got a little bogged down in the details… Good response to param changes.
sphere_tubes_2020Jun19b.gh (42.0 KB)
sphere_tubes_2020Jun19bb.gh (35.6 KB)