Module _geo
[hide private]
[frames] | no frames]

Module _geo

The python API for Nuke's core 3D geometry classes.

Classes [hide private]
  AttrGroup
The available attribute groups.
  AttrType
The available attribute types.
  AttribContext
A set of selected items on a single of 3d object.
  Attribute
An attribute on a 3d object.
  GeoInfo
A 3D object consisting of vertices and primitives built out of them.
  GeometryList
A list of GeoInfo objects.
  PointList
A list of points.
  Primitive
The base class for geometric primitives in Nuke.
Functions [hide private]
(_nukemath.Vector3, _nukemath.Vector3, _nukemath.Vector3)
bestFitPlane(*points)
Find the plane of best fit through a set of 3D points.
Variables [hide private]
  __package__ = None
Function Details [hide private]

bestFitPlane(*points)

 

Find the plane of best fit through a set of 3D points.

Parameters:
  • points - The points to fit the plane through. Each point must be a _nukemath.Vector3 object.
Returns: (_nukemath.Vector3, _nukemath.Vector3, _nukemath.Vector3)
3 non-collinear points on the plane, in a tuple.