GUI for Machine assisted Knitting.
Project description
All Yarns Are Beautiful
This is the GUI interface for AYAB.
Installation
Linux
Prerequisites
For Debian/Ubuntu
sudo apt-get install python-pip python-qt4 python-dev
For openSUSE
# openSUSE sudo zypper install python-pip python-qt4 python-virtualenv
All Distributions
To be able to communicate with your Arduino, it might be necessary to add the rights for USB communication by adding your user to some groups.
sudo usermod -a -G tty [userName] sudo usermod -a -G dialout [userName]
Setup
Create a virtual enviroment (e.g. in $HOME/ayab/) and install ayab with
virtualenv --system-site-packages venv/ source venv/bin/activate pip install ayab
Start ayab with
ayab
- Note: If running ayab fails with “IOError: [Errno 13] Permission denied: ‘/usr/local/lib/python2.7/dist-packages/oauthlib-0.6.0-py2.7.egg/EGG-INFO/top_level.txt” or similar, try to change the permissions of the file using
sudo chmod o+r /usr/local/lib/python2.7/dist-packages/oauthlib-0.6.0-py2.7.egg/EGG-INFO/top_level.txt
Windows
The Windows version which is available at http://ayab-knitting.com has been packed with py2exe and should not require any additional dependencies. Just unzip the archive to C:ayab-windows-0.80 and start ayab.exe
Development
To install the development version you can checkout the git repository. You need Python 2.7 and PyQt from your package manager’s repository. The other main dependencies are: Pillow >= 2.4, pyserial >= 2.7, fysom >= 1.1 and Yapsy >= 1.10 Move to the software/python/ folder and install the required dependencies.
Development Dependencies for Linux
pyqt4-dev-tools
Development Dependencies for Windows
- Download and install Python 2.7.x from
- Download and install pip from
- Download and install PyQt4 from
Release Notes
0.80 (November 2015)
Firmware
API v4
Added Test Mode
Added Auto-Init functionality
Added FW Version Define
Fixed reset of needles out of active needle area
Added support for I2C port expander on shield v1.3TH (MCP23008)
GUI
requires APIv4
Basic visualisation of pattern position
Mouse wheel zooming of pattern
Visualisation of Test Mode data
Auto-Init functionality (no need to click OK several times when starting to knit)
Firmware database moved to external JSON file
Fix pattern rotation direction
Fix pattern inversion
Fix growth of image when rotating
Fix unlocking of knit controls after image manipulation
0.75 (February 2015)
Firmware
Fixed Lace carriage support
0.7 (February 2015)
Firmware
Lace carriage support
GUI
Showing info about current line number
Some layout fixes (disabling UI elements, …)
Starting to knit with the bottom of the image
Fixed progressbar in 2 color doublebed mode
Start and Stop needle selection like on the machine (orange/green)
Infinite Repeat functionality
Cancel button added
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
File details
Details for the file ayab-0.80.tar.gz
.
File metadata
- Download URL: ayab-0.80.tar.gz
- Upload date:
- Size: 196.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fc13f017283cf6937d415472a1b9e4661400d9af39c72c64ce4f30a994bf22f |
|
MD5 | c639db8ea90aebd00f249c1089d6aaa3 |
|
BLAKE2b-256 | 805c49ea464555b0d453c782aca6d2325f5ace8ddcf1f4acd0c07318a6d899d9 |