7.4 Ports
A socket’s position is part of the definition: a face, plus an offset from that face’s centre. Storing it that way means a body that gets resized clamps its panel back on rather than leaving sockets floating in mid-air.

Faces are measured on the cabinet. A projector whose lens head stands proud of the cabinet has a back panel only cabinet-high, and the head’s own faces are not offered.
Auto layout in the Ports section re-spreads every socket across the back to fit the body’s current size: one centred row at 40 mm pitch, wrapping to further rows when the panel is wider than the machine. It is a button rather than an automatic response to a dimension edit, so a panel someone arranged by hand stays arranged.