Perform minimal rotation to align a plane with a guide vector
ID
tool-vector-align-plane
Name
Align Plane
Group
Vector
Package
Tool
Keywords
Render
After creating a node, connect the plane to straighten to the first port, and the straightening guide to the second port. On the output ports, you will get the straightened plane and rotation angle.
Adjust Plane
Plane By Normal\
Inputs
Name | Type | Description | Default Value |
---|---|---|---|
plane | Plane | Plane to straighten | |
direction | Vector | Straightening guide direction | [1,1,0] |
Outputs
Name | Type | Description |
---|---|---|
alignPlane | Plane | Straightened plane |
angle | Number | Rotation angle |