Parametric military decorations
A set of reasonably accurate reproductions of Prince Phillip's military decorations, other than that the center of each medal is replaced with an imported/included STL (I've included an Aperture Science logo from https://www.thingiverse.com/thing:20674 by sicarius and a Bitcoin logo from https://www.thingiverse.com/thing:497827 by vinnivanhood as examples).
Usage
With included designs
> openscad medals.scad -o medals.stl -D 'type=[0-5]' -D 'coin=[1-2]'eg., to create a military cross medal styled after Prince Philip's Croix de Guerre & Greek War Cross:
> openscad medals.scad -o medals.stl -D 'type=5' -D 'coin=1'With your design
To use your own designs in the centre of the medals, create (or acquire) an STL centered on the origin, with known diameter and height, then:
> openscad medals.scad -o medals.stl \ -D 'type=[0-5]' -D 'coin=0' \ -D 'coin_custom_file="custom_logo.stl"' \ -D 'coin_custom_logo_dia=50' \ -D 'coin_custom_logo_height=1'… and a board to hang them on
… and I've included board.scad that the medal ribbons should clip onto.
Dependencies
BOSL library installed to your OpenSCAD library directory.