The subject matter of the invention is a device and a method for changing embroidery patterns.
Modern sewing machines frequently include embroidery devices with an embroidery hoop that can be coupled to the sewing machine. For embroidering, the material to be sewn is set in tension in the embroidery hoop. This can be displaced in the two directions of the sewing plane by means of two independent drives. In the embroidery mode, the embroidery hoop, controlled by the sewing machine controller, is moved as a function of stored embroidery pattern data to the next stitching point, where a corresponding embroidery stitch is formed. The software controlling the movements of the embroidery hoop and the needle bar of the sewing needle is usually stored in a program memory of the sewing machine. The data for an embroidery pattern can also be stored in an internal memory of the sewing machine. Alternatively, the embroidery pattern data can also be stored in an external memory, e.g., a USB stick, which can be connected to the sewing machine.
There are many different formats for embroidery pattern data, e.g., “.ART” or “.EXP”. In principle, distinctions can be made between vector-based and stitching data-based formats. Stitching data-based formats are usually optimized for use on certain sewing machine models. In contrast, vector-based formats can be used universally, but require more complex data-processing devices. Computer programs are known that allow the conversion of embroidery pattern data from one format to the other. In addition, computer programs, e.g., “ARTE Engine,” are known, with which embroidery patterns can be created and/or modified.
For enlarging and/or reducing embroidery patterns, it is advantageous when the corresponding data is provided in a vector format, e.g., “.ART”. For changing the size of the embroidery pattern up to approximately ±20% of the original size, it is possible to change the stitch length (or their components into the two directions of movement of the embroidery hoop) according to the appropriate scaling, without significantly decreasing the quality of the embroidered image. This type of modification to the embroidery pattern is also designated as “resizing.”
For scaling values greater than approximately 20% to 25% in terms of magnitude, the stitches or the puncture points for the embroidery pattern to be created must be recalculated, with the number of puncture points usually increasing or decreasing, so that the stitching density quality is changed to be within tolerable limits. This type of modification to the embroidery pattern data is also designated as “recalculation.” For performing such a recalculation process, CAD software, e.g., “ARTE Engine” is necessary. Moreover, the embroidery pattern data must be provided in a suitable vector format, e.g., “.ART”. The recalculation of embroidery pattern data is computationally intensive and requires a computer with correspondingly high computing power. Therefore, in conventional sewing machines without powerful CAD software, sometimes alternative algorithms are used for the recalculation of embroidery pattern data. This has the result, especially for stitching data-based embroidery formats, e.g., “.EXP”, that the stitching density quality decreases for increasing sizes, and that fillings in the embroidery pattern can be lost.
Therefore the object of the present invention is to create a device and a method for scaling embroidery patterns, with which qualitatively good, new embroidery pattern data can be calculated relatively quickly even for given scaling values above approximately 120% and below approximately 80%.
Another object of the invention is to construct the device and the method so that fillings of embroidery patterns are not lost even for embroidery pattern-based formats.
These are met by a device and by a method according to the invention.
With the method according to the invention and the device according to the invention, an embroidery pattern can be scaled and changed easily and quickly, without negatively affecting the quality of the embroidery pattern. For this purpose, several data sets are created, which represent the embroidery pattern with the associated stitching data for different fixed or adjustable scaling factors. (Because the invention can be applied not only to changes in size with constant proportions, but generally to parameterizable changes, from here on instead of the term “scale factor,” the term “change factor” will be used and instead of the term “scale value,” the term “change value” will be used.) The stitching data of each data set is optimized in terms of the stitching density quality. The given change factors are preferably dimensioned so that the enlargements or reductions of the embroidery pattern correspond to steps of approximately 20% of the original size.
For enlarging or reducing an embroidery pattern, the user can set or select the desired change value. The machine controller determines the change factor lying closest to the desired change factor with reference to this user input. With reference to the given stitching data of the associated data set, the machine controller calculates the actual stitching data for the desired change value. Thus it is not necessary to recalculate the arrangement of stitches for an embroidery pattern when a change in size greater than approximately 20% of the original size is desired for the embroidery pattern.
With the storage of embroidery pattern data according to the invention, embroidery patterns can be scaled or changed quickly and without additional software for calculating new stitching arrangements directly by the sewing machine controller within a large range. All possible filling patterns are preserved independent of the change value.
The invention will be described in more detail below. Shown are
a the embroidery pattern from
b the reduced embroidery pattern from
a an embroidery pattern assembled from sub-patterns,
b the embroidery pattern from
The units of length of the coordinate system are represented on the reference axes x and y by tick marks. For better understanding, the embroidery pattern 1 is kept very simple. It represents the outline of a bird's head. The eye and the beak are filled with a simple filling pattern. The individual puncture points 3 are represented as small circular rings. The sewing yarn 5 between these puncture points 3 is represented as solid lines.
The embroidery pattern 1 can be stored, e.g., by storing coordinates (xi, yi) in the sequence of sewing stitches to be formed for each cohesive object that can be formed by a continuous sequence of sewing stitches. The index i here corresponds to the number of relevant sewing stitches. The coordinates (xi, yi) can be specified, e.g., relative to the origin or relative to each preceding sewing stitch (xi-1, yi-1).
a shows the embroidery pattern 1 from
The puncture points 3 of the reduced embroidery pattern 1 thus lie closer together or the stitching density is increased relative to the embroidery pattern 1 in the original size.
b corresponds to the embroidery pattern 1 from
The optimized stitching data or coordinates (xi, yi) for different change factors qj (the index j is a natural number) can be calculated, e.g., with corresponding algorithms in CAD software. For each of the change factors qj, a data set dj with the associated stitching data (xi, yi) is calculated. The calculations are usually performed on a computer that is independent from the sewing machine. For a corresponding construction of the sewing machine, the calculations can obviously also be executed there. In a storage medium that can be accessed by the sewing machine controller, not only is the first data set d0 stored with the stitching data or coordinates (xi, yi) of the embroidery pattern 1 in the original size, but also one or more other data sets dj with the optimized stitching data or coordinates (xi, yi) for one or more scalings or enlargements or reductions of the embroidery pattern 1 as well as the associated change factors qj. The number of such stored scaled embroidery pattern data sets of an embroidery pattern 1 or the value range of the index j can either be fixed or—in an alternative construction of the invention—can be selected freely.
As step S3, the associated data set d3 with the coordinates (x31,y31), (x32,y32) . . . (x3k,y3k) of the corresponding puncture points 3 is selected. It is used as a basis for calculating the stitching data for the embroidery picture 1 enlarged or reduced according to the change value v. The sewing machine controller first calculates the value w:=v/q3. Then, in step S4 the x and y coordinates of the puncture points 3 stored in data set d3 are multiplied with this value w. This produces the desired coordinates of a target data set z with the optimized stitching data for the embroidery pattern 1 enlarged or reduced according to the change value v.
Alternatively, a different comparison criteria could also be used for determining the base data set db (in the shown example, the index b=3) suitable for the scaling or change. For example, instead of the change factor qj lying closest to the selected change value v in terms of magnitude, the next larger or next smaller change factor qj could be selected.
The scaling of an embroidery pattern 1 corresponds to a special transformation or conversion, in which the stitching data coordinates (xi, yi) in the embroidery pattern are enlarged or reduced proportionally. The form or the outline of the transformed embroidery pattern is preserved in the scaling.
Other special transformations are, e.g., compressions, extensions, distortions, rotations, reflections, or any combinations or sequences of such transformations.
In general, parameterizable transformations are understood as functions F, which assign one pixel F(xi, yi) to each point (xi, yi) of an embroidery pattern. Analogous to scaling an embroidery pattern, a transformation, which changes the shape of an embroidery pattern, can be divided into several intermediate steps.
Analogous to the proportional scaling of an embroidery pattern, the user can specify a desired change value v, wherein these values v must now lie between 0% and 100%. The control software determines from these value the two adjacent change values qj and qj+1 and calculates the desired pixels, e.g., through linear interpolation.
In another construction of the invention, embroidery pattern data from several different transformations or functions F can be stored in a memory that can be accessed by the sewing machine controller. It is also possible not to store any data sets for intermediate functions for one or more of these functions F. For example, for an embroidery pattern, in addition to the data set do with the stitching data of the original, data sets dj with stitching data of simple transformations, such as reflections or rotations by 45° or 90° can be stored and retrieved via a selection menu of the sewing machine.
In another alternative construction of the invention, an embroidery pattern can comprise several sub-patterns. The sub-patterns can be combined individually or into groups and scaled or changed with the same or different change values. For illustration, in
Number | Date | Country | Kind |
---|---|---|---|
01807/06 | Nov 2006 | CH | national |