This case is made to fit a USB type A port that has been desoldered from a board. The first version holds the connector loosely, but the snap-in bottom came out damn near perfect. The screw holes are for small wood screws.
I used hot glue to cover up the soldered connections so they wouldn't short on each other or the wire shielding. Then I added some around the connector so it wouldn't be wobbly, but I'd like to make it firm without glue so the connector can be easily removed. (And my hot glue is brown because it's burning in the gun from sitting for hours. lol)
I printed this with the narrow end on the platform, bottom up, so the recessed area for the snap-in cover would come out nicely with no drippiness.
Coarse and fast with Hatchbox Gold PLA @ 200 degrees C.
Drawn in Sketchup based around dimensions from a USB connector.