Files
create/icons/themed/Mesh_Intersection.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

230 lines
8.8 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="svg2568"
height="64px"
width="64px">
<title
id="title865">Mesh_Intersection</title>
<defs
id="defs2570">
<linearGradient
id="linearGradient3864">
<stop
style="stop-color:#89b4fa;stop-opacity:1;"
offset="0"
id="stop3866" />
<stop
style="stop-color:#0841a6;stop-opacity:1;"
offset="1"
id="stop3868" />
</linearGradient>
<linearGradient
id="linearGradient3593">
<stop
id="stop3595"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1;" />
<stop
id="stop3597"
offset="1"
style="stop-color:#78a9f9;stop-opacity:1;" />
</linearGradient>
<radialGradient
gradientTransform="matrix(-0.51094884,-0.61313857,0.25133659,-0.20944716,57.452467,81.167084)"
xlink:href="#linearGradient3143"
id="radialGradient3090"
gradientUnits="userSpaceOnUse"
cx="56.831726"
cy="30.181183"
fx="56.831726"
fy="30.181183"
r="19.571428" />
<linearGradient
id="linearGradient3143">
<stop
id="stop3145"
offset="0"
style="stop-color:#359b2e;stop-opacity:1" />
<stop
id="stop3147"
offset="1"
style="stop-color:#a6e3a1;stop-opacity:1" />
</linearGradient>
<linearGradient
id="linearGradient3143-7">
<stop
id="stop3145-0"
offset="0"
style="stop-color:#89b4fa;stop-opacity:1" />
<stop
id="stop3147-9"
offset="1"
style="stop-color:#0846b3;stop-opacity:1" />
</linearGradient>
<radialGradient
gradientTransform="matrix(1.1486088,1.8477617,-3.056673,1.900094,73.257745,-112.1016)"
xlink:href="#linearGradient3143-6"
id="radialGradient3090-3"
gradientUnits="userSpaceOnUse"
cx="46.534134"
cy="26.281744"
fx="46.534134"
fy="26.281744"
r="19.571428" />
<linearGradient
id="linearGradient3143-6">
<stop
id="stop3145-7"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1" />
<stop
id="stop3147-5"
offset="1"
style="stop-color:#6c7086;stop-opacity:1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3143-6"
id="radialGradient3017"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1486088,1.8477617,-3.056673,1.900094,73.257745,-112.1016)"
cx="46.534134"
cy="26.281744"
fx="46.534134"
fy="26.281744"
r="19.571428" />
<radialGradient
gradientTransform="matrix(1.1486088,1.8477617,-3.056673,1.900094,73.257745,-112.1016)"
xlink:href="#linearGradient3143-62"
id="radialGradient3090-5"
gradientUnits="userSpaceOnUse"
cx="46.534134"
cy="26.281744"
fx="46.534134"
fy="26.281744"
r="19.571428" />
<linearGradient
id="linearGradient3143-62">
<stop
id="stop3145-9"
offset="0"
style="stop-color:#cdd6f4;stop-opacity:1" />
<stop
id="stop3147-1"
offset="1"
style="stop-color:#6c7086;stop-opacity:1" />
</linearGradient>
<radialGradient
xlink:href="#linearGradient3143-62"
id="radialGradient3017-2"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(1.1486088,1.8477617,-3.056673,1.900094,73.257745,-112.1016)"
cx="46.534134"
cy="26.281744"
fx="46.534134"
fy="26.281744"
r="19.571428" />
</defs>
<metadata
id="metadata2573">
<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_Intersection</dc:title>
<dc:creator>
<cc:Agent>
<dc:title>[bitacovir]</dc:title>
</cc:Agent>
</dc:creator>
<dc:title>Part_Common</dc:title>
<dc:date>04-07-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>
<cc:license>https://www.gnu.org/copyleft/lesser.html</cc:license>
<dc:contributor>
<cc:Agent>
<dc:title>Based on a wmayer's work</dc:title>
</cc:Agent>
</dc:contributor>
<dc:subject>
<rdf:Bag>
<rdf:li>sphere</rdf:li>
<rdf:li>mesh</rdf:li>
</rdf:Bag>
</dc:subject>
<dc:description>Intersection of two spheres</dc:description>
</cc:Work>
</rdf:RDF>
</metadata>
<g
id="layer1">
<g
transform="matrix(0.91273618,0,0,0.90349515,105.85374,2.800363)"
id="g3560">
<circle
style="display:inline;overflow:visible;visibility:visible;fill:url(#radialGradient3017-2);fill-opacity:1;fill-rule:evenodd;stroke:#1c5017;stroke-width:1.95274;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="path3550-3-7"
transform="matrix(1.1209221,0,0,1.1323546,-151.52039,2.02592)"
cx="53.214287"
cy="34.571426"
r="18.571428" />
<circle
r="18.571428"
cy="34.571426"
cx="53.214287"
style="display:inline;overflow:visible;visibility:visible;fill:url(#radialGradient3017);fill-opacity:1;fill-rule:evenodd;stroke:#1c5017;stroke-width:1.95265;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
id="path3550-3-3"
transform="matrix(1.1209541,0,0,1.1324194,-131.80058,-13.472896)" />
<path
id="path3550-3"
transform="matrix(1.0956068,0,0,1.1068128,-115.97408,-3.0994776)"
d="m 22,21 c -0.116604,0 -0.227646,0.02916 -0.34375,0.03125 C 21.228852,22.614131 21,24.282004 21,26 c 0,10.49401 8.505991,19 19,19 0.116604,0 0.227646,-0.02916 0.34375,-0.03125 C 40.771148,43.385869 41,41.717996 41,40 41,29.50599 32.494009,21 22,21 Z"
style="display:inline;overflow:visible;visibility:visible;fill:url(#radialGradient3090);fill-opacity:1;fill-rule:evenodd;stroke:#1c5017;stroke-width:1.99783;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path3550-3-1"
transform="matrix(1.0956068,0,0,1.1068128,-115.97408,-3.0994776)"
d="M 23.28125,23.0625 C 23.115498,24.015468 23,24.999615 23,26 23,34.959899 29.925717,42.284587 38.71875,42.9375 38.884502,41.984532 39,41.000385 39,40 39,31.040101 32.074283,23.715413 23.28125,23.0625 Z"
style="display:inline;overflow:visible;visibility:visible;fill:none;stroke:#a6e3a1;stroke-width:1.99783;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate" />
<path
id="path2633"
d="m -81.59191,23.997559 -11.309348,5.026244"
style="fill:none;stroke:#1c5017;stroke-width:2.20239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path2639"
d="M -82.674488,39.715722 -79.756602,26.56252"
style="fill:none;stroke:#a6e3a1;stroke-width:2.20239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path2641"
d="m -81.504924,23.060221 -3.72744,18.130889"
style="fill:none;stroke:#1c5017;stroke-width:2.20239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path2635"
d="M -71.727412,36.369348 -85.232364,41.19111"
style="fill:none;stroke:#1c5017;stroke-width:2.20239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
id="path2643"
d="m -82.774514,37.967655 8.785561,-3.134225"
style="fill:none;stroke:#a6e3a1;stroke-width:2.20239;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</g>
</svg>