extract mesh data