Measure the occupied envelope
Begin with maximum component length, width and height, including connectors or protrusions. Record the space needed for cables or access separately so that each allowance remains visible when the design changes.
Work from the inside out
Suppose the required clear footprint is 94 × 64 mm. Adding a 3 mm wall on both sides gives an outside footprint of 100 × 70 mm. Repeat this independently in each direction if the walls differ in thickness.
Account for the base once
For an open-top box with a 35 mm outside height and a 3 mm base, the available internal depth is 32 mm. A lid that enters the cavity would consume additional depth. Check the deepest connector and the tallest component separately.
Check a revision before exporting
If the outside width must stay at 70 mm and the walls increase to 4 mm, the clear internal width drops to 62 mm. Compare that value with the component envelope and required side clearance, then update the drawing.