Home
Name Modified Size InfoDownloads / Week
broider-0.0.2 2010-12-09
broider-0.0.1 2010-12-09
broider-0.0.0 2010-12-08
Readme.txt 2010-12-09 2.9 kB
Totals: 4 Items   2.9 kB 0
What is functional?
-------------------
 - read/write DST format, see scripts dst2raw and dst2mli
 - simple graphics output into bitmaps through python PLI see example 03 ad script dst2png
 - MLI (medium level interface) is defined and it is possible to create embroidery from user programs
   see example 04

Instalation:
------------
Simply copy where do you want, so that your program can find it.

Usage:
------
From your python code 'import broider' and see examples.

Description:
------------
Programmable embroidery package. Intention is to write simple and well defined (if possible) interface
between high level graphics and low level stitching commands of embroidery machine.

As low level format, (format that can be read by embroidery machine) we currently support only DST - description of it
can be found on internet. Other formats were not checked or not functional, for that reason were not used.

Although DST is simple, with only limited stitching commands, and colors are in separate file,
it is very popular and a lot of embroidery machines can read it. Keep in mind that missing color 
information may bring a lot of troubles if separate color file cannot be loaded into machine.

Because not all commands are supported by all low level formats or embroidery machines we introduce medium
level interface MLI, that support all known low level commands (see proposal of MLI in mli.py).

At high level graphics we may assume that we have only one machine with MLI. All differences between
various formats will be solved (if possible) at low level betveen MLI and low level.

ToDo:
 - DST format requires more tests
 - medium level interface defined in mli.py should be somehow checked if it is enough general
   to cover all known low level embroidery commands
 - trying to find functional description of other embroidery format PES (not PEC), etc.


ver: 0.0.2 - 9.12.2010
 - rewritten interface DST,MLI to have almost the same methods
   - for this purpose is created virtual interface, now hosted in mli.py file
 - created method interface for MLI to simplify writing user code. see ex04.py
 - created dirs for examples and scripts, unfortunatelly Windows users must solve problem how scripts will find 
   broider package, Linux users have simply link to broider directory
 - created several example scripts
   - dst2raw - read and output DTS as dict
   - dst2mli - read and output DTS as dict of MLI(medium level interface)
   - dst2png - write PNG bitmap (requires PIL python library)

ver: 0.0.1 - 9.12.2010
 - simple bitmap export see example 3
 - added color export/import into DST. done
 - changed interface DST load/save/__init__. done
 - bug in DST export -Y/+Y swapped. fixed

ver: 0.0.0 - initial 07.12.2010 - the project was born
 - it seems to me that I can read/write DST files
 - transfer to more general medium level interface MLI is functional
 - first example is functional at medium level interface

Source: Readme.txt, updated 2010-12-09