3d-printing/lib/label-decorations/symbols/render.scad
Felipe M. f19cc58a41
Add magnet symbol and group library assets under lib/label-decorations
Bundles the symbol thumbnails alongside the .scad and a library README so
the shared decoration library is self-contained, and adds a horseshoe
magnet icon to the catalogue.
2026-05-08 10:31:29 +02:00

13 lines
458 B
OpenSCAD

// Renders a single symbol from the label decorations library as a flat
// top-down preview. Used to generate the symbol thumbnails referenced in
// the library README.
// Usage: openscad -D 'symbol="hex_rounded"' --camera=0,0,100,0,0,0 --projection=ortho \
// --imgsize=240,240 -o hex_rounded.png render.scad
use <../label-decorations.scad>;
symbol = "hex_rounded";
size = 20;
stroke = 3;
linear_extrude(1)
symbol_shape(symbol, size, stroke);