Method for the computer-supported construction of a flexible circuit board, which is arranged in a housing of a device, characterised in that the following steps are provided: a) creating a 3D model of the housing, b) determining fixed points (1 to 4) of the circuit board, such as fastening points and connection points, specifying respectively a normal unit vector established on an inner wall surface of the housing and pointing inwards, and the throughput direction, c) determining connection planes which contain the fixed points (1 to 4), d) calculating a skeleton model of the circuit board, wherein the intersection line of the connection planes (1v to 4v) having the fixed points is determined between two adjacent fixed points (1 to 4) having different normal unit vectors, e) replacing the intersection lines through a connection section (21v, 23v, 24v), wherein the connection planes forming the intersection line pass tangentially into the connection section, f) creating a developed version of the skeleton model in a plane, g) specifying a provisional circuit board contour enclosing the skeleton model, h) creating a circuit board design, comprising a refined circuit board contour and a circuit board layout, in the developed version, i) inserting virtual components into the circuit board design; k) retransferring the circuit board design fitted with the virtual components into the 3D model of the housing, l) determining and correcting the collisions between the virtual components on the one hand and the circuit board contour or the inner contour of the housing in the 3D model of the housing on the other hand, or between the virtual components among themselves or the circuit board contour with itself, m) passing through steps h) to k) until no collision occurs any longer, wherein steps a) to m) are carried out in the aforementioned order or in a different order. a) creating a 3D model of the housing, b) determining fixed points (1 to 4) of the circuit board, such as fastening points and connection points, specifying respectively a normal unit vector established on an inner wall surface of the housing and pointing inwards, and the throughput direction, c) determining connection planes which contain the fixed points (1 to 4), d) calculating a skeleton model of the circuit board, wherein the intersection line of the connection planes (1v to 4v) having the fixed points is determined between two adjacent fixed points (1 to 4) having different normal unit vectors, e) replacing the intersection lines through a connection section (21v, 23v, 24v), wherein the connection planes forming the intersection line pass tangentially into the connection section, f) creating a developed version of the skeleton model in a plane, g) specifying a provisional circuit board contour enclosing the skeleton model, h) creating a circuit board design, comprising a refined circuit board contour and a circuit board layout, in the developed version, i) inserting virtual components into the circuit board design; k) retransferring the circuit board design fitted with the virtual components into the 3D model of the housing, l) determining and correcting the collisions between the virtual components on the one hand and the circuit board contour or the inner contour of the housing in the 3D model of the housing on the other hand, or between the virtual components among themselves or the circuit board contour with itself, m) passing through steps h) to k) until no collision occurs any longer, wherein steps a) to m) are carried out in the aforementioned order or in a different order.