Computer-readable medium with instructions that when read into a computing device execute a method for automatically determining an insertion direction of a dental prosthesis part, characterised in that the instructions further execute a method, wherein from teeth and/or gum elevations that are located in the dental arch , three points standing out the farthest from the jaw are selected, wherein: a) the point standing out the farthest from the jaw is selected as a first point; b) the point standing out the next farthest from the jaw is selected as a second point, if the second point has a minimum distance to the first point, wherein the minimum distance amounts to 1 cm, 1,5 cm, 2 cm, 2,5 cm or more; c) if the distance between the first and the second point is less than the minimum distance, the second point is rejected and steps b) and c) are repeated until a second point has been selected, wherein in each of the steps b) and c) the point is used that stands out a smaller distance from the jaw than the previously used points; d) if a second point has been selected according to b), a third point is selected if the third point has the minimum distance from both the first point and the second point, wherein a point that stands out a smaller distance from the jaw than the previously used points is used as the third point; e) if the distances between the third and the first and/or the third and the second point is less than the minimum distance, the third point is rejected and steps d) and e) are repeated until a third point has been selected, wherein in each of the steps d) and e) a point is used that stands out a smaller distance from the jaw than the previously used points; f) when three points have been selected, a plane is laid through these three points, wherein the perpendicular to this plane specifies the insertion direction. a) the point standing out the farthest from the jaw is selected as a first point; b) the point standing out the next farthest from the jaw is selected as a second point, if the second point has a minimum distance to the first point, wherein the minimum distance amounts to 1 cm, 1,5 cm, 2 cm, 2,5 cm or more; c) if the distance between the first and the second point is less than the minimum distance, the second point is rejected and steps b) and c) are repeated until a second point has been selected, wherein in each of the steps b) and c) the point is used that stands out a smaller distance from the jaw than the previously used points; d) if a second point has been selected according to b), a third point is selected if the third point has the minimum distance from both the first point and the second point, wherein a point that stands out a smaller distance from the jaw than the previously used points is used as the third point; e) if the distances between the third and the first and/or the third and the second point is less than the minimum distance, the third point is rejected and steps d) and e) are repeated until a third point has been selected, wherein in each of the steps d) and e) a point is used that stands out a smaller distance from the jaw than the previously used points; f) when three points have been selected, a plane is laid through these three points, wherein the perpendicular to this plane specifies the insertion direction. <EOS>