]> git.gir.st - hardpass.git/commit
use realistic colors for 5.2mm tact switches
authorgirst <girst@users.noreply.github.com>
Sat, 10 Feb 2018 20:24:35 +0000 (21:24 +0100)
committergirst <girst@users.noreply.github.com>
Sat, 10 Feb 2018 20:24:35 +0000 (21:24 +0100)
commit7b6c41f686776234599830bad24a2572910ff088
tree8dbc15b1b595e0dcce8417989346ffa86eaa0345
parent0afd58a30ec5d008a19a540bbc8d5adb4b41ee04
use realistic colors for 5.2mm tact switches

as it turns out, step files are plain text -- so search and replace can
be used to modify colors reliably
search for colors:
    grep COLOUR_RGB SKQGAF-realcolors.STEP|awk -F= '{print $2}'|sort|uniq -c
replace them with
    sed -i "s/$OLDCOLOR/$NEWCOLOR/" SKQGAF-realcolors.STEP
kicad/hardpass-pcb/hardpass.3dshapes/5.2mm-tact.wrl
kicad/hardpass-pcb/hardpass.3dshapes/README.md
kicad/hardpass-pcb/hardpass.3dshapes/SKQGAF-realcolors.STEP [new file with mode: 0644]
Imprint / Impressum