Skip to content

Releases: EmbroidePy/pyembroidery

Hus Added

27 Aug 05:02
ba95f93
Compare
Choose a tag to compare

Adds a reader for HUS format along with the required decompression format written from scratch in pure python.

This includes a fix for issue #77.

Some corrections to VP3 correction.

  • Add an END command at the pattern end.
  • Avoid double trims for explicit and implicit trims.
  • Do not treating an END command as a TRIM.

This also includes several minor corrections of is vs == and modifies the EmbEncoder to pass along some higher level bits to the writers. This should generally have no effect, but, could be of some utility in writers where custom higher level bit flags served some purpose. Currently VP3 will deal with a ALTERNATIVE flag on STITCH to write a long form stitch, for testing purposes.

VP3 TRIM support.

15 Aug 17:46
5cb7ffe
Compare
Choose a tag to compare

VP3 trims are signalled as 0x80 0x03. I previously viewed this as an END. This resulted in two effects. When trims were loaded it would force end a block read which would also skip appending the color change which caused it to garble. And I didn't read write trims as anything.

Pes/Pec interpolation to save and load STOP

17 Jul 01:28
55c5628
Compare
Choose a tag to compare

This adds a few more read interpolations for PES and PEC that turn duplicate color color_changes into STOP commands, and vice versa. These are done natively for the PES and PEC formats. This makes STOP a fully qualified command in the format.

PyEmbroidery Supported Format Improvement

16 Jul 08:40
9576a22
Compare
Choose a tag to compare

Changes were made to how options are listed in the supported formats. This could be breaking in a rare edge case.

The major changes to the scheme is that PyEmbroidery. supported_formats() now includes versions which can be requested through settings { "version": <request> }, this is a fundamentally more consistent methodology especially for some writers that may require a lot of different versioning information. Many of the options were cryptic and would need to be configured in a strange ways. With versions you can simply list the versions and write them out. There is now an extensions key which provides a tuple of different extensions that are common for the reader to load. This differs from extension which provided a single typical export type.

There are interpolation corrections for jef and dst with regard to trims, after the files are loaded. This should largely remove the need to call get_pattern_interpolate_trim() as a routine operation.

Builtins and Pattern Merging

13 Jul 22:03
1752f0d
Compare
Choose a tag to compare

Adding in additional elements for some builtins being used in EmbPattern, EmbMatrix, EmbThread. Added @styloInt's merging patterns functionality (#60). You can now technically add patterns together. pattern_merged =pattern1 + pattern2 or pattern1 += pattern2. And implemented what it means for those objects to be equal or not equal.

GCode Reader Improve

14 Dec 10:59
1c95444
Compare
Choose a tag to compare

Slight tweaks to the gcode reader to handle alternative comment formatting, and to process g20, g21 commands.

Xxx More Stable Writer.

05 Nov 17:36
e3eea60
Compare
Choose a tag to compare

Bunch of improvements to the .xxx writing format. It seems to be consistent with what most writers are doing. There's no known ground where a critical flaw could exist that wouldn't also exist on many other programs. It should stitch.

Round Param, XXX (experimental) writer.

04 Nov 03:15
8351f86
Compare
Choose a tag to compare

Adds an encoder round parameter which turns out to be needed in a very limited set of circumstances.

Adds in experimental .xxx writer.

Gcode Reader/Writer

29 Oct 15:36
f8752d6
Compare
Choose a tag to compare

Adds in basic functionality for a gcode writer and reader.

TxtWriter

13 Oct 16:40
f30dc57
Compare
Choose a tag to compare

It was requested to duplicate the Embroidermodder txt functionality.