On machine part inspection