replicator-workshop 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. replicator/__init__.py +6 -0
  2. replicator/app.py +204 -0
  3. replicator/config.py +48 -0
  4. replicator/core/__init__.py +0 -0
  5. replicator/core/assembly.py +117 -0
  6. replicator/core/blender_link.py +161 -0
  7. replicator/core/critique.py +594 -0
  8. replicator/core/drawing.py +389 -0
  9. replicator/core/dxf.py +120 -0
  10. replicator/core/evaluate.py +439 -0
  11. replicator/core/explain.py +139 -0
  12. replicator/core/export.py +96 -0
  13. replicator/core/fit.py +170 -0
  14. replicator/core/importers.py +185 -0
  15. replicator/core/materials.py +104 -0
  16. replicator/core/ops_advanced.py +496 -0
  17. replicator/core/ops_engineering.py +223 -0
  18. replicator/core/physics.py +147 -0
  19. replicator/core/printers.py +100 -0
  20. replicator/core/program.py +298 -0
  21. replicator/core/render.py +145 -0
  22. replicator/core/reverse.py +350 -0
  23. replicator/core/robot.py +153 -0
  24. replicator/core/step.py +245 -0
  25. replicator/fixtures/gaming_pc_liquid.json +2259 -0
  26. replicator/fixtures/gas_generator_rocket.json +876 -0
  27. replicator/fixtures/gas_generator_rocket_aero.json +861 -0
  28. replicator/fixtures/house_two_bed.json +979 -0
  29. replicator/fixtures/quadcopter_drone.json +687 -0
  30. replicator/fixtures/raspberry_pi_5.json +884 -0
  31. replicator/fixtures/rocket_engine.json +652 -0
  32. replicator/fixtures/turbofan.json +931 -0
  33. replicator/fixtures/vector_engine.json +314 -0
  34. replicator/gpu.py +81 -0
  35. replicator/image3d/__init__.py +0 -0
  36. replicator/image3d/comfy.py +181 -0
  37. replicator/image3d/pipeline.py +208 -0
  38. replicator/image3d/sheet.py +154 -0
  39. replicator/knowledge/__init__.py +61 -0
  40. replicator/knowledge/car_wheel_corner.md +21 -0
  41. replicator/knowledge/desk_lamp.md +21 -0
  42. replicator/knowledge/desktop_pc.md +20 -0
  43. replicator/knowledge/electronics_board.md +21 -0
  44. replicator/knowledge/exoskeleton.md +21 -0
  45. replicator/knowledge/house.md +22 -0
  46. replicator/knowledge/light_aircraft.md +22 -0
  47. replicator/knowledge/multirotor_drone.md +25 -0
  48. replicator/knowledge/print_replica.md +13 -0
  49. replicator/knowledge/rocket_engine.md +27 -0
  50. replicator/knowledge/turbofan.md +23 -0
  51. replicator/llm/__init__.py +0 -0
  52. replicator/llm/client.py +424 -0
  53. replicator/llm/prompts/blueprint.md +28 -0
  54. replicator/llm/prompts/edit.md +15 -0
  55. replicator/llm/prompts/explain.md +37 -0
  56. replicator/llm/prompts/name_parts.md +13 -0
  57. replicator/llm/prompts/program.md +72 -0
  58. replicator/llm/prompts/research_queries.md +8 -0
  59. replicator/mcp_server.py +307 -0
  60. replicator/qml/Main.qml +874 -0
  61. replicator/qml/Replicator/UI/Chip.qml +17 -0
  62. replicator/qml/Replicator/UI/DockHeader.qml +27 -0
  63. replicator/qml/Replicator/UI/Icon.qml +118 -0
  64. replicator/qml/Replicator/UI/IconButton.qml +31 -0
  65. replicator/qml/Replicator/UI/Kbd.qml +18 -0
  66. replicator/qml/Replicator/UI/NumField.qml +69 -0
  67. replicator/qml/Replicator/UI/Pill.qml +28 -0
  68. replicator/qml/Replicator/UI/RCombo.qml +51 -0
  69. replicator/qml/Replicator/UI/RMenu.qml +42 -0
  70. replicator/qml/Replicator/UI/RSlider.qml +23 -0
  71. replicator/qml/Replicator/UI/Segmented.qml +63 -0
  72. replicator/qml/Replicator/UI/Swatch.qml +47 -0
  73. replicator/qml/Replicator/UI/Theme.qml +149 -0
  74. replicator/qml/Replicator/UI/qmldir +14 -0
  75. replicator/qml/panels/AgentPrompt.qml +53 -0
  76. replicator/qml/panels/AttributeManager.qml +171 -0
  77. replicator/qml/panels/Commander.qml +136 -0
  78. replicator/qml/panels/HolodeckPanel.qml +117 -0
  79. replicator/qml/panels/IssuesCard.qml +78 -0
  80. replicator/qml/panels/LedgerPanel.qml +110 -0
  81. replicator/qml/panels/MaterialShelf.qml +97 -0
  82. replicator/qml/panels/ObjectManager.qml +107 -0
  83. replicator/qml/panels/Preferences.qml +211 -0
  84. replicator/qml/panels/Presenter.qml +316 -0
  85. replicator/qml/panels/StatusBar.qml +77 -0
  86. replicator/qml/panels/Timeline.qml +149 -0
  87. replicator/qml/panels/Welcome.qml +126 -0
  88. replicator/qml/viewport/Callouts.qml +87 -0
  89. replicator/qml/viewport/EdgeMaterial.qml +16 -0
  90. replicator/qml/viewport/GridMaterial.qml +16 -0
  91. replicator/qml/viewport/HoloMaterial.qml +23 -0
  92. replicator/qml/viewport/NavGizmo.qml +72 -0
  93. replicator/qml/viewport/ReferenceMaterial.qml +17 -0
  94. replicator/qml/viewport/Viewport.qml +583 -0
  95. replicator/qt/__init__.py +0 -0
  96. replicator/qt/bridge.py +1427 -0
  97. replicator/qt/drawing_sheet.py +33 -0
  98. replicator/qt/envmap.py +40 -0
  99. replicator/qt/library.py +68 -0
  100. replicator/qt/mesh_geometry.py +167 -0
  101. replicator/qt/svg.py +41 -0
  102. replicator/research/__init__.py +0 -0
  103. replicator/research/lane.py +281 -0
  104. replicator/shaders/edge.frag +9 -0
  105. replicator/shaders/edge.vert +7 -0
  106. replicator/shaders/grid.frag +52 -0
  107. replicator/shaders/grid.vert +6 -0
  108. replicator/shaders/holo.frag +41 -0
  109. replicator/shaders/reference.frag +15 -0
  110. replicator/shaders/reference.vert +6 -0
  111. replicator/voice.py +120 -0
  112. replicator_workshop-0.1.0.dist-info/METADATA +410 -0
  113. replicator_workshop-0.1.0.dist-info/RECORD +118 -0
  114. replicator_workshop-0.1.0.dist-info/WHEEL +5 -0
  115. replicator_workshop-0.1.0.dist-info/entry_points.txt +3 -0
  116. replicator_workshop-0.1.0.dist-info/licenses/LICENSE +21 -0
  117. replicator_workshop-0.1.0.dist-info/licenses/vendor/mcp-for-blender/LICENSE +21 -0
  118. replicator_workshop-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,884 @@
