1. Method of generating data relative to the writing of a pattern by electronic radiation, successively comprises: S 1 ) providing a pattern to be formed on a substrate, S 2 ) forming a work pattern from the pattern to be formed, the work pattern comprising a single external envelope, S 3 ) breaking down the work pattern into a set of elementary outlines comprising a plurality of elementary outlines each having a single external envelope, and defining a set of insolation conditions for each elementary outlines, S 4 ) comparing the pattern to be formed with a simulation pattern representing the sets of insolation conditions for the elementary outlines to discriminate a simulation pattern representative of the pattern to be formed from a simulation pattern which is not representative of the pattern to be formed, wherein, if the simulation pattern is not representative of the pattern to be formed, the method comprises: S 7 ) determining at least one shift vector between at least a portion of the external envelope of the pattern to be formed and a corresponding portion of the external envelope of the simulation pattern, S 8 ) displaying at least a portion of the external envelope of the work pattern or of the pattern to be formed according to a displacement vector determined at least from the corresponding shift vector to form a new work pattern, carrying out a new iteration of steps S 3 ) and S 4 ).