summaryrefslogtreecommitdiff
path: root/lib/elements
AgeCommit message (Collapse)Author
2025-03-10Rewrite force lock stitch extension (#3559)Kaalleen
* rewrite force lock stitch extension * do not add forced lock stitch before color change
2025-03-09Mypy type correctness (#3199)capellancitizen
2025-03-08use buffer(0) when fill rule is nonzero (#3561)Kaalleen
2025-03-02Use symbol as command position (#3542)Kaalleen
2025-02-09stroke: as_multi_line_string ignore single point paths (#3491)Kaalleen
2025-02-03Add debug variable to enable sew stack elements (#3476)Kaalleen
2025-01-29Sew Stack first steps (#3133)Lex Neva
* handle more recursive cases * scaffolding for stitch layers * scaffolding for SewStack * always use DotDict when parsing json params * add DefaultDotDict + DotDict fixes * first working SewStack (no UI yet) * ignore inkstitch_debug.log and .svg * refactor * early WIP: property grid display temporarily in stitch plan preview * start of sew stack editor extension * add layer properties panel and splitter * spacing and better icon * handle checkbox * add layer action buttons * show selected property help text in an HtmlWindow * rename * rephrase help text for tolerance * refactor into separate file * simplify structure * better property type handling * add randomization button * add random seed re-roll button * simulator preview * update preview in a few more cases * always DotDict * avoid ridiculously slow simulations * preview selected layer or all layers * edit multiple objects and save only modified properties into the SVG * better preview handling * add reverse and jitter * add stitch path jitter * fix types * fix random shuffle button * fixes * fix repeats * type hinting to please pycharm * show layer description * avoid exception in properties with multiple values * fix typing * fix new layer * draw a box around property grid and help box * confirm before closing * rename properties and fix seed * fix close/cancel logic * add buttons to undo changes and reset to default value * set not modified if default is original setting * fix invisible icon * more space for properties * fix random properties * better regulation of simulator rendering speed * Fixed timer being passed a float * fix get_json_param() default handling * fix tests * add checkbox for sew stack only * fix property help * adjustable stitch layer editor help box size, with persistence * repeat exact stitches * "fix" style * adjust for new next_element stuff --------- Co-authored-by: CapellanCitizen <thecapellancitizen@gmail.com>
2025-01-27enable the expand option for contour fill (#3462)Kaalleen
2025-01-26Improve satin guided ripple stitch and add stitch grid first option (#3436)Kaalleen
* ripple stitch: add stitch grid first option * introduce an anchor line to fine tune satin guided ripples
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-16improve symbol handling (#3440)Kaalleen
2025-01-11satin: set start/end at nearest point as default (#3423)Kaalleen
2025-01-09exclude invisible from node_to_elements directly (#3424)Kaalleen
2025-01-04precision test (FloatingPointError) (#3404)Kaalleen
2025-01-01fill: first stitch correction (#3391)Kaalleen
2024-12-30Multi shape tartan jumps (#3386)Kaalleen
* lettering_ description box size * reduce jump stitches for combined tartan patterns
2024-12-27forgot to remove this (#3375)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-11-30add bean stitch option to manual stitch (#3312)Kaalleen
2024-11-30add randomization options to linear gradient fill (#3311)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-18Add icons and descriptions for extension gallery (#3287)Kaalleen
2024-11-12clone: do not fixup href (#3277)Kaalleen
2024-11-12Clipped groups (#3261)Kaalleen
2024-11-01Fix 'None'-string confusions in style (#3243)Kaalleen
2024-10-21satin column: ignore single point paths (#3244)Kaalleen
2024-09-30fix gradient style (#3200)Kaalleen
2024-09-17Fix clones with NoneType hrefs (#3196)Kaalleen
2024-08-28Fixed hidden objects being stitched out when cloned (Fix #3167) (#3171)capellancitizen
Extracted Base.descendants into a util function
2024-08-20Fixed transforms on cloned commands (#3160)capellancitizen
Also, point-upwards now applied to commands that are children of cloned elements.
2024-08-17satin troubleshoot: do not fail on satins without rails (#3148)Kaalleen
2024-08-14Clones now also clone commands attached to element and its children. (#3032, ↵capellancitizen
#3121) (#3086)
2024-07-24method expects string after all (#3108)Kaalleen
2024-07-22multiple int param is expected to return int not str (#3102)Kaalleen
2024-07-20shapely arm fix (#3094)rejbasket
2024-06-30Various fixes (#3028)Kaalleen
* several thread palette extension fixes * fix svg tartan when original shape is invalid * tartan stroke spaces * style * fix tartan color substituion at pattern start * ripple: do not render too small paths * use less space for params warning headline * fix clone shape path * zip export template fix (typo) * add realistic stitch plan output warning (help tab)
2024-06-23Various fixes (#3011)Kaalleen
* change satin underlay stitch length default for real * fix zero length lock stitch * fix typos
2024-06-22fix typo (#3006)Kaalleen
2024-06-20auto-fill pull compensation (#2891)Lex Neva
2024-06-20gray out randomize stitch length param when random stitch length is disabled ↵Kaalleen
(#3002)
2024-06-09add warning for closed path satins (#2976)Kaalleen
2024-06-07auto fill gap fix (#2884)Lex Neva
* first try * fill gaps * fix style * add parameter * loops can only be made of non-segments
2024-06-04Update tartan gui (#2965)Kaalleen
* update tartan gui * params settings size * fix issue with set_precision * fix issue with linear gradient * do not add ignore layer command to png rerealistic output
2024-06-03Avoid FloatingPointError (fill) (#2959)Kaalleen
2024-05-24fix boolean param (#2942)Kaalleen