Plastic will shrink:
Up to 3%, depending upon size and shape and material (the Moderators comment about a noodle is correct but shrink does play a significant role and it's not uniform in all three directions. Also, it's not just the shrink of the actual design features but, also the infill shrink)
Make your part with appropriate dim’s for the size and shape
Reduce the shrink by good adhesion to the glass
Keep the door closed during printing and keep closed until fully cooled
Put a rag over the top handle opening to help keep heat (and fumes) in
For better adhesion to glass, consider:
Seldom removing the previous glue (just let it sort of build up until common sense tells you to clean it)
Instead of glue or tape, mix acetone with some ABS scraps in a jar - shake it up frequently until all is homogeneous (not too thick). Wipe it on the glass
Design Considerations:
Printing Parameters (Simplify3D enables many parameter changes - XYZware does not):
Increase shells (shells also encase the holes, not just the outer/inner surface
Increase nozzle temp (for reduced compression stress on lines going around holes / corners) and better bonding
Increase infill overlap to at least 25%
Increase infill density
Use Concentric inflll (esp with round features)
Print speed and the part - if it’s a large part, previously printed material will cool (esp if well above the glass) and not necessarily bonds well with newly printed lines - Be clever about how you arrange and print the part.
Most Important - It’s plastic and printed - it’s not a molded part wherein the Steel / hardened mold is designed with warp and shrinkage compensation
The printers have inherent Hysteresis (that is the most relevant physical aspect of the machine’s positioning ability /repeatability. And, the hysteresis is not necessarily equal on all axis'). When combined with Shrink and part features, well...
Hope for but, Don’t expect perfect parts!
Mac OSX ElCapitan
Prusa i3 (two built from kits), 1 hacked DaVinci
Solidworks for models, Netfabb to repair, Repetier/Slic3r and Simplify3D