icon-rs
Original SVG icons for CAD feature tools (extrude, revolve, sweep, loft, thicken, enclose, fillet, chamfer, shell, pattern, boolean), embedded as Rust constants.
Browse the icons and try out palettes: https://rvdende.github.io/icon-rs/
use ;
let light: &str = EXTRUDE.svg; // for light backgrounds
let dark: &str = EXTRUDE.svg_dark; // for dark backgrounds
let svg = get.unwrap.themed;
// Any other theme: a line colour plus one spot colour, shaded automatically.
let palette = from_spot;
let custom: String = EXTRUDE.recolor;
icons/*.svg,icons/dark/*.svg: 24x24, outline plus four face shades, lit from the same direction in both themes.tools/gen_icons.py: computes the isometric geometry and regenerates both sets.tools/build_site.py: builds the icon browser intosite/; GitHub Actions deploys it on every push tomain.cargo run --example preview [out.png] [scale]: renders a contact sheet (defaulttarget/preview.png).