Watch this Author's files
thanks for sharing a code.
i am using your code to fit planes to contact patches between particles.
I am finding that the normal of the fitted never exceeds 135 degree's. any ideas as to why this may be?
IGNORE last comment.
found your answer:-
Thanks you for sharing your script.
i was wondering if it possible to modify your script to fit an ellipse. if so, do you have any suggestions?