1. A method for producing a dental shaped body from a blank having a corpus of tooth restoration material by a tool adapted to remove said material, wherein, to detect a position of said corpus inserted in a machining device, contact scanning is performed on said blank by said tool, the method including steps of: providing a machining tool in a first position; detecting at least one geometric structure on said blank, the at least one geometric structure defines information that corresponds to at least one relevant dimension of said blank corpus; and using the information that corresponds to said at least one relevant dimension of said blank corpus to preposition said machining tool to a second position at or close to a first reference surface or a first reference structure for a contacting operation; determining a position of the first reference surface or first reference structure by contact scanning from said second position; and using the determined position as a starting position to detect one or more other geometric structures and/or to perform one or more other contact scanning such that contacting times of the tool during contact scanning and/or machining times of the tool during machining are reduced.