1
0
Fork 0
mirror of https://github.com/Luzifer/3dmodels.git synced 2024-12-22 18:31:19 +00:00

Add info which display the case is for

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2020-08-12 00:42:28 +02:00
parent 5d9b11ba0e
commit af3673bdad
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E
3 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ In case you have use for those models thankfully to Github you can preview all m
| Model | Source | Version | Title |
| ----- | ------ | ------- | ----- |
| [`change-holder.stl`](change-holder.stl) | [`change-holder.jscad`](change-holder.jscad) | 0.1.1 | Spare-Change holder |
| [`eink_2-13_case.stl`](eink_2-13_case.stl) | [`eink_2-13_case.jscad`](eink_2-13_case.jscad) | 0.1.1 | Case for 2.13" Lilygo eink display |
| [`eink_2-13_case.stl`](eink_2-13_case.stl) | [`eink_2-13_case.jscad`](eink_2-13_case.jscad) | 0.1.1 | Case for [2.13" Lilygo eink display](https://www.aliexpress.com/item/4000626947976.html) |
| [`pir-holder.stl`](pir-holder.stl) | [`pir-holder.jscad`](pir-holder.jscad) | 0.1.1 | PIR holder |
| [`razorholder.stl`](razorholder.stl) | [`razorholder.jscad`](razorholder.jscad) | 0.1.1 | Holder for T-Shape razor |
| [`sonoff_dev_housing.stl`](sonoff_dev_housing.stl) | [`sonoff_dev_housing.jscad`](sonoff_dev_housing.jscad) | 0.2.6 | Sonoff DEV box for lamp post |

View file

@ -5,7 +5,7 @@ set -euo pipefail
cp ci/README.tpl.md README.md
for filename in *.jscad; do
title=$(awk -F ':' '/title\s*:/{ print $2 }' "${filename}")
rev=$(awk -F ':' '/revision\s*:/{ print $2 }' "${filename}")
title=$(awk -F ': ' '/title\s*:/{ print $2 }' "${filename}")
rev=$(awk -F ': ' '/revision\s*:/{ print $2 }' "${filename}")
echo "| [\`${filename%%.jscad}.stl\`](${filename%%.jscad}.stl) | [\`${filename}\`](${filename}) | ${rev# *} | ${title# *} |" >>README.md
done

View file

@ -1,5 +1,5 @@
/*
* title : Case for 2.13" Lilygo eink display
* title : Case for [2.13" Lilygo eink display](https://www.aliexpress.com/item/4000626947976.html)
* author : Knut Ahlers
* revision : 0.1.1
*/