Bounding Box¶
Functionality¶
Generates a special ordered bounding box from incoming Vertices.
Inputs¶
Vertices, or a nested list of vertices that represent separate objects.
Parameters¶
2D / 3D: The 2D implementation works over the XY plane always outputting 0 in the Z coordinate, and instead of a box produces a rectangle.
Min, Max and Size: Chose which outputs you want the node to display.
Outputs¶
Output |
Type |
Description |
---|---|---|
Vertices |
Vectors |
One or more sets of Bounding Box vertices. |
Edges |
Key Lists |
One or more sets of Edges corresponding to the Vertices of the same index. |
Mean |
Vectors |
Arithmetic averages of the incoming sets of vertices. |
Center |
Matrix |
Represents the Center of the bounding box; the average of its vertices. The scale of the matrix would make a box with size of 1 unit to match the size the desired bounding box. |
Min X |
Scalar |
Minimum value on the X axis. |
Min Y |
Scalar |
Minimum value on the Y axis. |
Min Z |
Scalar |
Minimum value on the Z axis. |
Max X |
Scalar |
Maximum value on the X axis. |
Max Y |
Scalar |
Maximum value on the Y axis. |
Max Z |
Scalar |
Maximum value on the Z axis. |
Size X |
Scalar |
Size on the X axis. |
Size Y |
Scalar |
Size on the Y axis. |
Size Z |
Scalar |
Size on the Z axis. |
See also¶
Analyzers-> Diameter
Examples¶
Bounding Box:
Generator-> Sphere
Viz-> Viewer Draw
Bounding Box with several objects:
Generator-> Sphere
Generator-> Suzanne
Transform-> Move
List->List Main-> List Join
Viz-> Viewer Draw
Text-> Stethoscope
Mean: Average of incoming set of Vertices
Generator-> Segment
Generator-> Random Vector
Viz-> Viewer Draw
Generator-> Sphere
Viz-> Viewer Draw
Center: Average of the Bounding Box
Generator-> Random Vector
Generator-> Segment
Viz-> Viewer Draw
Generator-> Sphere
Viz-> Viewer Draw
Text-> Stethoscope
2D Mode: produces rectangles at z = 0
Generator-> Plane
Generator-> IcoSphere
Transform-> Noise Displace
Viz-> Viewer Draw
Notes¶
GitHub issue tracker discussion about this node here1 and here2