The Match Size node is a operator that transforms a source geometry to align with the bounding box of a target geometry.
It simplifies common layout tasks like placing an object on top of another, centering it, or aligning it to a corner, using intuitive presets.
Inputs
Source
Connect the geometry you want to move and/or scale. This is the shape that will be transformed.
Target
Connect the reference geometry. Its bounding box is used for alignment, but the geometry itself is not passed through the node.
Parameters
| Parameter | Description |
|---|---|
Label | The display name for the node. |
Group | The group of shapes to transform. If empty, all shapes are affected. |
Align | How to align the source to the target. |
Offset | An additional offset to apply after alignment. |
Scale to Fit | Scales the source to fit the target bounds. |
Uniform Scale | Maintains aspect ratio when scaling. |
Alignment Options
Determines how the source’s bounding box is positioned relative to the target’s bounding box.
| Alignment | Description | Result |
|---|---|---|
| Before Match Size | Source and target as separate streams. | |
| Center | Circle centered within rectangle. | |
| Top Left | Circle at top-left corner. | |
| Top Center | Circle at top edge, centered horizontally. | |
| Top Right | Circle at top-right corner. | |
| Middle Right | Circle at right edge, centered vertically. | |
| Bottom Right | Circle at bottom-right corner. | |
| Bottom Center | Circle at bottom edge, centered horizontally. | |
| Place Below | Circle placed below rectangle. |