nukescripts.snap3dΒΆ
Functions
Add a new snapping function to the list. |
|
Return an iterator which yields all nodes in the current script. |
|
Return a selected point from the active viewer or the first viewer with a selection. |
|
Returns a single VertexInfo for a selected point. |
|
averageNormal(selectionThreshold -> _nukemath.Vector3 Return a _nukemath.Vector3 which is the average of the normals of all selected points |
|
Calculate the average position of all points. |
|
Call the snapping function on a node. |
|
Calculate the projection matrix for the camera based on its knob values. |
|
Calculate the rotations around the X, Y and Z axes that will align a plane perpendicular to the Z axis with the given triangle. |
|
Project the given 3D point through the camera to get 2D pixel coordinates. |
|
projectPoint(camera, points) -> list of nuke.math.Vector2 |
|
Using the specified camera, project all of the selected points into 2D pixel coordinates and return their locations. |
|
Return an iterator which yields the position of every point currently selected in the Viewer in turn. |
|
Return an iterator which yields a tuple of the index and position of each point currently selected in the Viewer in turn. |
|
Translate the specified node to the average position of the current vertex selection in the active viewer, rotate to the orientation of the (mean squares) best fit plane for the selection and scale to the extents of the selection. |
|
Translate the specified node to the average position of the current vertex selection in the active viewer and rotate to the orientation of the (mean squares) best fit plane for the selection. |
|
Translate the specified node to the average position of the current vertex selection in the active viewer. |
|
Classes