A method that makes it possible to produce the ideal curvature of a rod of vertebral osteosynthesis material designed to support a patient's spine, which comprises the following stages: a) take a preoperative sagittal x-ray of the spine of the patient to be treated, which it extends from the cervical vertebrae to the femoral heads; b) identify in that radiography: the so-called "pelvic" parameters, that is, the sacral slope, the pelvic version and the pelvic incidence, the lumbar lordosis, the position of the apical lumbar vertebra, that is, the one that is most advanced on the x-ray, at least one of the following measurements: the distance, called SVA, from the vertical of the posterior superior point of the plate of the first vertebra of the sacrum, called S1, to the vertical that passes through the center of the seventh cervical vertebrae; the distance, called SFD, from the vertical of the upper posterior point of the S1 plate to the vertical that passes through the center of the femoral heads; the angle, called T1 / SPI, formed between the segment that goes from the center of the first dorsal vertebra, called T1, to the center of the femoral heads and the vertical to the center of T1, a cloud of points that define the curvature of the the patient's spine, including one point per vertebral level, placed in the center of the upper plate of an affected vertebra, and a point that defines the observed preoperative apex; c) deduce, between predetermined spine morphotypes and from the observed value of the sacral slope, the morphotype corresponding to the treated spine and deduce the desired postoperative apical point after making the correction from it, and define the vertebrae in which the anchoring elements for the vertebral rod to be anchored to the vertebrae will be implanted; d) perform wire modeling of the patient's spine using, for example, CAD software; e) define, from said pelvic parameters, a reference centered on the S1 plate, whose point of origin is the c