To convert a DXF manually, you essentially calculate these coordinates for every line in your drawing. As you can imagine, this is math-heavy for complex patterns, which is why software tools are preferred for DXF-to-PAT conversion.
For the purists, or if you need to debug a pattern, it helps to understand what a PAT file actually looks like. dxf to pat