1
+ {
2
+ "version": 1,
3
+ "name": "Raspberry Pi 5",
4
+ "units": "mm",
5
+ "summary": "A Raspberry Pi 5 at real scale on four M2.5 standoffs: BCM2712 under the active cooler, LPDDR4X, the RP1 I/O chip, 40-pin GPIO, Ethernet, two USB 3 and two USB 2, USB-C power, two micro HDMI, two MIPI connectors, PCIe FPC and microSD.",
6
+ "components": [
7
+ {
8
+ "id": "board",
9
+ "label": "PCB",
10
+ "role": "85 x 56 mm FR-4, 1.6 mm"
11
+ },
12
+ {
13
+ "id": "standoffs",
14
+ "label": "Standoffs",
15
+ "role": "M2.5 brass, 6 mm"
16
+ },
17
+ {
18
+ "id": "soc",
19
+ "label": "SoC, RAM and RP1",
20
+ "role": "BCM2712, LPDDR4X, RP1 southbridge"
21
+ },
22
+ {
23
+ "id": "cooler",
24
+ "label": "Active Cooler",
25
+ "role": "finned sink and blower over the SoC"
26
+ },
27
+ {
28
+ "id": "gpio",
29
+ "label": "GPIO Header",
30
+ "role": "2 x 20 at 2.54 mm"
31
+ },
32
+ {
33
+ "id": "ports",
34
+ "label": "Ports",
35
+ "role": "Ethernet, USB 3, USB 2, USB-C, micro HDMI"
36
+ },
37
+ {
38
+ "id": "connectors",
39
+ "label": "FPC and Card Connectors",
40
+ "role": "MIPI, PCIe, fan, microSD"
41
+ }
42
+ ],
43
+ "materials": {
44
+ "pcb_green": {
45
+ "base_color": [
46
+ 0.012,
47
+ 0.15,
48
+ 0.055
49
+ ],
50
+ "metalness": 0.0,
51
+ "roughness": 0.45
52
+ },
53
+ "brass": {
54
+ "base_color": [
55
+ 0.78,
56
+ 0.62,
57
+ 0.3
58
+ ],
59
+ "metalness": 1.0,
60
+ "roughness": 0.3
61
+ },
62
+ "brass_gold_plated": {
63
+ "base_color": [
64
+ 0.95,
65
+ 0.76,
66
+ 0.35
67
+ ],
68
+ "metalness": 1.0,
69
+ "roughness": 0.18
70
+ },
71
+ "silicon_package": {
72
+ "base_color": [
73
+ 0.62,
74
+ 0.64,
75
+ 0.66
76
+ ],
77
+ "metalness": 0.9,
78
+ "roughness": 0.35
79
+ },
80
+ "aluminium_6063": {
81
+ "base_color": [
82
+ 0.8,
83
+ 0.81,
84
+ 0.83
85
+ ],
86
+ "metalness": 1.0,
87
+ "roughness": 0.28
88
+ },
89
+ "plastic_black": {
90
+ "base_color": [
91
+ 0.03,
92
+ 0.03,
93
+ 0.035
94
+ ],
95
+ "metalness": 0.0,
96
+ "roughness": 0.55
97
+ },
98
+ "plastic_white": {
99
+ "base_color": [
100
+ 0.88,
101
+ 0.87,
102
+ 0.84
103
+ ],
104
+ "metalness": 0.0,
105
+ "roughness": 0.5
106
+ },
107
+ "steel_shell": {
108
+ "base_color": [
109
+ 0.72,
110
+ 0.73,
111
+ 0.75
112
+ ],
113
+ "metalness": 1.0,
114
+ "roughness": 0.25
115
+ }
116
+ },
117
+ "ops": [
118
+ {
119
+ "id": "pcb_blank",
120
+ "op": "box",
121
+ "label": "PCB blank",
122
+ "component": "board",
123
+ "material": "pcb_green",
124
+ "params": {
125
+ "size": [
126
+ 85.0,
127
+ 1.6,
128
+ 56.0
129
+ ],
130
+ "translate": [
131
+ 0.0,
132
+ 6.8,
133
+ 0.0
134
+ ]
135
+ }
136
+ },
137
+ {
138
+ "id": "hole0",
139
+ "op": "cylinder",
140
+ "label": "Mounting hole",
141
+ "component": "board",
142
+ "material": "pcb_green",
143
+ "params": {
144
+ "radius": 1.35,
145
+ "height": 4,
146
+ "rotate": [
147
+ 0,
148
+ 0,
149
+ 0
150
+ ],
151
+ "translate": [
152
+ -39.0,
153
+ 6.8,
154
+ -24.5
155
+ ],
156
+ "segments": 48
157
+ }
158
+ },
159
+ {
160
+ "id": "hole1",
161
+ "op": "cylinder",
162
+ "label": "Mounting hole",
163
+ "component": "board",
164
+ "material": "pcb_green",
165
+ "params": {
166
+ "radius": 1.35,
167
+ "height": 4,
168
+ "rotate": [
169
+ 0,
170
+ 0,
171
+ 0
172
+ ],
173
+ "translate": [
174
+ 19.0,
175
+ 6.8,
176
+ -24.5
177
+ ],
178
+ "segments": 48
179
+ }
180
+ },
181
+ {
182
+ "id": "hole2",
183
+ "op": "cylinder",
184
+ "label": "Mounting hole",
185
+ "component": "board",
186
+ "material": "pcb_green",
187
+ "params": {
188
+ "radius": 1.35,
189
+ "height": 4,
190
+ "rotate": [
191
+ 0,
192
+ 0,
193
+ 0
194
+ ],
195
+ "translate": [
196
+ -39.0,
197
+ 6.8,
198
+ 24.5
199
+ ],
200
+ "segments": 48
201
+ }
202
+ },
203
+ {
204
+ "id": "hole3",
205
+ "op": "cylinder",
206
+ "label": "Mounting hole",
207
+ "component": "board",
208
+ "material": "pcb_green",
209
+ "params": {
210
+ "radius": 1.35,
211
+ "height": 4,
212
+ "rotate": [
213
+ 0,
214
+ 0,
215
+ 0
216
+ ],
217
+ "translate": [
218
+ 19.0,
219
+ 6.8,
220
+ 24.5
221
+ ],
222
+ "segments": 48
223
+ }
224
+ },
225
+ {
226
+ "id": "pcb",
227
+ "op": "boolean",
228
+ "label": "PCB, 85 x 56 mm, M2.5 holes on 58 x 49",
229
+ "component": "board",
230
+ "inputs": [
231
+ "pcb_blank",
232
+ "hole0",
233
+ "hole1",
234
+ "hole2",
235
+ "hole3"
236
+ ],
237
+ "params": {
238
+ "mode": "difference"
239
+ }
240
+ },
241
+ {
242
+ "id": "standoff0",
243
+ "op": "cylinder",
244
+ "label": "M2.5 brass standoff",
245
+ "component": "standoffs",
246
+ "material": "brass",
247
+ "params": {
248
+ "radius": 2.5,
249
+ "height": 6.0,
250
+ "rotate": [
251
+ 0,
252
+ 0,
253
+ 0
254
+ ],
255
+ "translate": [
256
+ -39.0,
257
+ 3.0,
258
+ -24.5
259
+ ],
260
+ "segments": 6
261
+ }
262
+ },
263
+ {
264
+ "id": "standoff1",
265
+ "op": "cylinder",
266
+ "label": "M2.5 brass standoff",
267
+ "component": "standoffs",
268
+ "material": "brass",
269
+ "params": {
270
+ "radius": 2.5,
271
+ "height": 6.0,
272
+ "rotate": [
273
+ 0,
274
+ 0,
275
+ 0
276
+ ],
277
+ "translate": [
278
+ 19.0,
279
+ 3.0,
280
+ -24.5
281
+ ],
282
+ "segments": 6
283
+ }
284
+ },
285
+ {
286
+ "id": "standoff2",
287
+ "op": "cylinder",
288
+ "label": "M2.5 brass standoff",
289
+ "component": "standoffs",
290
+ "material": "brass",
291
+ "params": {
292
+ "radius": 2.5,
293
+ "height": 6.0,
294
+ "rotate": [
295
+ 0,
296
+ 0,
297
+ 0
298
+ ],
299
+ "translate": [
300
+ -39.0,
301
+ 3.0,
302
+ 24.5
303
+ ],
304
+ "segments": 6
305
+ }
306
+ },
307
+ {
308
+ "id": "standoff3",
309
+ "op": "cylinder",
310
+ "label": "M2.5 brass standoff",
311
+ "component": "standoffs",
312
+ "material": "brass",
313
+ "params": {
314
+ "radius": 2.5,
315
+ "height": 6.0,
316
+ "rotate": [
317
+ 0,
318
+ 0,
319
+ 0
320
+ ],
321
+ "translate": [
322
+ 19.0,
323
+ 3.0,
324
+ 24.5
325
+ ],
326
+ "segments": 6
327
+ }
328
+ },
329
+ {
330
+ "id": "standoffs",
331
+ "op": "boolean",
332
+ "label": "Four M2.5 standoffs",
333
+ "component": "standoffs",
334
+ "inputs": [
335
+ "standoff0",
336
+ "standoff1",
337
+ "standoff2",
338
+ "standoff3"
339
+ ],
340
+ "params": {
341
+ "mode": "union"
342
+ }
343
+ },
344
+ {
345
+ "id": "soc",
346
+ "op": "box",
347
+ "label": "BCM2712 SoC (heat spreader)",
348
+ "component": "soc",
349
+ "material": "silicon_package",
350
+ "params": {
351
+ "size": [
352
+ 17.0,
353
+ 1.2,
354
+ 17.0
355
+ ],
356
+ "translate": [
357
+ -13.0,
358
+ 8.2,
359
+ 3.5
360
+ ]
361
+ }
362
+ },
363
+ {
364
+ "id": "ram",
365
+ "op": "box",
366
+ "label": "LPDDR4X SDRAM",
367
+ "component": "soc",
368
+ "material": "silicon_package",
369
+ "params": {
370
+ "size": [
371
+ 12.0,
372
+ 1.0,
373
+ 14.0
374
+ ],
375
+ "translate": [
376
+ 4.5,
377
+ 8.1,
378
+ 4.0
379
+ ]
380
+ }
381
+ },
382
+ {
383
+ "id": "rp1",
384
+ "op": "box",
385
+ "label": "RP1 I/O controller",
386
+ "component": "soc",
387
+ "material": "silicon_package",
388
+ "params": {
389
+ "size": [
390
+ 7.0,
391
+ 0.9,
392
+ 7.0
393
+ ],
394
+ "translate": [
395
+ 21.0,
396
+ 8.05,
397
+ 4.5
398
+ ]
399
+ }
400
+ },
401
+ {
402
+ "id": "sink_base",
403
+ "op": "box",
404
+ "label": "Heatsink base plate",
405
+ "component": "cooler",
406
+ "material": "aluminium_6063",
407
+ "params": {
408
+ "size": [
409
+ 37.0,
410
+ 2.0,
411
+ 34.0
412
+ ],
413
+ "translate": [
414
+ -7.0,
415
+ 9.8,
416
+ 3.0
417
+ ]
418
+ }
419
+ },
420
+ {
421
+ "id": "fin",
422
+ "op": "box",
423
+ "label": "Heatsink fin",
424
+ "component": "cooler",
425
+ "material": "aluminium_6063",
426
+ "params": {
427
+ "size": [
428
+ 0.8,
429
+ 5.5,
430
+ 16.0
431
+ ],
432
+ "translate": [
433
+ -25.1,
434
+ 13.55,
435
+ -6.0
436
+ ]
437
+ }
438
+ },
439
+ {
440
+ "id": "fins",
441
+ "op": "array",
442
+ "input": "fin",
443
+ "label": "Heatsink, 18 fins",
444
+ "component": "cooler",
445
+ "material": "aluminium_6063",
446
+ "params": {
447
+ "mode": "linear",
448
+ "count": 18,
449
+ "offset": [
450
+ 2.06,
451
+ 0,
452
+ 0
453
+ ]
454
+ }
455
+ },
456
+ {
457
+ "id": "fan_frame_blank",
458
+ "op": "box",
459
+ "label": "Blower housing",
460
+ "component": "cooler",
461
+ "material": "plastic_black",
462
+ "params": {
463
+ "size": [
464
+ 22.0,
465
+ 5.5,
466
+ 17.0
467
+ ],
468
+ "translate": [
469
+ -2.5,
470
+ 13.55,
471
+ 11.5
472
+ ]
473
+ }
474
+ },
475
+ {
476
+ "id": "fan_bore",
477
+ "op": "cylinder",
478
+ "label": "Blower intake",
479
+ "component": "cooler",
480
+ "material": "plastic_black",
481
+ "params": {
482
+ "radius": 7.6,
483
+ "height": 8,
484
+ "rotate": [
485
+ 0,
486
+ 0,
487
+ 0
488
+ ],
489
+ "translate": [
490
+ -2.5,
491
+ 14.799999999999999,
492
+ 11.5
493
+ ],
494
+ "segments": 48
495
+ }
496
+ },
497
+ {
498
+ "id": "fan_housing",
499
+ "op": "boolean",
500
+ "label": "Blower fan housing",
501
+ "component": "cooler",
502
+ "inputs": [
503
+ "fan_frame_blank",
504
+ "fan_bore"
505
+ ],
506
+ "params": {
507
+ "mode": "difference"
508
+ }
509
+ },
510
+ {
511
+ "id": "fan_rotor",
512
+ "op": "rotor",
513
+ "label": "Blower impeller",
514
+ "component": "cooler",
515
+ "material": "plastic_black",
516
+ "params": {
517
+ "hub_radius": 2.8,
518
+ "tip_radius": 7.2,
519
+ "chord": 2.6,
520
+ "blades": 11,
521
+ "pitch": 30,
522
+ "twist": 5,
523
+ "hub_length": 3.0,
524
+ "translate": [
525
+ -2.5,
526
+ 12.299999999999999,
527
+ 11.5
528
+ ]
529
+ }
530
+ },
531
+ {
532
+ "id": "gpio_base",
533
+ "op": "box",
534
+ "label": "GPIO header body",
535
+ "component": "gpio",
536
+ "material": "plastic_black",
537
+ "params": {
538
+ "size": [
539
+ 50.8,
540
+ 2.5,
541
+ 5.08
542
+ ],
543
+ "translate": [
544
+ -11.27,
545
+ 8.85,
546
+ 24.17
547
+ ]
548
+ }
549
+ },
550
+ {
551
+ "id": "pin",
552
+ "op": "box",
553
+ "label": "Header pin",
554
+ "component": "gpio",
555
+ "material": "brass_gold_plated",
556
+ "params": {
557
+ "size": [
558
+ 0.64,
559
+ 6.0,
560
+ 0.64
561
+ ],
562
+ "translate": [
563
+ -35.4,
564
+ 13.1,
565
+ 22.9
566
+ ]
567
+ }
568
+ },
569
+ {
570
+ "id": "pin_row",
571
+ "op": "array",
572
+ "input": "pin",
573
+ "label": "Pin row",
574
+ "component": "gpio",
575
+ "material": "brass_gold_plated",
576
+ "params": {
577
+ "mode": "linear",
578
+ "count": 20,
579
+ "offset": [
580
+ 2.54,
581
+ 0,
582
+ 0
583
+ ]
584
+ }
585
+ },
586
+ {
587
+ "id": "pins",
588
+ "op": "array",
589
+ "input": "pin_row",
590
+ "label": "40 GPIO pins",
591
+ "component": "gpio",
592
+ "material": "brass_gold_plated",
593
+ "params": {
594
+ "mode": "linear",
595
+ "count": 2,
596
+ "offset": [
597
+ 0,
598
+ 0,
599
+ 2.54
600
+ ]
601
+ }
602
+ },
603
+ {
604
+ "id": "eth_solid",
605
+ "op": "box",
606
+ "label": "Gigabit Ethernet jack",
607
+ "component": "ports",
608
+ "material": "steel_shell",
609
+ "params": {
610
+ "size": [
611
+ 21.5,
612
+ 13.5,
613
+ 16.0
614
+ ],
615
+ "translate": [
616
+ 34.25,
617
+ 14.35,
618
+ -17.5
619
+ ]
620
+ }
621
+ },
622
+ {
623
+ "id": "eth",
624
+ "op": "shell",
625
+ "input": "eth_solid",
626
+ "label": "Gigabit Ethernet jack",
627
+ "component": "ports",
628
+ "material": "steel_shell",
629
+ "params": {
630
+ "thickness": 0.4
631
+ }
632
+ },
633
+ {
634
+ "id": "usb3_solid",
635
+ "op": "box",
636
+ "label": "USB 3.0 pair (blue)",
637
+ "component": "ports",
638
+ "material": "steel_shell",
639
+ "params": {
640
+ "size": [
641
+ 17.5,
642
+ 16.0,
643
+ 15.0
644
+ ],
645
+ "translate": [
646
+ 36.25,
647
+ 15.6,
648
+ 1.1
649
+ ]
650
+ }
651
+ },
652
+ {
653
+ "id": "usb3",
654
+ "op": "shell",
655
+ "input": "usb3_solid",
656
+ "label": "USB 3.0 pair (blue)",
657
+ "component": "ports",
658
+ "material": "steel_shell",
659
+ "params": {
660
+ "thickness": 0.4
661
+ }
662
+ },
663
+ {
664
+ "id": "usb2_solid",
665
+ "op": "box",
666
+ "label": "USB 2.0 pair",
667
+ "component": "ports",
668
+ "material": "steel_shell",
669
+ "params": {
670
+ "size": [
671
+ 17.5,
672
+ 16.0,
673
+ 15.0
674
+ ],
675
+ "translate": [
676
+ 36.25,
677
+ 15.6,
678
+ 19.3
679
+ ]
680
+ }
681
+ },
682
+ {
683
+ "id": "usb2",
684
+ "op": "shell",
685
+ "input": "usb2_solid",
686
+ "label": "USB 2.0 pair",
687
+ "component": "ports",
688
+ "material": "steel_shell",
689
+ "params": {
690
+ "thickness": 0.4
691
+ }
692
+ },
693
+ {
694
+ "id": "usbc",
695
+ "op": "box",
696
+ "label": "USB-C power input",
697
+ "component": "ports",
698
+ "material": "steel_shell",
699
+ "params": {
700
+ "size": [
701
+ 9.0,
702
+ 3.2,
703
+ 7.5
704
+ ],
705
+ "translate": [
706
+ -30.9,
707
+ 9.2,
708
+ -25.25
709
+ ]
710
+ }
711
+ },
712
+ {
713
+ "id": "hdmi0",
714
+ "op": "box",
715
+ "label": "Micro HDMI 0",
716
+ "component": "ports",
717
+ "material": "steel_shell",
718
+ "params": {
719
+ "size": [
720
+ 6.5,
721
+ 3.5,
722
+ 7.5
723
+ ],
724
+ "translate": [
725
+ -16.65,
726
+ 9.35,
727
+ -25.25
728
+ ]
729
+ }
730
+ },
731
+ {
732
+ "id": "hdmi1",
733
+ "op": "box",
734
+ "label": "Micro HDMI 1",
735
+ "component": "ports",
736
+ "material": "steel_shell",
737
+ "params": {
738
+ "size": [
739
+ 6.5,
740
+ 3.5,
741
+ 7.5
742
+ ],
743
+ "translate": [
744
+ -3.25,
745
+ 9.35,
746
+ -25.25
747
+ ]
748
+ }
749
+ },
750
+ {
751
+ "id": "button",
752
+ "op": "box",
753
+ "label": "Power button",
754
+ "component": "ports",
755
+ "material": "plastic_black",
756
+ "params": {
757
+ "size": [
758
+ 4.0,
759
+ 2.5,
760
+ 4.0
761
+ ],
762
+ "translate": [
763
+ -40.0,
764
+ 8.85,
765
+ -16.0
766
+ ]
767
+ }
768
+ },
769
+ {
770
+ "id": "mipi0",
771
+ "op": "box",
772
+ "label": "MIPI camera/display 0",
773
+ "component": "connectors",
774
+ "material": "plastic_white",
775
+ "params": {
776
+ "size": [
777
+ 3.0,
778
+ 4.0,
779
+ 12.5
780
+ ],
781
+ "translate": [
782
+ 4.5,
783
+ 9.6,
784
+ -20.25
785
+ ]
786
+ }
787
+ },
788
+ {
789
+ "id": "mipi1",
790
+ "op": "box",
791
+ "label": "MIPI camera/display 1",
792
+ "component": "connectors",
793
+ "material": "plastic_white",
794
+ "params": {
795
+ "size": [
796
+ 3.0,
797
+ 4.0,
798
+ 12.5
799
+ ],
800
+ "translate": [
801
+ 8.5,
802
+ 9.6,
803
+ -20.25
804
+ ]
805
+ }
806
+ },
807
+ {
808
+ "id": "pcie",
809
+ "op": "box",
810
+ "label": "PCIe 2.0 x1 FPC connector",
811
+ "component": "connectors",
812
+ "material": "plastic_white",
813
+ "params": {
814
+ "size": [
815
+ 3.5,
816
+ 2.5,
817
+ 16.0
818
+ ],
819
+ "translate": [
820
+ -39.75,
821
+ 8.85,
822
+ 0.0
823
+ ]
824
+ }
825
+ },
826
+ {
827
+ "id": "fan_hdr",
828
+ "op": "box",
829
+ "label": "Fan header",
830
+ "component": "connectors",
831
+ "material": "plastic_white",
832
+ "params": {
833
+ "size": [
834
+ 5.0,
835
+ 3.0,
836
+ 3.0
837
+ ],
838
+ "translate": [
839
+ 17.0,
840
+ 9.1,
841
+ 16.5
842
+ ]
843
+ }
844
+ },
845
+ {
846
+ "id": "sd",
847
+ "op": "box",
848
+ "label": "microSD card slot (underside)",
849
+ "component": "connectors",
850
+ "material": "steel_shell",
851
+ "params": {
852
+ "size": [
853
+ 14.0,
854
+ 1.4,
855
+ 15.0
856
+ ],
857
+ "translate": [
858
+ -35.5,
859
+ 5.3,
860
+ 0.0
861
+ ]
862
+ }
863
+ },
864
+ {
865
+ "id": "sd_card",
866
+ "op": "box",
867
+ "label": "microSD card",
868
+ "component": "connectors",
869
+ "material": "plastic_black",
870
+ "params": {
871
+ "size": [
872
+ 2.5,
873
+ 1.0,
874
+ 11.0
875
+ ],
876
+ "translate": [
877
+ -43.75,
878
+ 5.3,
879
+ 0.0
880
+ ]
881
+ }
882
+ }
883
+ ]
884
+ }