summaryrefslogtreecommitdiff
path: root/lib/elements
AgeCommit message (Collapse)Author
2025-10-24legacy fill: enable expand option (#3988)Kaalleen
2025-10-22satin: do no error on one point zigzag underlay segment (#3996)Kaalleen
2025-10-22Gradient color: fix cache key error (#4007)Kaalleen
* use first stop color for non linear gradient fill objects * fix bug in get_cache_key for gradient objects
2025-10-10satin: multiple levels for short stitches (#3987)Kaalleen
2025-10-10satin: rely more on path length for invalid satins (#3963)Kaalleen
2025-10-05stroke: filter invalid paths in clipped path (#3989)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-27color fixes (#3936)Kaalleen
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-05-21prevent erroring out on #3742 (#3743)Kaalleen
2025-05-20fix ripple anchor cache (#3737)Kaalleen
2025-05-20Manual stitch: apply clipping (#3734)Kaalleen
* manual stitch: apply clipping * add clip to cache
2025-04-18Fix an issue when auto_satin produces NoneType satins (#3680)Kaalleen
2025-04-18Disconnect stroke and fill pull compensation param (#3670)Kaalleen
* make stroke pull compensation a sided property
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-15Add transform extension which also transforms the fill angles (#3657)Kaalleen
2025-04-06generate split line at specified end point rather than next point (#3634)Kaalleen
2025-03-25Read sew stack debug information once and re-use (#3604)Kaalleen
2025-03-22parent.remove -> delete (#3600)Kaalleen
2025-03-20undo c2aeb39Kaalleen
2025-03-15Element info: take pattern into account (#3581)Kaalleen
* element info: take pattern into account * ensure multi-polygon for fill nonzero shapes
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