William F. Huck, 83, a machine designer and mechanical engineer whose company developed equipment for both government and private industry, died of a heart attack Jan. 28 at the home of a relative in Wedel, West Germany.

He was a resident of Church Hill, Md., and had maintained a home on Maryland's eastern shore since the early 1950s.

Mr. Huck was a native of Germany and served in that country's navy during World War I. He came to the United States in the early 1920s. He settled in New York, where he studied mechanical engineering at the Brooklyn Polytechnic Institute and joined R. Hoe & Co., newspaper press manufacturers.

He left Hoe in 1945 and founded the Huck Co. in New York. In 1957, its operations were moved to Montvale, N.J. Mr. Huck retired in 1972.

Over the years, he received hundreds of patents. His company developed and produced equipment for currency production for the government, automatic pinsetters, packaging machines and book presses for private industry. During the 1960s, it made an improved postage stamp press for the government.

Mr. Huck was a Mason and a life fellow of the American Society of Mechanical Engineers.

Survivors include his wife, Lillie E., of Church Hill; three daughters, Dr. Susan L.M. Huck, also of Church Hill, Julie Claire Bedell of Bethesda, and Alexandra Irene Huck of Harrisburg, Pa., and three sisters and four grandchildren.