Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

FitPlaneToPoints for colinear points does not result in 'inconclusive'

$
0
0

If you pass three or more colinear points or points in the same location to Plane.FitPlaneToPoints the FitPlaneResult shows “Success”. Shouldn’t that be “Inconclusive” instead?

from Rhino.Geometry import Plane, Point3d

pts = [Point3d(0,0,0),
       Point3d(1,1,1),
       Point3d(2,2,2)]
fitResult, plane = Plane.FitPlaneToPoints(pts)

print(fitResult)

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles