A computer-implemented method of generating a virtual model of a set of teeth for manufacturing a physical model of the set of teeth, where the generated model is configured such that at least one tooth is part of a removable component of the model, wherein the method comprises: - providing a virtual model (301, 401, 501, 601, 801) of the set of teeth, the virtual model comprising a gingival part and a tooth which is to be part of the removable component (405, 605, 705, 805) in the model; - generating a cavity (407, 507, 607, 807) in said gingival part, said cavity comprising a cavity wall, into which cavity the removable component fits such that an interface between the removable component and the cavity wall is defined, where the removable component and the cavity are configured to provide a gap at said interface, the gap extending circumferentially about a portion of the removable component in a direction perpendicular to a longitudinal direction of the removable component; and - providing supporting elements (409, 509, 609, 809) for supporting and positioning the removable component in the cavity, where the supporting elements are generated on one of said removable component and said cavity wall such that the supporting elements extend across said gap between said removable component and said cavity wall such that at some parts of circumference of the removable component, said gap is closed by the supporting elements and at other parts of the circumference of the removable component, said gap is open, and in a physical model manufactured from the virtual model, the supporting elements support and position the removable component in the cavity; wherein, the area of contact between the removable component and the cavity wall at said interface is controlled by the shape of the adjoining surfaces of the supporting elements and the other of the removable component and the cavity wall. - providing a virtual model (301, 401, 501, 601, 801) of the set of teeth, the virtual model comprising a gingival part and a tooth which is to be part of the removable component (405, 605, 705, 805) in the model; - generating a cavity (407, 507, 607, 807) in said gingival part, said cavity comprising a cavity wall, into which cavity the removable component fits such that an interface between the removable component and the cavity wall is defined, where the removable component and the cavity are configured to provide a gap at said interface, the gap extending circumferentially about a portion of the removable component in a direction perpendicular to a longitudinal direction of the removable component; and - providing supporting elements (409, 509, 609, 809) for supporting and positioning the removable component in the cavity, where the supporting elements are generated on one of said removable component and said cavity wall such that the supporting elements extend across said gap between said removable component and said cavity wall such that at some parts of circumference of the removable component, said gap is closed by the supporting elements and at other parts of the circumference of the removable component, said gap is open, and in a physical model manufactured from the virtual model, the supporting elements support and position the removable component in the cavity; wherein, the area of contact between the removable component and the cavity wall at said interface is controlled by the shape of the adjoining surfaces of the supporting elements and the other of the removable component and the cavity wall.