skip to navigation
skip to content

ayab 0.80

GUI for Machine assisted Knitting.

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
https://www.python.org/downloads/windows/
Download and install pip from
https://pip.pypa.io/en/latest/installing.html
Download and install PyQt4 from
http://www.riverbankcomputing.co.uk/software/pyqt/download

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
 
File Type Py Version Uploaded on Size
ayab-0.80.tar.gz (md5) Source 2015-12-01 191KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 90 downloads in the last week
  • 646 downloads in the last month