Rick Levine
d2805f23de
Set pattern.extras['name'] for .dst header
2023-02-08 16:29:16 -08:00
Kaalleen
5408f4a158
avoid topological error for contour fill ( #1966 )
2023-02-08 07:59:00 +01:00
Kaalleen
920a3e267c
fix split text ( #2057 )
2023-02-07 08:18:11 +01:00
Rick Levine
31fbdf521b
Add filename to .dst header
2023-02-02 21:27:16 -08:00
George Steel
581ecd4869
fix comment
2023-01-29 17:59:38 -05:00
George Steel
68848365b7
tidy path_to_curves
2023-01-29 14:44:43 -05:00
George Steel
c2c256727b
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/fix-running-stitch
2023-01-28 20:20:40 -05:00
George Steel
45496fcd93
add minimum length check to path_to_curves and add comments
2023-01-28 20:20:12 -05:00
Kaalleen
f2f1fea0cb
remove subpaths with only one node from satins ( #2033 )
2023-01-28 22:33:58 +01:00
George Steel
c730250f9f
Merge pull request #2032 from inkstitch/kaalleen/short-stitch-fix
...
fix short stitch for second rail
2023-01-28 15:13:03 -05:00
Kaalleen
dbded7c9b1
Add lock stitch plan option ( #2020 )
2023-01-28 14:55:10 +01:00
Kaalleen
88ae2b3c54
fix random e-stitch
2023-01-28 14:51:12 +01:00
Kaalleen
5481277458
fix short stitch for second rail
2023-01-28 12:02:17 +01:00
George Steel
9f787a661e
add missing bounds check
2023-01-22 20:01:43 -05:00
George Steel
eb3d6bbcc1
fix backtracking case
2023-01-22 17:21:54 -05:00
George Steel
5a1ea7d4c7
add comments and a rounding correction
2023-01-22 16:37:29 -05:00
George Steel
c56180fb99
fix reversed contour underlay
2023-01-22 14:50:26 -05:00
George Steel
19c31d2ad5
fix 3.8 error
2023-01-22 03:23:03 -05:00
George Steel
9ca7088651
Replace running stitch algorithm to give consistent stitch lengths.
2023-01-22 03:06:01 -05:00
Kaalleen
1cdb3538a8
Add bean stitch repeat pattern ( #1938 )
...
! backward compatibility warning:
Users need to fix their documents if they used comma separated values for multiple fill underlays (without a space)
2023-01-15 20:04:10 +01:00
Kaalleen
4156c4adb4
Fill Centerline ( #1722 )
2023-01-15 12:31:27 +01:00
George Steel
1b64f594da
fix bad end of center walk underlay
2023-01-12 23:07:48 -05:00
George Steel
8d13e09bc4
spelling
2023-01-07 19:32:29 -05:00
George Steel
f69bd1654a
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/random-base-satin
2023-01-07 19:27:35 -05:00
Kaalleen
a7b2122d91
Cutwork needle info ( #1988 )
...
* add cutwork needle info to thread color
* apply threadlist: apply cutwork_needle attribute
2023-01-07 09:32:33 +01:00
Kaalleen
90e3d34f2a
jump to stroke: add stitch length settings ( #2003 )
2023-01-07 08:53:01 +01:00
George Steel
d416407f2b
add comment to PRNG
2023-01-02 19:33:50 -05:00
George Steel
28e6898e2e
fix length ramdomization
2022-12-28 19:38:55 -05:00
George Steel
9e88534c27
fix typos
2022-12-27 01:12:15 -05:00
George Steel
26c24d98ed
python 3.8 fixes
2022-12-26 20:53:30 -05:00
George Steel
e28ea888a9
use random oracle for randomized satin columns and redo split stitches
2022-12-26 20:13:48 -05:00
George Steel
b63f19b2d0
fix seed param and error messages
2022-12-26 20:10:10 -05:00
George Steel
7d60b8e9d3
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/random-base-satin
2022-12-23 19:26:43 -05:00
Kaalleen
a4f86a3106
Point to troubleshoot in fatal error message ( #1967 )
...
* point to troubleshoot in fatal error message
* shapely version
2022-12-19 21:11:50 +01:00
Kaalleen
4286090570
fix #1921 ( #1922 )
2022-12-17 12:27:09 +01:00
Kaalleen
355e1f3b9a
svg:line to stroke element ( fix #1623 ) ( #1958 )
2022-12-15 06:33:59 +01:00
Kaalleen
b932f6a443
fix #1936
...
(#1955 )
2022-12-12 18:36:02 +01:00
George Steel
54b0a3d6bf
add comment on set_param
2022-12-11 22:29:29 -05:00
George Steel
903f724c88
refine GUI for text-based random_seed parameter and add global param.
2022-12-11 22:18:09 -05:00
George Steel
de55286b22
Merge pull request #1940 from inkstitch/george-steel/expose-trim-after
...
expose the trim_after param in the interface
2022-12-11 12:02:52 -05:00
Kaalleen
f74f427cae
Add jump to stroke extension ( #1947 )
2022-12-11 09:44:42 +01:00
George Steel
dd115ae02f
Merge remote-tracking branch 'origin/claudine/random_satin_column' into george-steel/random-base-satin
2022-12-10 23:36:19 -05:00
George Steel
2cec72cbbd
Merge branch 'george-steel/expose-trim-after'
2022-12-10 19:29:01 -05:00
George Steel
e52f889bb0
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/expose-trim-after
2022-12-10 19:25:21 -05:00
George Steel
178dfffbeb
expose stop_after
2022-12-10 19:11:43 -05:00
Kaalleen
815b3c6035
Add extension: Lettering along path ( #1937 )
2022-12-10 10:50:14 +01:00
George Steel
3c37a016bf
expose the trim_after param in the interface
2022-12-03 17:38:57 -05:00
Kaalleen
5af256e633
Fill fonts with satin auto-routing ( #1915 )
...
* prevent error message on fill fonts with satin auto-routing
2022-11-30 15:49:51 +01:00
Claudine
c4c22cac4f
use split parameters
2022-11-27 18:14:41 +01:00
Kaalleen
b525188788
fix ripples plot_points_on_rails
2022-11-27 14:56:03 +01:00
Kaalleen
b8161a97c3
satin offset_points
2022-11-27 10:17:43 +01:00
Kaalleen
3f346ea5ff
fix untranslatable trim selection in lettering ( #1923 )
2022-11-27 08:54:10 +01:00
Kaalleen
e9278c55c3
This and that ( #1727 )
...
* dont fail on satin with fill
* fill stitch error message
* convert to satin mac issue
* auto_satin: add rung for two node old style satins
* avoid divide by zero in intersect_region_with_grating
* fix for incorrect stagger in guided fill
* better rail sectioning algorithm
* fix #1780
* fix #1816
Co-authored-by: Lex Neva
2022-11-27 08:37:59 +01:00
George Steel
495a22ea55
Merge commit '72b001e7' into george-steel/random-base-satin
2022-11-24 23:50:00 -05:00
George Steel
81168fd299
typo fixes
2022-11-24 21:10:14 -05:00
George Steel
739e2b9670
add option to swap rails
2022-11-23 23:09:57 -05:00
George Steel
74f0943cc8
Merge branch 'main' of https://github.com/inkstitch/inkstitch into george-steel/pull-comp-percent
2022-11-23 21:59:37 -05:00
George Steel
7cef2c9a09
typo fixes
2022-11-23 21:58:39 -05:00
Claudine Peyrat
43a31ba80e
Claudine/lettering with trims ( #1866 )
...
* add trim after each letter
allow to add a trim after each letter
* add trim after letter, word or line
rewriting everythng
* style correction
correcting all that is signaled by make style
* corrections
i don't understand why i add to modify get_command_pos in commands. If I don't i can not add a command at the end of a glyph that ends with a polyline (eg B from Fold)
* replace checkbox with dropdown
* rename variables in English
* use same trim methods for auto_satin and non auto_satin
* check if trim option is never
strip lines of text
Co-authored-by: Claudine <claudine@MacBook-Pro-2.local>
Co-authored-by: Kaalleen <reni@allenka.de>
Co-authored-by: Kaalleen <36401965+kaalleen@users.noreply.github.com>
2022-11-22 10:46:44 +01:00
Kaalleen
e761d8b42c
Convert to gradient blocks extension ( #1844 )
2022-11-22 10:21:45 +01:00
Kaalleen
4c845df846
small zigzag warning ( #1891 )
2022-11-22 09:50:21 +01:00
Kaalleen
8d0e80e5f1
fix clone positioning and angles ( #1837 )
2022-11-22 09:49:08 +01:00
George Steel
08581d7eae
Make pull-compensation and insets per-side
2022-11-17 01:51:33 -05:00
George Steel
e2ab19d92f
fix shadowing bug leading to division by zero
2022-11-11 00:26:59 -05:00
George Steel
9237d19f0c
fix code formatting
2022-11-11 00:20:59 -05:00
Kaalleen
7445b91851
lettering: ignore invalid glyph layers ( #1892 )
2022-11-10 14:03:32 +01:00
George Steel
e1d9677ea0
fix typos
2022-11-08 22:53:55 -05:00
George Steel
8728e8d7b2
Add proportional inset and balance properties to underlay.
2022-11-06 22:23:25 -05:00
George Steel
3aa92ba7b7
change pull_compensation_rails to a continuous balance and fix some edge cases.
2022-11-06 20:23:21 -05:00
Claudine
72b001e7c2
add random parameters to satin columns
2022-11-06 14:31:28 -05:00
Claudine
4285a6fb7f
add pull_compensation_percent
2022-11-06 10:49:25 -05:00
George Steel
0032e5cdd0
Merge pull request #1874 from inkstitch/george-steel/fractional-stagger
...
Add support for fractional-length stagger cycles in fills
2022-10-27 23:01:05 -04:00
Kaalleen
27d2fcecaa
Lettering: add font size filter ( #1854 )
...
* auto-update scale on font selection with an active filter
2022-10-23 09:17:17 +02:00
George Steel
1cc0eab911
Add support for fractional-length stagger cycles in fills.
2022-10-23 00:54:35 -04:00
Cole Vick
b5b931240c
Merge pull request #1838 from inkstitch/cvick32/pdf-pattern-only
...
cvick32/pdf pattern only
2022-10-16 09:27:49 -05:00
cole
d4720ceb9b
add footer toggle
2022-10-15 16:54:53 +02:00
cole
ff05e24696
change to full-page-patternview
2022-10-15 16:54:53 +02:00
Kaalleen
a059cda563
scale markers as well ( #1839 )
2022-10-15 16:41:06 +02:00
Kaalleen
19f973a44a
Fix stop command ( #1841 )
2022-10-15 16:40:10 +02:00
George Steel
f7748f0f46
fix closed-loop problem in wx simulator
2022-10-08 20:06:38 -04:00
Kaalleen
4f7cd2885f
Some updates for small issues in v2.2.0 ( #1721 )
...
* * autorun - underpath tolerance
* save pdf file format
* fill no geoms error for linestring
* to satin: do not fail on mixed element list
2022-07-14 16:23:46 +02:00
Kaalleen
28534cf1a8
linux scipy/linalg libraries: ELF ( #1714 )
...
* do not strip any scipy library for linux
* apply settings to debug formats
* use fixed pyembroidery
Co-authored-by: Lex Neva
2022-07-08 07:33:45 +02:00
Kaalleen
8d9a469ae2
Ignore invalid palettes ( #1718 )
2022-07-04 13:13:05 +02:00
Kaalleen
8d5ef5b663
Fixes ( #1703 )
...
* guide line position
* use direction from line to shape
* optimize intersection detection
* fix flapack elf
* handle weird guide lines better
* update starting point for self crossing (multiple) fills
* ripple: fixes and non circular join style
* avoid jumps in ripple stitch
* fallback only necessary if shape does not intersect grating
* make valid may return a polygon
* add profiling
* Stitch.__init__ didn't work right and was super slow
* shrink or grow to multipolygon
Co-authored-by: Lex Neva
2022-06-30 19:22:33 +02:00
Kaalleen
ab8c87928b
Update pyembroidery ( #1683 )
...
Embroidery formats (read)
.hus: Husqvarna Embroidery Format
.zhs: Zeng Hsing Embroidery Format
Color formats (read & write)
.col : Color format.
.edr : Color format.
.inf : Color format.
Stitch formats (read & write)
.pmv : Brother Stitch Format.
Image (write)
.png : Portable Network Graphic (line art)
G-Code
The export file format is not .txt anymore but .gcode
Bug fixes
2022-06-24 17:11:52 +02:00
Kaalleen
3985b5ac71
Add short stitch feature to satin column ( #1695 )
2022-06-24 07:25:22 +02:00
Lex Neva
ffd770cbbd
guided fill stagger ( #1700 )
2022-06-22 16:11:12 +02:00
Lex Neva
e884fb78db
add running stitch tolerance param ( #1701 )
2022-06-22 15:26:37 +02:00
Kaalleen
b6bde000fe
Option to drop short stitches ( #1693 )
2022-06-22 15:22:34 +02:00
Kaalleen
0fe1d3b426
Fill: make valid ( #1697 )
2022-06-21 19:59:26 +02:00
Kaalleen
eef2ec232e
Undo stitch plan preview and density map ( #1687 )
2022-06-21 19:48:28 +02:00
Kaalleen
edacc3ec77
Better marker recognition ( #1694 )
2022-06-21 19:46:59 +02:00
Kaalleen
6922f8ff7e
autorun: keep attribs of original elements ( #1682 )
2022-06-10 16:31:11 +02:00
Kaalleen
2fde596272
Guided ripple stitch ( #1675 )
...
Co-authored-by: @lexelby
2022-06-10 16:25:30 +02:00
Kaalleen
68deec88a8
Satin center walk underlay repeats ( #1671 )
2022-06-10 16:23:44 +02:00
Kaalleen
c2bba7fe96
autorun keep all attributes (also the ripple attribs)
2022-06-06 12:47:03 +02:00
Kaalleen
e968f814f7
Add ripple stitch feature ( #1667 )
2022-05-24 19:40:30 +02:00
Kaalleen
0f3daecc63
empty_d shape property ( #1666 )
2022-05-20 19:06:40 +02:00
Lex Neva
8ab4abf190
Merge pull request #1548 from inkstitch/feature_guided_fill
...
Feature guided fill
2022-05-20 12:06:31 -04:00
Kaalleen
1316e8132e
prevent adding commands to empty d objects ( #1658 )
2022-05-20 17:29:50 +02:00
Kaalleen
dec43b9c5f
Use path instead of points for polyline elements ( #1661 )
...
* use polyline-path instead of points
* handle empty polylines
2022-05-20 17:26:11 +02:00
Kaalleen
4712319876
avoid simple satin division by zero error
2022-05-19 20:03:37 +02:00
Kaalleen
bc4f3b4699
Auto route for running stitch ( #1638 )
...
* add auto route for running stitch
* introduce free motion commands
Co-authored-by: Lex Neva <github.com@lexneva.name>
2022-05-18 16:02:07 +02:00
Kaalleen
1b0d46af36
geoms: an other one
2022-05-17 17:51:16 +02:00
Kaalleen
87f328ec85
* flip option only for legacyfill
...
* rename autofill underlay to fill underlay
* remove unused dependency
2022-05-17 17:33:10 +02:00
Lex Neva
d0fc0e1326
default to 'inner to outer'
2022-05-07 23:14:55 -04:00
Lex Neva
b30fce85db
undo aggressive line wrapping
2022-05-07 16:20:15 -04:00
Lex Neva
469c32a497
remove constants
2022-05-06 23:30:54 -04:00
Lex Neva
672bded125
shapely geoms fixes
2022-05-06 21:03:56 -04:00
Lex Neva
a7153c52e2
best-effort rather than throwing exception
2022-05-06 20:42:11 -04:00
Lex Neva
a275d49a24
tangential->contour, fix legacy, remove unused params
2022-05-05 22:53:31 -04:00
Lex Neva
ff0e28d3e5
bugfix
2022-05-04 20:56:18 -04:00
Kaalleen
e65aaebbca
rebase corrections
2022-05-04 20:04:39 +02:00
Kaalleen
48d0a0250e
undo build changes for depq, update clone
2022-05-04 19:19:54 +02:00
Lex Neva
330c6be787
refactor, tidy, and C901 fixes
2022-05-04 19:18:33 +02:00
Lex Neva
aeeaf72338
wip
2022-05-04 19:18:33 +02:00
Lex Neva
5a69fa3e9c
add double (fermat) spiral
2022-05-04 19:18:33 +02:00
Lex Neva
68ee0eea87
add clockwise option
2022-05-04 19:18:33 +02:00
Lex Neva
056a1cc45d
fix start position in single spiral
2022-05-04 19:18:33 +02:00
Lex Neva
76ab319731
add avoid_self_Crossing option
2022-05-04 19:18:33 +02:00
Lex Neva
60fb7d0a9e
fix more shapely deprecations
2022-05-04 19:18:33 +02:00
Lex Neva
8a1f70a6cd
remove sample_linestring and point_transfer
2022-05-04 19:18:33 +02:00
Lex Neva
bd8cb0d1ff
use running_stitch instead for guided fill
2022-05-04 19:18:33 +02:00
Lex Neva
e6fcf11035
fix some shapelydeprecations
2022-05-04 19:18:33 +02:00
Lex Neva
fc3d05845a
simpler, faster inner-to-outer algo
2022-05-04 19:18:33 +02:00
Lex Neva
eefb3460e3
just go one direction
2022-05-04 19:18:33 +02:00
Lex Neva
899a15b8e1
4x speedup and simpler code
2022-05-04 19:18:33 +02:00
Lex Neva
0625f250c6
add missing polygonize()
2022-05-04 19:18:33 +02:00
Lex Neva
e14fffb879
remove redundant cut() function
2022-05-04 19:18:33 +02:00
Lex Neva
ff0aa68876
properly link holes to outers
2022-05-04 19:18:33 +02:00
Lex Neva
e2ede5e456
get rid of "closest point" strategy
2022-05-04 19:18:33 +02:00
Lex Neva
f019d39658
use running_stitch for single spiral
2022-05-04 19:18:33 +02:00
Lex Neva
f4e1bbc7d7
way better corner handling for running stitch
2022-05-04 19:18:33 +02:00
Lex Neva
ca5178fb99
more efficient angle calculation
2022-05-04 19:18:33 +02:00
Lex Neva
6ca1af0c88
avoid anytree dependency
2022-05-04 19:18:33 +02:00
Lex Neva
cbcaa0ac0e
faster method for single spiral ring interpolation
2022-05-04 19:18:33 +02:00
Lex Neva
920063b324
fix style
2022-05-04 19:18:33 +02:00
Lex Neva
f4c47a8e22
generalize get_segments and process_travel_edges
2022-05-04 19:18:33 +02:00
Andreas
f75c812aba
replacing shapely parallel_offset by buffer
2022-05-04 19:18:33 +02:00
Andreas
6916a33716
bug fixing + introduction of min_stitch_distance parameter
2022-05-04 19:18:33 +02:00
Kaalleen
515ed3ea2f
separate guided fill methods
2022-05-04 19:10:23 +02:00
Andreas
d514eac819
adjusting namings
2022-05-04 19:07:04 +02:00
Andreas
b14e445dae
small bug fix
2022-05-04 19:07:04 +02:00
Kaalleen
3d1600ed03
* autofill to fillstitch
...
* remove too complex warning for fillstitch
* some marker adjustments
2022-05-04 19:06:44 +02:00
Kaalleen
82216b184c
remove some pattern and marker mixups and some style issues
2022-05-04 19:04:44 +02:00
Andreas
95a9331616
added legacy fill again
2022-05-04 19:02:04 +02:00
Andreas
8d19cdc59d
adjusted selection_to_guide_line to match new marker creation way
2022-05-04 19:01:50 +02:00
Andreas
cc051bcdba
removed double points at spirals
2022-05-04 18:59:11 +02:00
Andreas
b5c7f637c1
minor changes
2022-05-04 18:59:11 +02:00
Andreas
d445b38629
bug fixing+first spiral implementation
2022-05-04 18:59:11 +02:00