summaryrefslogtreecommitdiff
path: root/lib/elements/utils.py
AgeCommit message (Collapse)Author
2025-03-25Read sew stack debug information once and re-use (#3604)Kaalleen
2025-03-09Mypy type correctness (#3199)capellancitizen
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-09exclude invisible from node_to_elements directly (#3424)Kaalleen
2024-08-28Fixed hidden objects being stitched out when cloned (Fix #3167) (#3171)capellancitizen
Extracted Base.descendants into a util function
2024-05-07Sample correct font variant (#2883)Kaalleen
2024-05-07remove special treatment for polylines (#2866)Kaalleen
2023-07-04render satins with only one subpath as running stitch (#2404)Kaalleen
2022-11-27This and that (#1727)Kaalleen
* 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-05-04undo build changes for depq, update cloneKaalleen
2022-05-04* autofill to fillstitchKaalleen
* remove too complex warning for fillstitch * some marker adjustments
2022-05-04remove some pattern and marker mixups and some style issuesKaalleen
2022-05-04Applied style guideAndreas
2022-05-04added tangential and guided fillAndreas
2021-06-30structuringKaalleen
2021-06-28pattern markersKaalleen
2021-06-27group command extensionKaalleen
2021-06-27group patternsKaalleen
2021-06-24add start markers, add troubleshoot pattern warning and fix wxpython ↵Kaalleen
language issue
2021-03-11add copyright headersLex Neva
2020-05-27ignore empty dKaalleen
2020-05-18render single point elements (#701)Kaalleen
2020-05-16support svg objects (#643)Kaalleen
2019-06-22don't treat objects without stroke as SatinColumn (fixes #460)Lex Neva
2018-11-14basic lettering (#344)Lex Neva
Can handle multiple lines of text and routes the stitching in alternating directions on each line.