exact_length

Bounding-box length (the long side of a merged region’s axis-aligned bounding box) must be exactly value. The exact counterpart of min_length and max_length.

Semantics

As min_length, with length = max(x1 - x0, y1 - y0) compared for equality against value rounded to the grid.

Layers

One layer.

Parameters

None beyond layers and value (µm, the required length).

Violation markers

One point marker per region whose length differs, at the region’s marker.

KLayout equivalent

None directly; a with_bbox_height selection inverted.

Example

- id: BAR.l
  check: exact_length
  layers: [ContBar]
  value: 0.5