wif-weave
is a parsing utility built on configparser to parse .wif
files used for representing weaving patterns. The .wif
specification was originally created in 1996, and has been
stable at 1.1 since 1997. While many weaving programs have
their own proprietary formats, nearly all can export to and import from .wif
files.
Notes about how specific programs export to .wif
and which features are supported
Fiberworks uses its own .dtx
format, but can also export to and
import from wif files.
Color range in Fiberworks generated wif files is 0-999
rather than the more common 0-255
Uses a comment in the TEXT
section to note the creation date
Does not use private sections
PixeLoom uses the .wif
format, but makes use of comments and private sections to save
extra data. It also sometimes saves files using the .plm
extension, but with the same file format.
The Date
in the header seems to be the creation date of the file, and the Developers
field is the email address
for PixeLoom.
Uses comments in the threading and treadling/liftplan to denote sections of the pattern. Comment format is [<section length>]<Section Name>
.
Uses private sections for PixeLoom specific settings.
Licensed under the Anti-Capitalist Software License version 1.4.