Skip to content

erys/wif-weave

Repository files navigation

wif-weave

Build Status Crates.io Released API docs Maintenance dependency status

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.

Compatibility with draft creation programs

Notes about how specific programs export to .wif and which features are supported

Fiberworks - Supported in 1.0+

Fiberworks uses its own .dtx format, but can also export to and import from wif files.

Defaults

Color range in Fiberworks generated wif files is 0-999 rather than the more common 0-255

Comments

Uses a comment in the TEXT section to note the creation date

Private sections

Does not use private sections

PixeLoom - Partially supported

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.

Defaults

The Date in the header seems to be the creation date of the file, and the Developers field is the email address for PixeLoom.

Comments

Uses comments in the threading and treadling/liftplan to denote sections of the pattern. Comment format is [<section length>]<Section Name>.

Private Sections

Uses private sections for PixeLoom specific settings.

License

Licensed under the Anti-Capitalist Software License version 1.4.

About

A rust crate for parsing .wif files used for weaving

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages