summaryrefslogtreecommitdiff
path: root/lib/elements/satin_column.py
AgeCommit message (Collapse)Author
4 dayssatin: fix synthesize rungs (#4042)Kaalleen
11 daysRunning stitch length sequence (#4034)Kaalleen
* allow running stitch length sequences * contour fill: fix error message for long stitch length * satin: fix center underlay stitch length
2025-10-22satin: do no error on one point zigzag underlay segment (#3996)Kaalleen
2025-10-10satin: multiple levels for short stitches (#3987)Kaalleen
2025-10-10satin: rely more on path length for invalid satins (#3963)Kaalleen
2025-08-31stroke to satin: ensure a good starting point for closed paths (#3944)Kaalleen
starting point for the conversion, not necessarily the resulting column
2025-08-24fix crash with tiny satin (#3934)Lex Neva
* avoid crash on tiny satin * cleanup small satins too * fix #3933 --------- Co-authored-by: Kaalleen <reni@allenka.de>
2025-08-22a few fixes for converting stroke to satin internally (#3926)Lex Neva
* remove unused flatten_subpath() * there will always be two rails here * handle degenerate zero-length sections * remove unused SatinColumn.merge() * mark merge() as private and adjust docstring
2025-08-19satin: skip contour underlay if there are no pairs (#3912)Kaalleen
2025-08-19rungs at nodes for on-the-fly-satins (#3903)Kaalleen
2025-07-20Satin: first_stitch method fails on invalid path (#3882)Kaalleen
* satin: do not fail on invalid path in first stitch method * fix validation errors too
2025-07-19Convert to satin internally (3874)Kaalleen
2025-07-12satin: fix empty rail issue (#3863)Kaalleen
2025-07-11Fix issue with bad color names (#3816)Kaalleen
* fix issue with bad color names and define element colors at one place and reuse * fix bad tartan color * verify color in gradient block * add thread color tests * use default color behavior for elements linked to non-existing definitions (gradients) * Added mypy change for tests (authored by: CapellanCitizen)
2025-04-18Fix an issue when auto_satin produces NoneType satins (#3680)Kaalleen
2025-04-18Multicolor satin (windows): apply settings in spinctrldouble when they hit ↵Kaalleen
enter (#3677) * multicolor satin (windows): apply settings in spinctrldouble when they hit enter * enable nearest points for multicolor satin --------- Co-authored-by: CapellanCitizen
2025-04-06generate split line at specified end point rather than next point (#3634)Kaalleen
2025-03-10Rewrite force lock stitch extension (#3559)Kaalleen
* rewrite force lock stitch extension * do not add forced lock stitch before color change
2025-01-25satin: ignore ending_point when it is already at the end (#3460)Kaalleen
2025-01-22satin ending_point: fix error when split point at start/end (#3452)Kaalleen
2025-01-11satin: set start/end at nearest point as default (#3423)Kaalleen
2025-01-04precision test (FloatingPointError) (#3404)Kaalleen
2024-12-27various fixes (#3372)Kaalleen
2024-12-26End points (#3370)Kaalleen
* end at nearest point to next element (if requested and possible)
2024-12-15add rungs when rails are intersecting (#3344)Kaalleen
2024-12-14Split satins at stitch level (#3336)Kaalleen
2024-12-07Enable start end commands for satins (#3315)Kaalleen
Updates commands fill_start (_end) => starting_point (_end) stain_start (_end) and run_start (_end) => autoroute_start ripple_target => target_point Sets inkstitch svg version to 3
2024-10-21satin column: ignore single point paths (#3244)Kaalleen
2024-08-17satin troubleshoot: do not fail on satins without rails (#3148)Kaalleen
2024-07-20shapely arm fix (#3094)rejbasket
2024-06-23Various fixes (#3011)Kaalleen
* change satin underlay stitch length default for real * fix zero length lock stitch * fix typos
2024-06-20auto-fill pull compensation (#2891)Lex Neva
2024-06-09add warning for closed path satins (#2976)Kaalleen
2024-05-22add links to documention in inx extensions (#2937)Kaalleen
2024-05-22set default underlay stitch length to 3 (#2925)Kaalleen
2024-05-20add a tooltip to split method param (#2926)Claudine Peyrat
2024-05-17filter invalid satin second trial (#2918)Kaalleen
2024-05-17filter invalid paths in satins (#2916)Kaalleen
2024-05-16fix gap after auto-route satin (#2907)Kaalleen
2024-05-12fix center walk underlay repeats (#2895)Kaalleen
2024-05-11Update inkex (#2892)Kaalleen
* fix currentColor * fix pip inkex import * fix color block extension
2024-05-05Add randomized running and fill stitches (#2830)George Steel
Add a mode to running stitch that uses randomized phase and stitch length instead of even spacing. This greatly reduces moire effects when stitching closely-spaced curves in running-stitch-based fills. Add option for randomized running stitch to: ripple stitch circular fill contour fill guided fill auto-fill When is randomization is not selected, ripple stitch will use even running stitch when staggers are set to 0 (default) and the stagger algorithm from guided fill (which does not look nice with a stagger period of 0) when staggers is nonzero. Also includes fix for satin contour underlays (missing tolerance default) mentioned in #2814. This sets the default tolerance to 0.2mm, which is the largest tolerance guaranteed to be backwards-compatible with existing designs using the default inset of 0.4mm. Original commits: * fix satin underlay tolerance default * Add randomized running stitch, make available in ripple stitch, circular, and contour * add randomized guided fill * make ripple stitch use even stitching when not staggering or randomizing. * add random auto-fill and switch jitter parameter to a percentage (matches satin) * fix comments
2024-04-01add stitch tolerance to satin underlays (#2814)Kaalleen
2024-03-26Add object based min stitch length (#2792)Kaalleen
* add object based min stitch length (overwrites global) * add object based minimum jump stitch (overwrites global) * rename patches to stitch_groups
2024-03-23use offset curve for convert satin extension (#2775)Kaalleen
filter invalid rungs when merging satin sections
2024-03-23add no rung warning (#2791)Kaalleen
2024-02-23Satin warnings (#2735)Kaalleen
2024-02-21Detect satins with two rungs (#2734)Kaalleen
1. select elements 2. troubleshoot
2023-12-28troubleshoot: pointer on rail (#2657)Kaalleen
2023-12-17replace jumps by running stitches in large satin columns (#2624)Claudine Peyrat
* replace jumps by running stitches - this modify the contour underlay by adding a running stitch to travel from first side to second side - it also add running stitches between underlays and between underlay and final satin stitches * rename patch to stitch_group * Update satin_column.py add a function to avoid repetitive code