Clean up top directory

This commit is contained in:
Neale Pickett 2022-08-30 10:17:10 -06:00
parent 0fdc8b779e
commit b117c3b79b
6 changed files with 2 additions and 383 deletions

View File

@ -17,10 +17,9 @@ run () {
"$@"
}
basedir=$(dirname $0)
basedir=$(dirname $0)/..
mkdir -p build
cat $1 | jq -r ".parameterSets | keys | .[]" \
| while read param; do
run openscad -o "build/chip-${param}.stl" -p "$basedir/$1" -P "${param}" chip.scad
run openscad -o "chip-${param}.stl" -p "$basedir/$1" -P "${param}" chip.scad
done

BIN
chip.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -1,95 +0,0 @@
{
"parameterSets": {
"full-circle-1": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "1"
},
"full-circle-2": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "2"
},
"full-circle-5": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "5"
},
"full-circle-10": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "10"
},
"full-circle-20": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "20"
},
"full-circle-25": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "25"
},
"full-circle-50": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "50"
},
"full-circle-100": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "100"
},
"full-circle-250": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "250"
},
"full-circle-500": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "500"
},
"full-circle-1000": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "1000"
},
"full-circle-2000": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "2000"
},
"full-circle-5000": {
"diameter": 39,
"height": 3.5,
"sides": 360,
"holes": 6,
"text": "5000"
}
}
}

View File

@ -1,95 +0,0 @@
{
"parameterSets": {
"full-hex-1": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "1"
},
"full-hex-2": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "2"
},
"full-hex-5": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "5"
},
"full-hex-10": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "10"
},
"full-hex-20": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "20"
},
"full-hex-25": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "25"
},
"full-hex-50": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "50"
},
"full-hex-100": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "100"
},
"full-hex-250": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "250"
},
"full-hex-500": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "500"
},
"full-hex-1000": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "1000"
},
"full-hex-2000": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "2000"
},
"full-hex-5000": {
"diameter": 39,
"height": 3.5,
"sides": 6,
"holes": 6,
"text": "5000"
}
}
}

View File

@ -1,95 +0,0 @@
{
"parameterSets": {
"mini-circle-1": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "1"
},
"mini-circle-2": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "2"
},
"mini-circle-5": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "5"
},
"mini-circle-10": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "10"
},
"mini-circle-20": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "20"
},
"mini-circle-25": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "25"
},
"mini-circle-50": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "50"
},
"mini-circle-100": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "100"
},
"mini-circle-250": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "250"
},
"mini-circle-500": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "500"
},
"mini-circle-1000": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "1000"
},
"mini-circle-2000": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "2000"
},
"mini-circle-5000": {
"diameter": 22,
"height": 2,
"sides": 360,
"holes": 4,
"text": "5000"
}
}
}

View File

@ -1,95 +0,0 @@
{
"parameterSets": {
"mini-hexagon-1": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "1"
},
"mini-hexagon-2": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "2"
},
"mini-hexagon-5": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "5"
},
"mini-hexagon-10": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "10"
},
"mini-hexagon-20": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "20"
},
"mini-hexagon-25": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "25"
},
"mini-hexagon-50": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "50"
},
"mini-hexagon-100": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "100"
},
"mini-hexagon-250": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "250"
},
"mini-hexagon-500": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "500"
},
"mini-hexagon-1000": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "1000"
},
"mini-hexagon-2000": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "2000"
},
"mini-hexagon-5000": {
"diameter": 22,
"height": 2,
"sides": 6,
"holes": 3,
"text": "5000"
}
}
}