Nesting

Rectangular Nesting

Nesting CBLF Naive

Nesting CBLF Naive

Rectangular Nesting

NestingCBLFNaive (Corner-Bottom-Left-Fill Naive) is a simple 2D nesting / bin-packing heuristic that places shapes or rectangles into a container by always selecting the lowest possible position and then the leftmost available corner. It follows a bottom-left placement strategy without complex optimization or backtracking.

Docs for v2.1.21, the latest version.

ID

nesting-rectangular-nesting-nesting-cblf-naive

Group

Rectangular Nesting

Plugin

Nesting

Keywords

nest
nesting
cblf
concurrent
blf
skyline
multi
start
9 inputs, 6 outputs

Ports

Inputs

9

What the node takes in, from wires or typed values.

Origin

Vector

Default [0,0,0]

Origin

Geometries

Geometry

List of geometries to be nested

Sheet Width

Number

Default 500

Width of the sheet used for nesting

Sheet Height

Number

Default 500

Height of the sheet used for nesting

SheetsGap

Number

Default 10

Spacing between sheets

Edge Clearance

Number

Default 0

Distance from the edges of the sheet to the curves/surfaces to be nested

Spacing

Number

Default 0

Distance between curves

Num Cursors

Number

Default 4

Number of different orderings to try (more = slower but potentially better packing)

Seed

Number

Default 123456

Random seed for reproducible results when numCursors > 5

Outputs

6

What the node gives out, to wire into other nodes.

Sheets

Curve

Sheet boundary curves. Flat array of rectangular curves representing each sheet used in the nesting.

Geometries

Geometry

Nested geometries in their final positions. Flat array of all geometries in the order they appear across all sheets.

Move Vectors

Vector

Translation vectors for each input geometry. Array aligned with input geometries showing movement from original position. Unplaced geometries have zero vectors.

Rotation Angles

Number

Rotation angles in radians for each input geometry. Array aligned with input geometries showing rotation applied. Unplaced geometries have zero rotation.

Sheet IDs

Number

Sheet index for each input geometry. Array aligned with input geometries showing which sheet each geometry is placed on. Unplaced geometries have value -1.

Geo IDs

Number

Original input geometry indices. Flat array showing which input geometry corresponds to each nested geometry.

This node has no documentation beyond its description and ports yet.