Convert weaving patterns to overshot-patterned double weave
Project description
Convert weaving pattern files to overshot-patterned double weave
The patterns must obey these restrictions (after optional filtering):
- Each warp thread must be threaded on only one shaft. (Technically, at most one shaft, because unthreaded warp threads are ignored.)
- The pattern must contain treadling information (not pure liftplan).
- The pattern must use no more than one treadle per weft thread.
- The pattern must have the same number of treadles as shafts.
Installing the Software
-
Install Python 3.11 or later.
-
Install this "as_op_doubleweave" package on the computer with command: pip install as_op_doubleweave
Usage
On the command line run:
as_op_doubleweave pattern_files
The pattern files may be .wif or .dtx files. The converted files are always .wif.
Filtering options:
- --skip-even-ends for shadow weave patterns, for example
- --skip-odd-ends (same)
- --skip-even-picks for shadow weave patterns, patterns with tabby added, etc.
- --skip-odd-picks (same)
- --skip-treadles for patterns with dedicated treadles for tabby or other tie-down picks
Here is an example using handweaving.net shadow weave pattern 79721. First download the wif file, then convert it as follows:
as_op_doubleweave 79721.wif --skip-even-ends --skip-even-picks
You can also include all ends and picks from the original pattern. This gives nice, but very different, result:
as_op_doubleweave 79721.wif
Developer Tips
-
Download the source code from github, or make a fork and download that.
-
Inside the directory, issue the following commands:
-
pip install -e . (note the final period) to install an "editable" version of the package. Meaning a version that runs from the source code, so any changes you make can be run without reinstalling.
-
pre-commit install to activate the pre-commit hooks.
-
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file as_op_doubleweave-0.1.tar.gz.
File metadata
- Download URL: as_op_doubleweave-0.1.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8843e268de67a28d56d182321281ad5cf40192828c506b88ef6b4016216eeb4
|
|
| MD5 |
877ac8ec11f02e77ab568c54628434fd
|
|
| BLAKE2b-256 |
7abbad002886f13b147dd19176ee65f38e3076a68db7d947f6814d2c83750631
|
File details
Details for the file as_op_doubleweave-0.1-py3-none-any.whl.
File metadata
- Download URL: as_op_doubleweave-0.1-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24162baa8b01da8f4ec8a6dbf05f8eb64abc05e021a811ad2847c23308a13243
|
|
| MD5 |
991dc0a0ee0a84a6864aca455e3d246f
|
|
| BLAKE2b-256 |
7ccba811494114a6db568a6e78518463deda6d13f39512f095e2099e49e03d2e
|