An undercut is a design feature that interferes with the ejection of a molded part from the mold. An undercut can include features such as holes or boses that are not aligned with the direction of ejection, threaded sections, and snap fingers.
For a rotary shaft with an "undercut", a keyway,
this link has 3 good points:
1. Illustrate as a cross-section...
2. Never dimension to hidden lines.
3. The axis should be drawn so everyone can tell at a first glance. (Whatever that means?)
4. Dimension key cuts as a diameter of the shaft, from the bottom of the cut to the "other side" of the shaft, not as a depth of the cut.