diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2025-01-29 12:04:07 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-29 12:04:07 -0500 |
| commit | 913c2700d1486284dba0583ae1b280b1aa237570 (patch) | |
| tree | c165b29d0794981b5e44ab46f9838baab16b06a4 /icons | |
| parent | efe3b27f17686094f74462bd81763a8197b54c6e (diff) | |
Sew Stack first steps (#3133)
* 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>
Diffstat (limited to 'icons')
| -rw-r--r-- | icons/invisible.png | bin | 0 -> 6975 bytes | |||
| -rw-r--r-- | icons/invisible.svg | 74 | ||||
| -rw-r--r-- | icons/layer.png | bin | 0 -> 2075 bytes | |||
| -rw-r--r-- | icons/layer.svg | 70 | ||||
| -rw-r--r-- | icons/layers.png | bin | 0 -> 3858 bytes | |||
| -rw-r--r-- | icons/layers.svg | 83 | ||||
| -rw-r--r-- | icons/visible.png | bin | 0 -> 6084 bytes | |||
| -rw-r--r-- | icons/visible.svg | 66 |
8 files changed, 293 insertions, 0 deletions
diff --git a/icons/invisible.png b/icons/invisible.png Binary files differnew file mode 100644 index 00000000..0aa1b95b --- /dev/null +++ b/icons/invisible.png diff --git a/icons/invisible.svg b/icons/invisible.svg new file mode 100644 index 00000000..86842be5 --- /dev/null +++ b/icons/invisible.svg @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="256" + height="256" + viewBox="0 0 256 256" + id="svg8375" + version="1.1" + inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)" + sodipodi:docname="invisible.svg" + inkscape:export-filename="invisible.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:inkstitch="http://inkstitch.org/namespace"> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.0952828" + inkscape:cx="45.578573" + inkscape:cy="97.122928" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + units="mm" + inkscape:window-width="1366" + inkscape:window-height="705" + inkscape:window-x="-4" + inkscape:window-y="-4" + inkscape:window-maximized="1" + inkscape:showpageshadow="2" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" /> + <defs + id="defs8377" /> + <metadata + id="metadata8380"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + <inkstitch:min_stitch_len_mm>0.1</inkstitch:min_stitch_len_mm> + <inkstitch:collapse_len_mm>5.0</inkstitch:collapse_len_mm> + <inkstitch:inkstitch_svg_version>2</inkstitch:inkstitch_svg_version> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + id="path2-6_5933" + style="vector-effect:none;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5483" + d="M 129.32422 55.861328 C 110.32282 55.757387 91.281627 60.1355 74.181641 68.480469 C 46.079495 81.850453 22.919484 103.71975 3.8554688 128 C 15.21954 142.49825 28.16565 156.21308 42.720703 167.73242 L 82.140625 122.39453 C 82.658785 117.91155 83.814437 113.49799 85.742188 109.3457 C 91.111437 96.514585 102.78834 87.112914 116.00391 83.449219 L 139.54492 56.375 C 136.14668 56.064195 132.73662 55.879995 129.32422 55.861328 z M 213.43555 88.087891 L 173.82422 133.64453 C 172.48714 144.14972 167.59687 154.16973 159.85352 161.44727 C 154.33406 166.90989 147.40088 170.62016 139.99023 172.55859 L 116.50977 199.5625 C 139.32834 201.7575 162.76183 197.32341 183.29688 187.06055 C 210.85815 173.69799 233.55503 152.03542 252.14453 128 C 240.89596 113.40073 227.9836 99.632292 213.43555 88.087891 z " /> + <path + style="display:inline;fill:none;fill-opacity:1;stroke:#000000;stroke-width:29.27;stroke-linejoin:round;stroke-dasharray:none;stroke-opacity:1" + d="M 201.62932,43.318967 54.370675,212.68103" + id="path2" /> + </g> +</svg> diff --git a/icons/layer.png b/icons/layer.png Binary files differnew file mode 100644 index 00000000..4e0584ad --- /dev/null +++ b/icons/layer.png diff --git a/icons/layer.svg b/icons/layer.svg new file mode 100644 index 00000000..b39ca4c5 --- /dev/null +++ b/icons/layer.svg @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="256" + height="256" + viewBox="0 0 256 256" + id="svg8375" + version="1.1" + inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)" + sodipodi:docname="layer.svg" + inkscape:export-filename="layer.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <defs + id="defs8377" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.979899" + inkscape:cx="94.954339" + inkscape:cy="190.16122" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + units="mm" + inkscape:window-width="1366" + inkscape:window-height="705" + inkscape:window-x="-4" + inkscape:window-y="-4" + inkscape:window-maximized="1" + inkscape:showpageshadow="2" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" /> + <metadata + id="metadata8380"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <rect + style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.835535;stroke-linejoin:round" + id="rect1-3" + width="186.48474" + height="69.477829" + x="124.60868" + y="121.6491" + transform="matrix(1,0,-0.57453916,0.8184771,0,0)" /> + </g> +</svg> diff --git a/icons/layers.png b/icons/layers.png Binary files differnew file mode 100644 index 00000000..308c9528 --- /dev/null +++ b/icons/layers.png diff --git a/icons/layers.svg b/icons/layers.svg new file mode 100644 index 00000000..fed3b26d --- /dev/null +++ b/icons/layers.svg @@ -0,0 +1,83 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="256" + height="256" + viewBox="0 0 256 256" + id="svg8375" + version="1.1" + inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)" + sodipodi:docname="layers.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <defs + id="defs8377" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1.979899" + inkscape:cx="94.954339" + inkscape:cy="190.16122" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + units="mm" + inkscape:window-width="1366" + inkscape:window-height="705" + inkscape:window-x="-4" + inkscape:window-y="-4" + inkscape:window-maximized="1" + inkscape:showpageshadow="2" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" /> + <metadata + id="metadata8380"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <rect + style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.835535;stroke-linejoin:round" + id="rect1" + width="186.48474" + height="69.477829" + x="69.85569" + y="26.350163" + transform="matrix(1,0,-0.57453916,0.8184771,0,0)" /> + <rect + style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.835535;stroke-linejoin:round" + id="rect1-3" + width="186.48474" + height="69.477829" + x="124.60868" + y="121.6491" + transform="matrix(1,0,-0.57453916,0.8184771,0,0)" /> + <rect + style="fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.835535;stroke-linejoin:round" + id="rect1-3-7" + width="186.48474" + height="69.477829" + x="179.36162" + y="216.94801" + transform="matrix(1,0,-0.57453916,0.8184771,0,0)" /> + </g> +</svg> diff --git a/icons/visible.png b/icons/visible.png Binary files differnew file mode 100644 index 00000000..11e41657 --- /dev/null +++ b/icons/visible.png diff --git a/icons/visible.svg b/icons/visible.svg new file mode 100644 index 00000000..bd76152c --- /dev/null +++ b/icons/visible.svg @@ -0,0 +1,66 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + width="256" + height="256" + viewBox="0 0 256 256" + id="svg8375" + version="1.1" + inkscape:version="1.3 (1:1.3+202307231459+0e150ed6c4)" + sodipodi:docname="visible.svg" + inkscape:export-filename="visible.png" + inkscape:export-xdpi="96" + inkscape:export-ydpi="96" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <defs + id="defs8377" /> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="0.8569637" + inkscape:cx="-80.51683" + inkscape:cy="191.95679" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + units="mm" + inkscape:window-width="1366" + inkscape:window-height="705" + inkscape:window-x="-4" + inkscape:window-y="-4" + inkscape:window-maximized="1" + inkscape:showpageshadow="2" + inkscape:pagecheckerboard="0" + inkscape:deskcolor="#d1d1d1" /> + <metadata + id="metadata8380"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1"> + <path + id="path2-6" + style="vector-effect:none;fill:#000000;fill-rule:evenodd;stroke:none;stroke-width:0.5483;fill-opacity:1" + d="M 151.45266,128 A 23.452663,23.452663 0 0 1 128,151.45266 23.452663,23.452663 0 0 1 104.54734,128 23.452663,23.452663 0 0 1 128,104.54734 23.452663,23.452663 0 0 1 151.45266,128 Z m 22.78843,0 A 46.241085,46.241085 0 0 1 128,174.24109 46.241085,46.241085 0 0 1 81.758915,128 46.241085,46.241085 0 0 1 128,81.758915 46.241085,46.241085 0 0 1 174.24109,128 Z m 77.90272,1e-5 c -72.89616,94.98236 -172.238205,97.57424 -248.2876202,0 76.0494152,-97.574262 175.3914602,-94.982384 248.2876202,0 z" /> + </g> +</svg> |
