Minimum Bounding circle & sphere

Is there a way to find minmum bounding circle and sphere?

For mininum bounding circle

For sphere I assume that you can use PCA to get min bounding box and then do it for 2d case as in circle

1 Like

Thanks , i have 0 knowledge in c#, i found python script but it must modified to work with grasshopper

I try this


do you mind to share this Python script, I think I have faced the same problem now

Thanks in advance

You can use this code

circle around (5.2 KB)


You can see this thread where I and others have provided exactly what you’re looking for!