summaryrefslogtreecommitdiff
path: root/lib/elements/stroke.py
AgeCommit message (Collapse)Author
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-11-30add bean stitch option to manual stitch (#3312)Kaalleen
2024-11-18Manual ripple pattern (#3256)Kaalleen
* ripple stitch: add manual pattern placement option * add flip copies option * rewrite adjust grid * more control for satin guided ripples: render at rungs
2024-11-12Clipped groups (#3261)Kaalleen
2024-07-24method expects string after all (#3108)Kaalleen
2024-07-22multiple int param is expected to return int not str (#3102)Kaalleen
2024-06-22fix typo (#3006)Kaalleen
2024-06-20gray out randomize stitch length param when random stitch length is disabled ↵Kaalleen
(#3002)
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-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-01-28add zigzag option to meander (#2699)Kaalleen
2023-11-10fix invalid clip path (#2577)Kaalleen
use fallback if shape has grating issues (too small)
2023-07-04render satins with only one subpath as running stitch (#2404)Kaalleen
2023-05-16change running stitch length defaultKaalleen
2023-05-14add reverse rails to rippleKaalleen
2023-05-10apply clip to stroke (#2283)Kaalleen
2023-05-06Avoid duplicated points in make_spiral (#2268)Kaalleen
* 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-04-28stagger ripples: rows are lines (#2250)Kaalleen
2023-04-27Ripple stitch: add density and stagger option (#2206)Kaalleen
2023-04-27stroke_method: running stitch fallback (#2241)Kaalleen
2023-04-23add pull compensation param to zigzag stitches (#2228)Kaalleen
2023-04-08add max stitch length setting to manual stitch (#2201)Kaalleen
2023-03-25Stitch selection methods (#2114)Kaalleen
2023-03-09Various fixes (#2125)Kaalleen
* 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-07Add extension stroke to lpe satin (#2115)Kaalleen
2023-03-07Allow locks, trim, stop on manual stitch placement (#2101)Rick Levine
Co-authored-by: Lex Neva
2023-02-27Various lock stitch options (#2006)Kaalleen
Co-authored-by: Lex Neva
2023-01-22Replace running stitch algorithm to give consistent stitch lengths.George Steel
2023-01-15Add bean stitch repeat pattern (#1938)Kaalleen
! backward compatibility warning: Users need to fix their documents if they used comma separated values for multiple fill underlays (without a space)
2023-01-07Merge branch 'main' of https://github.com/inkstitch/inkstitch into ↵George Steel
george-steel/random-base-satin
2023-01-07Cutwork needle info (#1988)Kaalleen
* add cutwork needle info to thread color * apply threadlist: apply cutwork_needle attribute
2022-12-26use random oracle for randomized satin columns and redo split stitchesGeorge Steel
2022-11-22small zigzag warning (#1891)Kaalleen
2022-06-30Fixes (#1703)Kaalleen
* 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-22add running stitch tolerance param (#1701)Lex Neva
2022-06-10Guided ripple stitch (#1675)Kaalleen
Co-authored-by: @lexelby
2022-05-24Add ripple stitch feature (#1667)Kaalleen
2022-05-20Merge pull request #1548 from inkstitch/feature_guided_fillLex Neva
Feature guided fill
2022-05-19avoid simple satin division by zero errorKaalleen
2022-05-18Auto route for running stitch (#1638)Kaalleen
* add auto route for running stitch * introduce free motion commands Co-authored-by: Lex Neva <github.com@lexneva.name>
2022-04-24Fix lettering scale, etc. (#1620)Kaalleen
* fix lettering scale * adapt to updated inkex: transform operator, selections * fix #1597 * no traceback error message on broken satin columns * highlight troubleshoot "steps to solve" through additional headline * set a minimum value for running stitch repeats * rename "import" thread list to "apply" thread list
2021-08-07fix more patch referencesLex Neva
2021-08-07move StitchGroup into lib.stitch_planLex Neva
2021-08-07Merge remote-tracking branch 'origin/main' into kaalleen/satin-patternsLex Neva
2021-08-07rename Patch to StitchGroupLex Neva
2021-07-29Fix typos (#1291)luzpaz
2021-05-01rename satin stitch to running stitch in stroke params (#1180)Kaalleen
2021-03-11add copyright headersLex Neva
2021-03-04Update for Inkscape 1.0 (#880)Kaalleen
* 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>
2020-05-27cleanup extension (#713)Kaalleen
Co-authored-by: Lex Neva <github.com@lexneva.name>