


Whereas PES will in places read and write 4-byte integers and floating point numbers. You will always find shorts in PEC block. The PES and PEC sections are distinct and disjoint and have their own conventions, purposes, formats, read values, etc. Outside directly manipulating the pointers, these occur immediately after each other with the seek value set to the appropriate location. The PES section must immediately follow this and often the version and the PEC seek value are considered in the context of the header. Then within the file the two main sections the PES and the PEC. This is followed by the PEC seek value, as a 4 byte little-endian integer. It occurs in ways that cannot interfere with reading a PEC block standardly but seems to provide additional expected information in PES version 4 and above, and is expected on later machines. Some later PES versions also contain addendum PEC information. The reason for this is if Brother PE-Design loses the information it used to generate the PEC data namely that it was a rectangle at this specific location it becomes impossible to do operations like change the spacing between the scanlines within the rectangle, because after reloading the file all the program would have access to are the line segments losing the shape makes rerendering that shape with a different fill density impossible.įully grasping these elements of the format allow for creating interesting custom files or ways to modify them in logically consistent but weird methods. The PEC block would have all the commands for the machine to sew that according to the pathing chosen by the instance that saved the PES file. The PES block would have a CEmbRect object only. If a PES version 6 design, for example, contained a rectangle object. Later versions of PES have higher level objects which contain vector shapes and information about how these are filled when it renders. The PES data has a copy of the segments and the PEC data has a copy of the segments. So within PESv1 we end up with two copies of the same data in each of their respective blocks. These can be grouped in a few different ways but they only ever contain sewing segment information. These blocks contain the affine transformation data for the position data, and the position data.

In PES version 1, the only blocks contained within the version 1 of the format were the CEmbOne and CSewSeg blocks. However, later versions of PES version 4+ have addendum information about the PEC block that wouldn't interfere with the processing of the PEC block but contains information relevant to the embroidery machine.

#Pe design 10 trim threads software#
Since the PEC block is the same in all versions so that it's always backwards compatible with the hardware of the Brother and Bernina embroidery machines, software made by others therefore tends to only read that data and turns those commands into line segments. And the PEC part contain the design name, colors, embroidery machine commands, and graphics for the embroidery machine. The PES part contains the design information for Brother PE-Design and perhaps similar applications. PES files contain at their core two different parts for two completely different purposes.
#Pe design 10 trim threads series#
The PES format is a hybrid embroidery design and embroidery command file format for Brother Industries and Bernina International series of embroidery machines, among others.
