A method for generating 3D machining data for a motor vehicle rim machined by turning and/or milling, comprising the method steps: - providing a motor vehicle rim with an initial contour , having one or multiple spokes and being machined by turning and/or milling, wherein the initial contour is the contour of a pre-machined motor vehicle rim , as well as an outer and/or visible side and an inner and/or axle side and at least one burr attached to an edge ; - providing a 3D model of a target geometry of the motor vehicle rim to be machined in a system control; - measuring the inner and outer sides at predefinable measuring positions on at least two, preferably three, surfaces of the respective spokes for detecting 3D actual position data of the initial contour by means of at least one optical detection means ; - comparing the detected 3D actual position data to the 3D model of the target geometry and computational integration of the detected 3D actual position data of the initial contour by means of extrapolation and/or interpolation of the 3D actual position data; - calculating 3D machining data for achieving a finished contour if the motor vehicle rim with the aid of the integrated 3D actual position data of the initial contour ; - providing the 3D machining data in the system control, wherein the integration of the 3D actual position data of the initial contour of the burred edges facing away from the motor vehicle rim in the initial machining direction is carried out by means of extrapolation and/or interpolation of the detected 3D actual position data of the closest sides and/or surfaces of the spokes in the initial machining direction with the aid of the 3D model of the target geometry . - providing a motor vehicle rim with an initial contour , having one or multiple spokes and being machined by turning and/or milling, wherein the initial contour is the contour of a pre-machined motor vehicle rim , as well as an outer and/or visible side and an inner and/or axle side and at least one burr attached to an edge ; - providing a 3D model of a target geometry of the motor vehicle rim to be machined in a system control; - measuring the inner and outer sides at predefinable measuring positions on at least two, preferably three, surfaces of the respective spokes for detecting 3D actual position data of the initial contour by means of at least one optical detection means ; - comparing the detected 3D actual position data to the 3D model of the target geometry and computational integration of the detected 3D actual position data of the initial contour by means of extrapolation and/or interpolation of the 3D actual position data; - calculating 3D machining data for achieving a finished contour if the motor vehicle rim with the aid of the integrated 3D actual position data of the initial contour ; - providing the 3D machining data in the system control, wherein the integration of the 3D actual position data of the initial contour of the burred edges facing away from the motor vehicle rim in the initial machining direction is carried out by means of extrapolation and/or interpolation of the detected 3D actual position data of the closest sides and/or surfaces of the spokes in the initial machining direction with the aid of the 3D model of the target geometry . <EOS>