Files
create/icons/themed/Mesh_TrimByPlane.svg
forbes d7b532255b
Some checks failed
Build and Test / build (pull_request) Has been cancelled
feat(icons): add icon theming infrastructure with Catppuccin color remapping
- Remove hand-crafted kindred-icons/ in favor of auto-generated themed icons
- Add icons/mappings/ with FCAD.csv (Tango palette) and kindred.csv (Catppuccin Mocha)
- Add icons/retheme.py script to remap upstream FreeCAD SVG colors
- Generate icons/themed/ with 1,595 themed SVGs (45,300 color replacements)
- BitmapFactory loads icons/themed/ as highest priority before default icons
- 157-color mapping covers the full Tango palette, interpolating between
  4 luminance anchors per color family

Regenerate: python3 icons/retheme.py
2026-02-15 20:34:22 -06:00

358 lines
12 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="1.1"
id="svg2860"
height="64px"
width="64px">
<title
id="title1134">Mesh_ Trim_by_Plane</title>
<defs
id="defs2862">
<linearGradient
id="linearGradient4009">
<stop
id="stop4011"
offset="0"
style="stop-color:#359b2e;stop-opacity:1" />
<stop
id="stop4013"
offset="1"
style="stop-color:#a6e3a1;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient4001">
<stop
id="stop4003"
offset="0"
style="stop-color:#359b2e;stop-opacity:1" />
<stop
id="stop4005"
offset="1"
style="stop-color:#a6e3a1;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient4072">
<stop
style="stop-color:#11111b;stop-opacity:1;"
offset="0"
id="stop4074" />
<stop
style="stop-color:#11111b;stop-opacity:0;"
offset="1"
id="stop4076" />
</linearGradient>
<linearGradient
id="linearGradient3864">
<stop
id="stop3866"
offset="0"
style="stop-color:#e9aaaa;stop-opacity:1;" />
<stop
id="stop3868"
offset="1"
style="stop-color:#11111b;stop-opacity:0;" />
</linearGradient>
<linearGradient
id="linearGradient3377">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop3379" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop3381" />
</linearGradient>
<linearGradient
id="linearGradient3377-7">
<stop
id="stop3379-7"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3381-9"
offset="1"
style="stop-color:#0841a6;stop-opacity:1;" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="39.259701"
x2="46.087074"
y1="39.259701"
x1="2.4857161"
id="linearGradient4082"
xlink:href="#linearGradient3377" />
<linearGradient
id="linearGradient3377-73">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop3379-3" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop3381-96" />
</linearGradient>
<linearGradient
id="linearGradient4112">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4114" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4116" />
</linearGradient>
<linearGradient
id="linearGradient4119">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4121" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4123" />
</linearGradient>
<linearGradient
id="linearGradient4126">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4128" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4130" />
</linearGradient>
<linearGradient
id="linearGradient4133">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4135" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4137" />
</linearGradient>
<linearGradient
id="linearGradient4140">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4142" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4144" />
</linearGradient>
<linearGradient
gradientTransform="matrix(1.3367742,0,0,1.3462145,-0.83476916,-19.403123)"
y2="39.259701"
x2="46.087074"
y1="39.259701"
x1="2.4857161"
gradientUnits="userSpaceOnUse"
id="linearGradient4094-0"
xlink:href="#linearGradient3377-73" />
<linearGradient
id="linearGradient4147">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop4149" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop4151" />
</linearGradient>
<linearGradient
gradientUnits="userSpaceOnUse"
y2="23.8043"
x2="15.368849"
y1="52.195702"
x1="19.766397"
id="linearGradient4007"
xlink:href="#linearGradient4001" />
<linearGradient
gradientUnits="userSpaceOnUse"
y2="26.591185"
x2="33.639343"
y1="49.757175"
x1="38.450821"
id="linearGradient4015"
xlink:href="#linearGradient4009" />
</defs>
<metadata
id="metadata2865">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title>Mesh_ Trim_by_Plane</dc:title>
<cc:license
rdf:resource="http://creativecommons.org/licenses/by/4.0/" />
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Arch_CutPlane</dc:title>
<dc:date>24-06-2020</dc:date>
<dc:relation />
<dc:publisher>
<cc:Agent>
<dc:title>FreeCAD</dc:title>
</cc:Agent>
</dc:publisher>
<dc:identifier />
<dc:rights>
<cc:Agent>
<dc:title>FreeCAD LGPL2+</dc:title>
</cc:Agent>
</dc:rights>
<dc:contributor>
<cc:Agent>
<dc:title>Based on a wood galaxy's design</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>mesh</rdf:li>
<rdf:li>red plane</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Mesh, trimmed with a plane</dc:description>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/licenses/by/4.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Notice" />
<cc:requires
rdf:resource="http://creativecommons.org/ns#Attribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
transform="translate(-8,6)"
id="g3950">
<path
style="fill:#d76363;stroke:#4c1313;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 57,7 17,1 v 48 l 40,6 z"
id="path3854" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 55,8.68 19.021773,3.3701333 V 47.211137 l 36,5.484047 z"
id="path3854-6" />
</g>
<g
style="stroke:#1c5017;stroke-width:6;stroke-miterlimit:4;stroke-dasharray:none"
id="g4070-3">
<path
style="fill:none;stroke:#1c5017;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1"
d="M 17,17 41,9 59,13 41,21 Z"
id="path4017-2-6" />
<path
style="fill:none;stroke:#1c5017;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1"
d="M 41,21 59,13 V 43 L 41,51 Z"
id="path4019-7-0" />
<path
style="fill:none;stroke:#1c5017;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1"
d="m 17,47 24,-8 18,4"
id="path4017-2-9-6" />
</g>
<g
id="g1157">
<g
id="g1148">
<path
id="path4017-2"
d="M 17,17 41,9 59,13 41,21 Z"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1" />
</g>
<g
id="g1151">
<path
id="path4019-7"
d="M 41,21 59,13 V 43 L 41,51 Z"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1" />
</g>
</g>
<path
id="path4017-2-9"
d="m 17,47 24,-8 18,4"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:2, 8;stroke-dashoffset:6.8;stroke-opacity:1" />
<g
style="opacity:0.6"
transform="translate(-8,6)"
id="g3950-2">
<path
style="fill:#d76363;stroke:#4c1313;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 57,7 17,1 v 48 l 40,6 z"
id="path3854-61" />
<path
style="fill:none;stroke:#f2cdcd;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 55,8.68 19.021773,3.3701333 V 47.211137 l 36,5.484047 z"
id="path3854-6-8" />
</g>
<path
id="path3044"
d="m 3,21 v 30 l 26,4 V 25 Z"
style="fill:url(#linearGradient4007);fill-opacity:1;stroke:#1c5017;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3832"
d="m 3,21 14,-4 24,4 -12,4 z"
style="fill:#a6e3a1;stroke:#1c5017;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-opacity:1" />
<path
id="path3852"
d="M 29,25 V 55 L 41,51 V 21 Z"
style="fill:url(#linearGradient4015);fill-opacity:1;stroke:#1c5017;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3997"
d="M 4.9846045,23.354097 5.030791,49.246328 27,52.645903 26.984604,26.738276 Z"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path3999"
d="m 30.976418,26.471657 0.0075,25.765208 8.014631,-2.625294 0.02615,-25.872258 z"
style="fill:none;stroke:#a6e3a1;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1159"
d="M 3,21 29,55 41,21"
style="fill:none;stroke:#1c5017;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1161"
d="m 17,17 12,8"
style="fill:none;stroke:#1c5017;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1163"
d="M 21,45 3,51"
style="fill:#1c5017;stroke:#1c5017;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1165"
d="M 15,37 28,25"
style="fill:none;stroke:#1c5017;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path1167"
d="m 29,25 6,12"
style="fill:none;stroke:#1c5017;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</svg>