Patent ID: 8897907

Claim:
A data generating device comprising: a selection portion that receives a selecting operation of a user corresponding to a selection of a plurality of patterns from among patterns that are to be sewn based on sewing data stored in a storage portion, the sewing data being data that indicates an amount of movement of a sewing object fed by a feed dog in a first predetermined direction and a swing position of a needle bar swung by a needle bar swing mechanism in a second predetermined direction, the feed dog, the needle bar swing mechanism and the needle bar being provided in a sewing machine, and the second predetermined direction being a direction that intersects with the first predetermined direction; an acquisition portion that acquires a plurality of first sewing data from the storage portion, the plurality of first sewing data being a plurality of sewing data, each of which corresponds to each of the selected plurality of patterns included in the selection; an arrangement setting portion that sets an arrangement of the selected plurality of patterns; a first sewing data generating portion that generates second sewing data based on the first sewing data that are acquired by the acquisition portion, the second sewing data being sewing data for sewing a combined pattern that is a pattern that combined the plurality of patterns selected by the selection portion in accordance with the arrangement set by the arrangement setting portion; and a first storage control portion that causes the second sewing data generated by the first sewing data generating portion to be stored in the storage portion such that it can be acquired by the acquisition portion, wherein the first sewing data generating portion includes: a vector data generating portion that generates vector data based on the first sewing data acquired by the acquisition portion and on the arrangement set by the arrangement setting portion, the vector data being data that are represented by relative positions with respect to a reference point of needle drop points of the combined pattern; and a second sewing data generating portion that generates the second sewing data based on the vector data generated by the vector data generating portion.