Print in a soft material like TPU. Design extends past the frame by 0.4mm to allow for compression during installation, scale accordingly for more/less hard materials.
0.1mm clearance from the pocket perimeter, fitting may be tight/loose depending on your printer's accuracy