Minimum Bounding circle & sphere

Hello
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

1 Like