The board and enclosure are parts of the same physical assembly. The board’s position affects what customers can reach and where routing or cooling space is needed. The housing in turn limits where the board can be installed and how it can be serviced.
A USB connector on the edge of a board sets the location of an opening in the housing. The enclosure wall and nearby metal can affect access or wireless performance. Components may prevent a lid from closing even though the outline of the board fits. Share a board model with component heights and cable bend space, and agree on mounting points early.
If your electrical and mechanical work are happening separately, exchange dimensions and connector locations early. A simple fit check with real cables can find a problem before a board revision or enclosure change gets expensive.