Sides and Corners

Understanding side and corner numbering in MachineBlocks.

Sides

Every brick in the MachineBlocks system has six sides, corresponding to the three spatial axes (X, Y, and Z). Each side is assigned a number from 0 to 5, grouped into pairs that represent opposite faces along a given axis.
The numbering follows the natural direction of the coordinate system:
This consistent side numbering is used throughout the MachineBlocks library for parameters that affect individual faces — for example, cutouts, wall openings, or decorative features that apply to specific sides of the brick.

Corners

Each axis in the MachineBlocks coordinate system has four corners, numbered from 0 to 3.

When viewed frontally along the direction of an axis, corner numbering begins at the corner closest to the brick’s origin and then proceeds clockwise around that axis.

The Z-axis is the only exception — when numbering corners along the Z-axis, you look against the direction of the axis (from top to bottom) instead of with it.

This numbering scheme allows precise referencing of corners when defining roundings or other geometry modifications that apply to specific edges or corners of a brick.
LEGO is a registered trademark of the LEGO Group. MachineBlocks is not affiliated with or sponsored by the LEGO Group.