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.
13 lines
458 B
OpenSCAD
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);
|