This handy USB extension cable will make it easy for you to enclose a device that has a B type port. We think this would be most handy when putting an Arduino in a box.
The jack half has two mounting 'ears' with M3 screws installed, 1.1" / 29mm apart. Can be used with box walls 0.125" to 0.25" wide. If you have a thinner-walled box, simply swap out the M3 screws for shorter ones. Cable, from connector to connector, is 13" long.