-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpartcad.yaml
54 lines (51 loc) · 1.89 KB
/
partcad.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: /pub/electronics/sbcs/raspberrypi
desc: Raspberry Pi
url: https://www.raspberrypi.com/
cover:
part: rpi4b
import:
pub:
onlyInRoot: True
type: git
url: https://github.com/openvmp/partcad-index.git
parts:
rpi4b:
type: step
desc: Raspberry Pi 4 Model B
vendor: raspberry-pi
sku: PI4-8GB
url: https://www.canakit.com/raspberry-pi-4-8gb.html?cid=usd&src=raspberrypi
implements:
"/pub/std/metric/m:m2.5-thru":
top-back-left: [[3.5, 52.5, 1.5], [1, 0, 0], 180]
top-back-right: [[61.5, 52.5, 1.5], [1, 0, 0], 180]
top-front-left: [[3.5, 3.5, 1.5], [1, 0, 0], 180]
top-front-right: [[61.5, 3.5, 1.5], [1, 0, 0], 180]
bottom-back-left: [[3.5, 52.5, 0], [1, 0, 0], 0]
bottom-back-right: [[61.5, 52.5, 0], [1, 0, 0], 0]
bottom-front-left: [[3.5, 3.5, 0], [1, 0, 0], 0]
bottom-front-right: [[61.5, 3.5, 0], [1, 0, 0], 0]
ports:
corner-bottom-back-left: [[0, 56, 0], [0, 0, 1], 270]
corner-bottom-back-right: [[85, 56, 0], [0, 0, 1], 180]
corner-bottom-front-left: [[0, 0, 0], [0, 0, 1], 0]
corner-bottom-front-right: [[85, 0, 0], [0, 0, 1], 90]
rpi-touchscreen:
# TODO: this is an assembly in fact
# (shield + adapter + stand-offs/screws + connector)
type: step
path: shields/rpi-touchscreen.step
desc: Raspberry Pi 7" Touchscreen Display
vendor: raspberry-pi
sku: RSP-DISPLAY
url: https://www.canakit.com/raspberry-pi-lcd-display-touchscreen.html?cid=usd&src=raspberrypi
implements:
# TODO: hole depth not known so far
"/pub/std/metric/m:m2.5-threaded-hole-9":
top-back-left: [[-22.5, 21.0, 21.76], [1, 0, 0], 180]
top-back-right: [[35.5, 21.0, 21.76], [1, 0, 0], 180]
top-front-left: [[-22.5, -28.0, 21.76], [1, 0, 0], 180]
top-front-right: [[35.5, -28.0, 21.76], [1, 0, 0], 180]
render:
svg:
readme: