A method for producing a shaft component or a shaft portion or a shaft, having a functional contour with a channel, with which fluid can be conducted, and with at least one feed device in order to feed fluid to the shaft component or the shaft portion or the shaft, and with at least one discharge device in order to discharge fluid from the shaft component or the shaft portion or the shaft, the shaft component or shaft portion having a connection portion for connecting the shaft component or the shaft portion fluid-tightly to a component, the method having the steps of: reading or entering data from a plan or a drawing or a survey process or a data model or a list or a geographical information system or a data memory into a data processing machine, generating a first data set from the data read into the data processing machine, said first data set representing a shaft component or a shaft portion or a shaft, generating a second data set from the first data set, wherein the second data set is suitable for controlling a machine for a material removal and/or a material build-up from or on a body, and creating the shaft component or the shaft portion or the shaft from the body using the machine for material removal and/or material build-up, which machine uses the second data set when producing the shaft component or the shaft portion or the shaft to control the machine, wherein the functional contour of the shaft component or of the shaft portion or of the shaft is formed at least in some sections from the body by material removal and/or material build-up characterised in that the second data set, which is produced from the first data set and which is suitable for controlling a machine for removing material and/or building up material from or on a body, comprises information that specifies a sequence of milling paths, a selection of coarse and fine milling tools and a build-up of auxiliary and stabilisation portions for 3D printing and that thus simplifies the manufacture of the shaft component or of the shaft portion or of the shaft, the shaft component or the shaft portion or the shaft is created from a body consisting of a polymer material or containing a polymer material using the machine for the material removal by milling and/or the material build-up by a 3D printing process, said machine using the second data set in the production of the shaft component or of the shaft portion or of the shaft to control the machine for the material removal and/or the material build-up, after step the created shaft component or the shaft portion or the shaft is surveyed by being probed and/or by an optical method and/or by receipt of electromagnetic radiation reflected at the shaft component, the shaft portion or the shaft. reading or entering data from a plan or a drawing or a survey process or a data model or a list or a geographical information system or a data memory into a data processing machine, generating a first data set from the data read into the data processing machine, said first data set representing a shaft component or a shaft portion or a shaft, generating a second data set from the first data set, wherein the second data set is suitable for controlling a machine for a material removal and/or a material build-up from or on a body, and creating the shaft component or the shaft portion or the shaft from the body using the machine for material removal and/or material build-up, which machine uses the second data set when producing the shaft component or the shaft portion or the shaft to control the machine, wherein the functional contour of the shaft component or of the shaft portion or of the shaft is formed at least in some sections from the body by material removal and/or material build-up characterised in that the second data set, which is produced from the first data set and which is suitable for controlling a machine for removing material and/or building up material from or on a body, comprises information that specifies a sequence of milling paths, a selection of coarse and fine milling tools and a build-up of auxiliary and stabilisation portions for 3D printing and that thus simplifies the manufacture of the shaft component or of the shaft portion or of the shaft, the shaft component or the shaft portion or the shaft is created from a body consisting of a polymer material or containing a polymer material using the machine for the material removal by milling and/or the material build-up by a 3D printing process, said machine using the second data set in the production of the shaft component or of the shaft portion or of the shaft to control the machine for the material removal and/or the material build-up, after step the created shaft component or the shaft portion or the shaft is surveyed by being probed and/or by an optical method and/or by receipt of electromagnetic radiation reflected at the shaft component, the shaft portion or the shaft.