the scanning is aligned using the best-fit method where the average deviation between scanning and cad is as little as possible.

This is all lower case. Can you fix that?
The scanning is aligned using the best-fit method where the average deviation between scanning and CAD is as little as possible.