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

2 Likes

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 points.gh (5.2 KB)

2 Likes

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