A method for producing a bone replacement, a cavity or a bone being detected in a fully automated manner and the bone replacement being produced based on the detection also in a fully automated manner. It is also possible to produce information in relation to medical instruments or navigation information in a fully automated manner.