I am writing a program that I would like to have duplicate the basic toleranced thread dimensions in Machinery's Handbook (pg. 1276, 19th ed. or pg. 1736, 27th ed.). The book states "... are derived from certain Unified formulas (not shown here) in which the pitch diameter tolerances are based...