Wykres commitów

217 Commity (main)

Autor SHA1 Wiadomość Data
Lex Neva 74157dd1cb
meander: pick ending point far from starting point (#2095) 2023-03-07 18:13:57 +01:00
Kaalleen ec076315bb
Various lock stitch options (#2006)
Co-authored-by: Lex Neva
2023-02-27 16:05:52 +01:00
Kaalleen ed4aa55a73
Circular fill (#2053) 2023-02-27 16:01:37 +01:00
Lex Neva d278f6a54a add tiles json and internationalization 2023-02-20 15:27:56 -05:00
Lex Neva ae43fb9683 avoid NetworkXNoPath error by connecting graph 2023-02-20 15:27:56 -05:00
Lex Neva 9ccf8b9b77 better smoothing algorithm 2023-02-20 15:27:56 -05:00
Lex Neva 9ea61ef3f3 remove buffer concept 2023-02-20 15:27:55 -05:00
Lex Neva 8dde33d867 make meander interruptible 2023-02-20 15:27:55 -05:00
Lex Neva 5a95e1d004 add lambda unwrapping to debug 2023-02-20 15:27:55 -05:00
Lex Neva 4935d59f5d wip 2023-02-20 15:27:55 -05:00
Lex Neva 847e133f97 meander fill: more work 2023-02-20 15:27:55 -05:00
Lex Neva e2965e78f0 use snake case
per python coding standard
2023-02-20 15:27:55 -05:00
Lex Neva ba835b4f5e meander fill: initial version 2023-02-20 15:27:55 -05:00
Lex Neva 8cead6e3d9 add smoothness option for contour fill 2023-02-20 15:27:35 -05:00
Lex Neva f6c2aa8919 add more check_stop_flag() calls 2023-02-16 22:56:16 -05:00
Lex Neva b461253958 make simulator threads pre-emptible 2023-02-16 22:54:21 -05:00
Kaalleen 5408f4a158
avoid topological error for contour fill (#1966) 2023-02-08 07:59:00 +01: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 45496fcd93 add minimum length check to path_to_curves and add comments 2023-01-28 20:20:12 -05: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 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
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
Kaalleen b525188788 fix ripples plot_points_on_rails 2022-11-27 14:56:03 +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 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 08581d7eae Make pull-compensation and insets per-side 2022-11-17 01:51:33 -05:00
Kaalleen 7445b91851
lettering: ignore invalid glyph layers (#1892) 2022-11-10 14:03:32 +01:00
George Steel 1cc0eab911 Add support for fractional-length stagger cycles in fills. 2022-10-23 00:54:35 -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 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
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 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
Lex Neva 8ab4abf190
Merge pull request #1548 from inkstitch/feature_guided_fill
Feature guided fill
2022-05-20 12:06:31 -04: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 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 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
Kaalleen 82216b184c remove some pattern and marker mixups and some style issues 2022-05-04 19:04:44 +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
Andreas 8966fa1919 minor changes 2022-05-04 18:59:11 +02:00
Andreas e15bce1401 minor changes 2022-05-04 18:59:11 +02:00
Andreas 3caaae6938 bug fixing 2022-05-04 18:59:08 +02:00
Andreas 1a1939b5da Bug fixing + refactoring 2022-05-04 18:57:20 +02:00
Andreas 125db3f83b Applied style guide 2022-05-04 18:57:12 +02:00
Andreas 0fcf8bb97c added tangential and guided fill 2022-05-04 18:55:40 +02:00
Kaalleen 3514f878ee
multipart geometry in intersect region (#1475) 2022-01-23 08:36:07 +01:00
Lex Neva dd86500835 keep underlay, underpath, and border travel 2021-08-15 17:26:14 -04:00
Lex Neva b411305c67 use tags to decide which stitches to keep 2021-08-07 18:38:57 -04:00
Lex Neva b1af926ea6 add tags to fill stitches 2021-08-07 12:34:07 -04:00
Kaalleen 2f35a4a192
Fix Style Issues (#1154)
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-07-25 07:24:34 +02:00
Kaalleen 767ead9081
Delete Command Group on Auto-Route and Cut Satin (#1125) 2021-04-05 11:45:57 +02:00
Lex Neva 3b3f890c12 add copyright headers 2021-03-11 23:17:19 -05:00
Kaalleen e84a86d4ac
Update for Inkscape 1.0 (#880)
* update for inkscape 1.0
* add about extension
* Build improvements for the inkscape1.0 branch (#985)
* zip: export real svg not stitch plan
* #411 and #726
* Tools for Font Creators (#1018)
* ignore very small holes in fills
* remove embroider (#1026)
* auto_fill: ignore shrink_or_grow if result is empty (#589)
* break apart: do not ignore small fills

Co-authored-by: Hagen Fritsch <rumpeltux-github@irgendwo.org>
Co-authored-by: Lex Neva <github.com@lexneva.name>
2021-03-04 18:40:53 +01:00