a machine used to shape wood and other materials