How to scan a complex and flat object

You might check these posts: