Skip to content

node bounding box

Blossom Merz edited this page Sep 27, 2026 · 4 revisions

Home > Data > Bounding Box

< Previous: Radius | Next: Math >

Node Library

Bounding Box node icon   Bounding Box (node)

The axis-aligned box around whatever comes in: the rectangle, its four edges, its center, and its width and height.

Bounding Box node diagram

Category: Data | Add menu: Data > Bounding Box

Feed it any geometry and it hands back the smallest upright rectangle that contains all of it - one box for the whole input, not one per object. The box comes out several ways at once, so you can take whichever piece the next node needs: the rectangle itself as a curve, each of its four edges as its own segment, the center as a point, and the width and height as numbers.

Inputs

  • Geometry (any): whatever you want measured - points, curves, regions, a whole tiling. Everything wired in counts toward one box.

Outputs

  • Box (curve): the rectangle, as a closed curve.
  • Center (point): the middle of the box.
  • Width (number): the box's extent left to right, in mm.
  • Height (number): its extent bottom to top, in mm.
  • Left, Right, Bottom, Top (curve): the four edges, each as a single segment.

What counts as "inside"

The box is exact, not a rough guess from a few sample points:

  • An arc is measured at its true extremes. Where an arc sweeps through the top, bottom, left or right of its circle, the box reaches out to that point; where it doesn't, it stops at the arc's ends.
  • An infinite line (a construction line, as opposed to a segment) has no extent and does not stretch the box. Only its finite neighbors do.
  • A placed image counts as its whole picture, corners and all.
  • With nothing wired in, every output is empty and Width and Height read 0.

Which way the edges run

Each edge segment has a direction, and it is always the way you would read it: Bottom and Top run left to right, Left and Right run bottom to top. That makes them dependable handles - a Mirror across the Right edge, or a Move along the Top, always steps the same way.

Using it

  • Space things by their own size. Wire Width and Height into an Array's spacing and copies land edge to edge, whatever the motif measures. That is exactly what the Auto Array library cluster does.
  • Mirror at the edge. Wire an edge segment into a Mirror node's axis and the reflection sits flush against the original. Auto Mirror builds a 2 x 2 block this way.
  • Find the middle. Center gives you a rotation pivot or a place to put a label without drawing any construction for it.
  • Read the size. Width and Height are plain numbers, so they can drive a Slider range, feed Math, or just be read off in Inspect.

< Previous: Radius | Next: Math >

Related

Locus Studio Docs

Home

Getting Started

Modeling - Drawing

Modeling - Editing

Annotation

Layers

Modeling Menus

The Nodes Window

Node Library

Clusters

Bridging Modeling & Nodes

Patterns & Symmetry

Image-Driven Fields

Saving, Exporting & Files

Preferences & Language

CLI

Reference

Clone this wiki locally