Wykres commitów

402 Commity (547237d50a201e7768ea3701f51c3d7036eb7f13)

Autor SHA1 Wiadomość Data
Kaalleen d6f8fc00c9
return valid shape (#2594) 2023-11-10 17:06:32 +01:00
Kaalleen 7edebd60f9
fix invalid clip path (#2577)
use fallback if shape has grating issues (too small)
2023-11-10 16:41:36 +01:00
Claudine Peyrat 905bab632e
Update satin_column.py (#2578)
* Update satin_column.py

* Update satin_column.py
2023-10-28 19:56:47 +02:00
Claudine Peyrat a2adb03b6a
correct tooltip (#2573)
tooltip for random zig-zag spacing was  hinting it was applied to stitch length.
2023-10-23 20:23:16 +02:00
Lex Neva 5e208661d2
Merge pull request #2431 from inkstitch/lexelby/split-satin-stagger
stagger split satin rows
2023-09-11 16:57:23 -04:00
Lex Neva af96d720e9
improve params errors (#2437) 2023-09-07 19:25:47 +02:00
Kaalleen c90064d0d3 zigzag: ensure pairs 2023-09-07 18:55:57 +02:00
Lex Neva acd565c640 obey reversed rails when synthesizing rungs 2023-08-05 11:31:12 -04:00
Lex Neva 2358c6fa28 avoid split if satin doesn't need it 2023-07-23 10:53:55 -04:00
Lex Neva 6f541a79f3 fix zig-zag short stitches 2023-07-21 22:55:18 -04:00
Lex Neva 1e4a63f5e6 fix non-split case 2023-07-21 22:41:49 -04:00
Lex Neva bd19cb9390 add zig-zag satin method 2023-07-21 22:37:06 -04:00
Lex Neva 6f8983c7e3 fix from_end 2023-07-21 22:36:55 -04:00
Lex Neva b349f46a57 handle normal satin with stagger properly 2023-07-20 22:12:59 -04:00
Lex Neva 2957615bf2 add staggered and simple split satin 2023-07-20 21:54:52 -04:00
Lex Neva 7389980fae add S stitch 2023-07-18 22:54:39 -04:00
Lex Neva de863d72ef more transform fixes 2023-07-15 11:25:48 -04:00
Kaalleen b01870890b avoid duplicated nodes
transform issue
2023-07-09 10:05:24 +02:00
Lex Neva 661ae39546 produce only one satin from convert to satin 2023-07-08 20:48:14 -04:00
Kaalleen c18bc11383
render satins with only one subpath as running stitch (#2404) 2023-07-04 06:26:23 +02:00
Lex Neva 6c5920f48e default more likely to avoid stitching outside shape 2023-07-01 08:23:46 +02:00
Lex Neva d836245e1f
avoid divide by zero (#2382) 2023-06-27 07:45:08 +02:00
Kaalleen 52ba1afb75
filter satins for auto route satin (#2389) 2023-06-27 07:44:34 +02:00
Benson Muite 860f4fb94d Correct spelling error
replace "an an unequal" with "an unequal"
2023-06-09 14:52:17 +03:00
Kaalleen cc7dfcf3e4 fix error in make translatable commit 2023-05-21 18:31:54 +02:00
Kaalleen 8004ce623e make each side units translatable 2023-05-21 17:53:04 +02:00
Kaalleen b6cf065f09 fix starting point for multiple underlays 2023-05-17 23:17:58 +02:00
Kaalleen 66068208e8 change running stitch length default 2023-05-16 16:27:52 +02:00
Kaalleen d655aa1e1f troubleshoot: read numbers with exponent 2023-05-15 19:19:44 +02:00
Kaalleen e8a6516471 add reverse rails to ripple 2023-05-14 20:56:17 +02:00
Kaalleen 111fd8f0ef * move all gradient methods to extension
* add underlay to single color elements to compensate density
2023-05-13 21:11:27 +02:00
Kaalleen c799b798bc
apply clip to stroke (#2283) 2023-05-10 09:02:47 +02:00
Kaalleen b3141a24b6
Gradient blocks (#2275)
* remove underlay
* set start and end commands for consecutive blocks with the same color
* keep previous params
* add option for manual input of end_row_spacing
2023-05-08 17:21:51 +02:00
Kaalleen 2e62ba7926
Avoid duplicated points in make_spiral (#2268)
* avoid duplicated points in make_spiral
* circular fill: add end_row_spacing, repeats and bean repeats
* fix circular fill if original shape is a circle
2023-05-06 18:31:54 +02:00
Kaalleen 8a32d0787d
expose end_row_spacing and (re)order fill params (#2265) 2023-05-03 17:18:01 +02:00
Kaalleen 2542f124eb
remove random seed param from unaffected stitch types (#2251) 2023-05-01 12:03:06 +02:00
Kaalleen fd4ab28add
multiple_int_param: ignore multiple spaces (#2255) 2023-04-30 11:26:39 +02:00
Kaalleen 81e0fa1c72
stagger ripples: rows are lines (#2250) 2023-04-28 21:09:03 +02:00
Kaalleen d458ea563b
Ripple stitch: add density and stagger option (#2206) 2023-04-27 20:00:59 +02:00
Lex Neva 675898a602
(auto) reverse rung (#2223) 2023-04-27 19:53:34 +02:00
Kaalleen 99aa6cc009
Ensure synthesized rungs intersect (#2239) 2023-04-27 19:49:54 +02:00
Kaalleen c00084e3a2
fill: ensure size (#2240) 2023-04-27 19:49:12 +02:00
Kaalleen 0d19853b18
stroke_method: running stitch fallback (#2241) 2023-04-27 19:48:40 +02:00
Kaalleen e5ccb10eef
Add bean stitch and repeat options to meander fill (#2232) 2023-04-24 22:52:31 +02:00
Kaalleen 2312e43f46
add pull compensation param to zigzag stitches (#2228) 2023-04-23 07:03:23 +02:00
Kaalleen 16f52ca5da
lettering: preserve scale (#2230) 2023-04-23 07:02:54 +02:00
Kaalleen 5a491c9305
Enable max stitch length for e-stitch (#2222) 2023-04-20 19:25:10 +02:00
Kaalleen f13864b3bc
Fix custom lock (#2224)
Authored by: Lex Neva
2023-04-20 18:56:57 +02:00
Kaalleen 6504c72fb7
Add inkstitch svg version tag (#2199)
... to make it easier to update legacy default values
2023-04-15 08:48:27 +02:00
Lex Neva 20829e6133
new way betterer satin algo (#2178)
* significantly faster length calculation
* way betterer satin algo
2023-04-14 18:51:40 +02:00
Lex Neva c59af0e8f4
Merge pull request #2190 from inkstitch/lexelby/meander-fixes
meander fixes
2023-04-13 20:27:20 -04:00
Kaalleen c7819c4971
add max stitch length setting to manual stitch (#2201) 2023-04-08 19:15:43 +02:00
Lex Neva 63effb841f add meander angle 2023-04-03 22:59:02 -04:00
Lex Neva c01fb85c3d add clip option 2023-04-02 14:16:16 -04:00
Kaalleen b289c4a633
zigzag: do not care about dashes (#2188) 2023-04-01 15:28:04 +02:00
Kaalleen 221ff2a645
Stitch selection methods (#2114) 2023-03-25 19:45:36 +01:00
Kaalleen dfb43d2812
Ignore invalid rungs (#2135) 2023-03-23 16:40:29 +01:00
Lex Neva 1b0245c52c add reverse one rail param 2023-03-10 22:15:40 -05:00
Kaalleen fd6e43cf00
Various fixes (#2125)
* add unit info to scale value in ripple stitch

* fix apply threadlist with empty description

* fix satin type ripple with unequal nodes

* fix legacy auto_fill conversion

* inform about too small meander shapes
2023-03-09 18:57:55 +01:00
Kaalleen 28eb374bd0
Add extension stroke to lpe satin (#2115) 2023-03-07 18:27:28 +01:00
Lex Neva 74157dd1cb
meander: pick ending point far from starting point (#2095) 2023-03-07 18:13:57 +01:00
Kaalleen 9552291de5
change method to update legacy fill_method (#2111) 2023-03-07 17:52:09 +01:00
Rick Levine ca6fc84d4b
Allow locks, trim, stop on manual stitch placement (#2101)
Co-authored-by: Lex Neva
2023-03-07 17:02:26 +01:00
Kaalleen a90a4e9897
row spacing for circular fill (#2099) 2023-02-27 19:36:39 +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
Kaalleen ed0ab5a44d
Clone Cache (#2086)
Co-authored-by: Lex Neva
2023-02-25 09:31:40 +01:00
Lex Neva 92dff9f359 remove unused import 2023-02-20 15:30:18 -05:00
Lex Neva 315866de9a use new combo param type 2023-02-20 15:27:56 -05:00
Lex Neva be699bf892 fix params for meander 2023-02-20 15:27:56 -05:00
Lex Neva 3da70348b0 change wording of smoothness tooltip 2023-02-20 15:27:56 -05:00
Lex Neva 3b1a161532 sort tiles by name 2023-02-20 15:27:56 -05:00
Lex Neva f2344375df clarify running stitch params for meander 2023-02-20 15:27:55 -05:00
Lex Neva 49d39d6169 expose Expand setting in meander 2023-02-20 15:27:55 -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 86f8062382 expose running stitch length in meander 2023-02-20 15:27:55 -05:00
Lex Neva 6612d10689 avoid super-dense meander graph 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 aa65a2bf3f include guides in cache key 2023-02-18 22:34:47 -05:00
Lex Neva 2865f4161e consistent cache key for Stitch objects 2023-02-18 22:34:47 -05:00
Lex Neva a0834e2e7c use patterns in cache key 2023-02-18 22:34:36 -05:00
Lex Neva 89441d3d59 use commands in cache key 2023-02-18 22:34:36 -05:00
Lex Neva 20e419d795 cache key includes previous stitch 2023-02-18 22:34:36 -05:00
Lex Neva d51feec98d cache key generation using params, path, color, and style 2023-02-18 22:34:16 -05:00
Lex Neva 44af368c79 remove unused and broken has_style() method 2023-02-18 22:34:16 -05:00
Lex Neva 0e225277db move get_stitch_plan_cache() to utils.cache 2023-02-18 22:34:16 -05:00
Lex Neva 47eb81cb0e first draft of stitch plan caching 2023-02-18 22:34:16 -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
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
Kaalleen f2f1fea0cb
remove subpaths with only one node from satins (#2033) 2023-01-28 22:33:58 +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 c56180fb99 fix reversed contour underlay 2023-01-22 14:50:26 -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 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
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 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 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 178dfffbeb expose stop_after 2022-12-10 19:11:43 -05:00
George Steel 3c37a016bf expose the trim_after param in the interface 2022-12-03 17:38:57 -05:00
Claudine c4c22cac4f use split parameters 2022-11-27 18:14:41 +01:00
Kaalleen b8161a97c3 satin offset_points 2022-11-27 10:17:43 +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
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 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
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 0fe1d3b426
Fill: make valid (#1697) 2022-06-21 19:59:26 +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 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