loadpath 0.1.1__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 (220) hide show
  1. loadpath/README.md +294 -0
  2. loadpath/SKILL.md +584 -0
  3. loadpath/__init__.py +17 -0
  4. loadpath/__main__.py +1202 -0
  5. loadpath/am.py +316 -0
  6. loadpath/amgfast.py +326 -0
  7. loadpath/assembly.py +985 -0
  8. loadpath/benchmarks/__init__.py +0 -0
  9. loadpath/benchmarks/beams.py +266 -0
  10. loadpath/benchmarks/cases/ge-bracket.json +380 -0
  11. loadpath/benchmarks/evaluate.py +172 -0
  12. loadpath/benchmarks/mechanisms.py +416 -0
  13. loadpath/benchmarks/problems.py +140 -0
  14. loadpath/benchmarks/reference/bridge-3d.top3d.npz +0 -0
  15. loadpath/benchmarks/reference/cantilever-3d.top3d.npz +0 -0
  16. loadpath/benchmarks/reference/lbracket-2d.top88-ft2.npz +0 -0
  17. loadpath/benchmarks/reference/mbb-2d.top88-ft1.npz +0 -0
  18. loadpath/benchmarks/reference/mbb-2d.top88-ft2.npz +0 -0
  19. loadpath/benchmarks/reference.py +138 -0
  20. loadpath/benchmarks/run.py +301 -0
  21. loadpath/brep.py +1470 -0
  22. loadpath/bucklingopt.py +300 -0
  23. loadpath/buildsim.py +1490 -0
  24. loadpath/cadimport.py +904 -0
  25. loadpath/calibration.py +885 -0
  26. loadpath/cavities.py +211 -0
  27. loadpath/checks/__init__.py +0 -0
  28. loadpath/checks/dfm.py +354 -0
  29. loadpath/checks/exchanger.py +7 -0
  30. loadpath/checks/fea.py +212 -0
  31. loadpath/checks/fit.py +475 -0
  32. loadpath/checks/networks.py +260 -0
  33. loadpath/checks/opening.py +67 -0
  34. loadpath/checks/sdf_kit.py +7 -0
  35. loadpath/conjugate.py +267 -0
  36. loadpath/constrained.py +329 -0
  37. loadpath/contact.py +691 -0
  38. loadpath/coopt.py +342 -0
  39. loadpath/cores.py +163 -0
  40. loadpath/crease.py +1138 -0
  41. loadpath/critic.py +212 -0
  42. loadpath/crosscheck.py +1107 -0
  43. loadpath/cutcell.py +510 -0
  44. loadpath/data/lattice_buckling.json +439 -0
  45. loadpath/data/lattice_tensors.json +27449 -0
  46. loadpath/data/published_experiments.json +71 -0
  47. loadpath/decimate.py +177 -0
  48. loadpath/delivery.py +190 -0
  49. loadpath/directions.py +262 -0
  50. loadpath/domain.py +630 -0
  51. loadpath/drains.py +615 -0
  52. loadpath/durability.py +413 -0
  53. loadpath/editor.html +3135 -0
  54. loadpath/editor.py +610 -0
  55. loadpath/escape.py +354 -0
  56. loadpath/evals/__init__.py +0 -0
  57. loadpath/evals/baselines/coarse.json +1543 -0
  58. loadpath/evals/baselines/full.json +1497 -0
  59. loadpath/evals/brief_kinds/__init__.py +1 -0
  60. loadpath/evals/brief_kinds/heatx.py +387 -0
  61. loadpath/evals/brief_kinds/lattice.py +571 -0
  62. loadpath/evals/brief_kinds/multimat.py +593 -0
  63. loadpath/evals/briefs/assets/bracket.step +1201 -0
  64. loadpath/evals/briefs/assets/desk_arm.urdf +22 -0
  65. loadpath/evals/briefs/assets/elbow-gearbox.stl +0 -0
  66. loadpath/evals/briefs/assets/motor-body.stl +0 -0
  67. loadpath/evals/briefs/assets/sketch.png +0 -0
  68. loadpath/evals/briefs/base-adapter-fdm.json +492 -0
  69. loadpath/evals/briefs/bell-crank-lpbf.json +180 -0
  70. loadpath/evals/briefs/belt-tensioner-fdm.json +151 -0
  71. loadpath/evals/briefs/camera-boom-mjf.json +339 -0
  72. loadpath/evals/briefs/camera-mount-pla.json +203 -0
  73. loadpath/evals/briefs/coolant-isolator-petg.json +100 -0
  74. loadpath/evals/briefs/elbow-bearing-bracket-sls.json +300 -0
  75. loadpath/evals/briefs/elbow-gearbox-forearm-mjf.json +558 -0
  76. loadpath/evals/briefs/elbow-link-fatigue-fdm.json +251 -0
  77. loadpath/evals/briefs/elbow-stop-pad-tpu.json +39 -0
  78. loadpath/evals/briefs/forearm-fdm.json +146 -0
  79. loadpath/evals/briefs/forearm-servo-link-fdm.json +327 -0
  80. loadpath/evals/briefs/grip-pad-finger-mm.json +354 -0
  81. loadpath/evals/briefs/gripper-bracket-creep-fdm.json +340 -0
  82. loadpath/evals/briefs/gripper-finger-fdm.json +155 -0
  83. loadpath/evals/briefs/gripper-jaw-fatigue-mjf.json +328 -0
  84. loadpath/evals/briefs/gripper-palm-fdm.json +715 -0
  85. loadpath/evals/briefs/hot-stepper-mount-asa-fdm.json +471 -0
  86. loadpath/evals/briefs/hpu-oil-cooler-lpbf.json +121 -0
  87. loadpath/evals/briefs/isolated-camera-mount-mm.json +675 -0
  88. loadpath/evals/briefs/kart-charge-cooler-lpbf.json +93 -0
  89. loadpath/evals/briefs/lighten-step-bracket.json +220 -0
  90. loadpath/evals/briefs/nema17-mount-stl.json +429 -0
  91. loadpath/evals/briefs/pillow-block-sls.json +220 -0
  92. loadpath/evals/briefs/polyjet-fingertip-mm.json +305 -0
  93. loadpath/evals/briefs/rod-hook-pla.json +154 -0
  94. loadpath/evals/briefs/sensor-arm-resin.json +150 -0
  95. loadpath/evals/briefs/shelf-bracket-pla.json +158 -0
  96. loadpath/evals/briefs/shoulder-riser-mjf.json +487 -0
  97. loadpath/evals/briefs/sketch-clevis.json +229 -0
  98. loadpath/evals/briefs/spring-bracket-pacf.json +294 -0
  99. loadpath/evals/briefs/tool-flange-ti64.json +280 -0
  100. loadpath/evals/briefs/tray-arm-lattice-fdm.json +260 -0
  101. loadpath/evals/briefs/turret-fdm.json +281 -0
  102. loadpath/evals/briefs/upper-arm-sls.json +179 -0
  103. loadpath/evals/briefs/urdf-forearm.json +233 -0
  104. loadpath/evals/briefs/wrist-link-mjf.json +278 -0
  105. loadpath/evals/briefs/wrist-yoke-mjf.json +245 -0
  106. loadpath/evals/briefs.py +393 -0
  107. loadpath/evals/cases/arm-link-cast.json +157 -0
  108. loadpath/evals/cases/arm-link-driven.json +171 -0
  109. loadpath/evals/cases/arm-link-sandwich.json +315 -0
  110. loadpath/evals/cases/arm-link.json +111 -0
  111. loadpath/evals/cases/bell-crank.json +116 -0
  112. loadpath/evals/cases/grip-turret.json +479 -0
  113. loadpath/evals/cases/grip-upper-arm.json +253 -0
  114. loadpath/evals/cases/grip-wrist-link-mjf.json +929 -0
  115. loadpath/evals/cases/grip-wrist-yoke.json +831 -0
  116. loadpath/evals/cases/lpbf-intercooler-core.json +59 -0
  117. loadpath/evals/cases/mbb-beam.json +61 -0
  118. loadpath/evals/cases/motor-body.stl +0 -0
  119. loadpath/evals/cases/motor-mount.json +265 -0
  120. loadpath/evals/cases/printed-hook.json +77 -0
  121. loadpath/evals/cases/wall-bracket-fasteners.json +125 -0
  122. loadpath/evals/cases/wall-bracket.json +126 -0
  123. loadpath/evals/corpus.py +179 -0
  124. loadpath/evals/pareto.py +90 -0
  125. loadpath/evals/run.py +860 -0
  126. loadpath/examples/arm-link.json +25 -0
  127. loadpath/examples/bumpered-bracket-compression.json +225 -0
  128. loadpath/examples/bumpered-bracket-lattice.json +204 -0
  129. loadpath/examples/bumpered-bracket.json +34 -0
  130. loadpath/examples/gripper-finger-mm.json +185 -0
  131. loadpath/examples/heat-exchanger-counterflow.json +21 -0
  132. loadpath/examples/heat-exchanger-crossflow-tuned.json +48 -0
  133. loadpath/examples/heat-exchanger-crossflow.json +20 -0
  134. loadpath/examples/pedal-lattice.json +23 -0
  135. loadpath/examples/pressure-plenum.json +12 -0
  136. loadpath/examples/shelf-bracket.json +27 -0
  137. loadpath/exchanger.py +831 -0
  138. loadpath/fasteners.py +199 -0
  139. loadpath/fem.py +668 -0
  140. loadpath/femops.py +70 -0
  141. loadpath/fieldjit.py +981 -0
  142. loadpath/fieldops.py +119 -0
  143. loadpath/fields.py +3697 -0
  144. loadpath/fieldtorch.py +464 -0
  145. loadpath/flow.py +984 -0
  146. loadpath/flowtopo.py +300 -0
  147. loadpath/gpu.py +521 -0
  148. loadpath/heatx.py +1067 -0
  149. loadpath/heatx_thermal.py +432 -0
  150. loadpath/homogenized.py +886 -0
  151. loadpath/ibrep.py +552 -0
  152. loadpath/impact.py +693 -0
  153. loadpath/infill.py +376 -0
  154. loadpath/interface_library.py +340 -0
  155. loadpath/interlock.py +186 -0
  156. loadpath/isolator.py +149 -0
  157. loadpath/knn.py +204 -0
  158. loadpath/lattice.py +1065 -0
  159. loadpath/lattice3mf.py +760 -0
  160. loadpath/lattice_buckling.py +245 -0
  161. loadpath/lattice_grade.py +325 -0
  162. loadpath/lattice_orient.py +595 -0
  163. loadpath/lattice_print.py +159 -0
  164. loadpath/lattice_tensors.py +558 -0
  165. loadpath/latticestep.py +1210 -0
  166. loadpath/manufacture.py +446 -0
  167. loadpath/material_library.py +489 -0
  168. loadpath/materials.py +144 -0
  169. loadpath/mcp_server.py +786 -0
  170. loadpath/mechanism.py +218 -0
  171. loadpath/mechanism_nl.py +811 -0
  172. loadpath/meshops.py +452 -0
  173. loadpath/mg.py +853 -0
  174. loadpath/mma.py +214 -0
  175. loadpath/modal.py +210 -0
  176. loadpath/multimat.py +1788 -0
  177. loadpath/narrowband.py +418 -0
  178. loadpath/nlkernel.py +241 -0
  179. loadpath/nonlinear.py +1095 -0
  180. loadpath/orient.py +334 -0
  181. loadpath/porous.py +994 -0
  182. loadpath/pressure.py +171 -0
  183. loadpath/preview.py +335 -0
  184. loadpath/printcheck.py +263 -0
  185. loadpath/printsetup.py +207 -0
  186. loadpath/processcheck.py +376 -0
  187. loadpath/quick.py +113 -0
  188. loadpath/recall.py +406 -0
  189. loadpath/reconstruct.py +797 -0
  190. loadpath/render.py +436 -0
  191. loadpath/resolved.py +189 -0
  192. loadpath/schema.py +1701 -0
  193. loadpath/sdf_kit.py +843 -0
  194. loadpath/selfx.py +292 -0
  195. loadpath/shapes.py +584 -0
  196. loadpath/sharp.py +717 -0
  197. loadpath/simp.py +1170 -0
  198. loadpath/sizing.py +312 -0
  199. loadpath/slicer.py +321 -0
  200. loadpath/spec.py +1072 -0
  201. loadpath/step.py +806 -0
  202. loadpath/struts.py +639 -0
  203. loadpath/study.py +1937 -0
  204. loadpath/tasks.py +822 -0
  205. loadpath/thermal.py +1691 -0
  206. loadpath/threemf.py +487 -0
  207. loadpath/tune.py +437 -0
  208. loadpath/validation.py +145 -0
  209. loadpath/verify.py +1215 -0
  210. loadpath/viewer.html +694 -0
  211. loadpath/viewer.py +446 -0
  212. loadpath/viscoelastic.py +106 -0
  213. loadpath/voxelprint.py +582 -0
  214. loadpath/voxels.py +402 -0
  215. loadpath-0.1.1.dist-info/METADATA +319 -0
  216. loadpath-0.1.1.dist-info/RECORD +220 -0
  217. loadpath-0.1.1.dist-info/WHEEL +5 -0
  218. loadpath-0.1.1.dist-info/entry_points.txt +2 -0
  219. loadpath-0.1.1.dist-info/licenses/LICENSE +21 -0
  220. loadpath-0.1.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,487 @@
1
+ {
2
+ "id": "shoulder-riser-mjf",
3
+ "kind": "lattice",
4
+ "brief": "The shoulder riser on my GRIP desk arm is a solid 60 x 50 x 40 mm block of MJF PA12 and weighs\n110 g, which is a lot to spin on the turntable. Origin at the centre of its bottom face, z up: it\noccupies x = -30 to 30, y = -25 to 25, z = 0 to 40, and sits flat on the turntable. Four M4 screws\ngo through it top to bottom into the turntable at (+/-22, +/-17); their heads sit in 8 mm\ncounterbores from z = 34 up, on solid seats. The shoulder bracket screws down onto the top with two\nM5 heat-set inserts at (+/-18, 0) (6.4 mm holes from z = 30 to the top), and a 16 mm cable hole runs\nthrough the middle along Z. The arm puts up to 20 N\u00b7m on the top through the inserts, about X or\nabout Y depending on where it points, plus 60 N down. Safety factor 2.5. Keep the outside exactly as\nit is (other parts locate on its faces) and keep the top 2 mm solid for the bracket to seat on, but\nfill the inside with a lattice that is denser where the stress is, with open cells and no closed\nskin so the powder can be blown out. Get it under 70 g.",
5
+ "attachments": [],
6
+ "tags": [
7
+ "mjf",
8
+ "lattice",
9
+ "arm",
10
+ "lighten"
11
+ ],
12
+ "gold": {
13
+ "designSpace": [
14
+ {
15
+ "type": "box",
16
+ "min": [
17
+ -30,
18
+ -25,
19
+ 0
20
+ ],
21
+ "max": [
22
+ 30,
23
+ 25,
24
+ 40
25
+ ]
26
+ }
27
+ ],
28
+ "preserve": [
29
+ {
30
+ "id": "top-plate",
31
+ "shape": {
32
+ "type": "box",
33
+ "min": [
34
+ -30,
35
+ -25,
36
+ 38
37
+ ],
38
+ "max": [
39
+ 30,
40
+ 25,
41
+ 40
42
+ ]
43
+ }
44
+ },
45
+ {
46
+ "id": "base-pads",
47
+ "shape": {
48
+ "type": "union",
49
+ "shapes": [
50
+ {
51
+ "type": "cylinder",
52
+ "p0": [
53
+ -22,
54
+ -17,
55
+ 0
56
+ ],
57
+ "p1": [
58
+ -22,
59
+ -17,
60
+ 4
61
+ ],
62
+ "r": 5.5
63
+ },
64
+ {
65
+ "type": "cylinder",
66
+ "p0": [
67
+ -22,
68
+ 17,
69
+ 0
70
+ ],
71
+ "p1": [
72
+ -22,
73
+ 17,
74
+ 4
75
+ ],
76
+ "r": 5.5
77
+ },
78
+ {
79
+ "type": "cylinder",
80
+ "p0": [
81
+ 22,
82
+ -17,
83
+ 0
84
+ ],
85
+ "p1": [
86
+ 22,
87
+ -17,
88
+ 4
89
+ ],
90
+ "r": 5.5
91
+ },
92
+ {
93
+ "type": "cylinder",
94
+ "p0": [
95
+ 22,
96
+ 17,
97
+ 0
98
+ ],
99
+ "p1": [
100
+ 22,
101
+ 17,
102
+ 4
103
+ ],
104
+ "r": 5.5
105
+ }
106
+ ]
107
+ }
108
+ },
109
+ {
110
+ "id": "insert-bosses",
111
+ "shape": {
112
+ "type": "union",
113
+ "shapes": [
114
+ {
115
+ "type": "cylinder",
116
+ "p0": [
117
+ -18,
118
+ 0,
119
+ 28
120
+ ],
121
+ "p1": [
122
+ -18,
123
+ 0,
124
+ 40
125
+ ],
126
+ "r": 6.0
127
+ },
128
+ {
129
+ "type": "cylinder",
130
+ "p0": [
131
+ 18,
132
+ 0,
133
+ 28
134
+ ],
135
+ "p1": [
136
+ 18,
137
+ 0,
138
+ 40
139
+ ],
140
+ "r": 6.0
141
+ }
142
+ ]
143
+ }
144
+ },
145
+ {
146
+ "id": "head-seats",
147
+ "shape": {
148
+ "type": "union",
149
+ "shapes": [
150
+ {
151
+ "type": "cylinder",
152
+ "p0": [
153
+ -22,
154
+ -17,
155
+ 30
156
+ ],
157
+ "p1": [
158
+ -22,
159
+ -17,
160
+ 34
161
+ ],
162
+ "r": 5.5
163
+ },
164
+ {
165
+ "type": "cylinder",
166
+ "p0": [
167
+ -22,
168
+ 17,
169
+ 30
170
+ ],
171
+ "p1": [
172
+ -22,
173
+ 17,
174
+ 34
175
+ ],
176
+ "r": 5.5
177
+ },
178
+ {
179
+ "type": "cylinder",
180
+ "p0": [
181
+ 22,
182
+ -17,
183
+ 30
184
+ ],
185
+ "p1": [
186
+ 22,
187
+ -17,
188
+ 34
189
+ ],
190
+ "r": 5.5
191
+ },
192
+ {
193
+ "type": "cylinder",
194
+ "p0": [
195
+ 22,
196
+ 17,
197
+ 30
198
+ ],
199
+ "p1": [
200
+ 22,
201
+ 17,
202
+ 34
203
+ ],
204
+ "r": 5.5
205
+ }
206
+ ]
207
+ }
208
+ }
209
+ ],
210
+ "keepOut": [
211
+ {
212
+ "id": "m4",
213
+ "shape": {
214
+ "type": "union",
215
+ "shapes": [
216
+ {
217
+ "type": "cylinder",
218
+ "p0": [
219
+ -22,
220
+ -17,
221
+ -1
222
+ ],
223
+ "p1": [
224
+ -22,
225
+ -17,
226
+ 41
227
+ ],
228
+ "r": 2.2
229
+ },
230
+ {
231
+ "type": "cylinder",
232
+ "p0": [
233
+ -22,
234
+ 17,
235
+ -1
236
+ ],
237
+ "p1": [
238
+ -22,
239
+ 17,
240
+ 41
241
+ ],
242
+ "r": 2.2
243
+ },
244
+ {
245
+ "type": "cylinder",
246
+ "p0": [
247
+ 22,
248
+ -17,
249
+ -1
250
+ ],
251
+ "p1": [
252
+ 22,
253
+ -17,
254
+ 41
255
+ ],
256
+ "r": 2.2
257
+ },
258
+ {
259
+ "type": "cylinder",
260
+ "p0": [
261
+ 22,
262
+ 17,
263
+ -1
264
+ ],
265
+ "p1": [
266
+ 22,
267
+ 17,
268
+ 41
269
+ ],
270
+ "r": 2.2
271
+ }
272
+ ]
273
+ }
274
+ },
275
+ {
276
+ "id": "m4-heads",
277
+ "shape": {
278
+ "type": "union",
279
+ "shapes": [
280
+ {
281
+ "type": "cylinder",
282
+ "p0": [
283
+ -22,
284
+ -17,
285
+ 34
286
+ ],
287
+ "p1": [
288
+ -22,
289
+ -17,
290
+ 45
291
+ ],
292
+ "r": 4.0
293
+ },
294
+ {
295
+ "type": "cylinder",
296
+ "p0": [
297
+ -22,
298
+ 17,
299
+ 34
300
+ ],
301
+ "p1": [
302
+ -22,
303
+ 17,
304
+ 45
305
+ ],
306
+ "r": 4.0
307
+ },
308
+ {
309
+ "type": "cylinder",
310
+ "p0": [
311
+ 22,
312
+ -17,
313
+ 34
314
+ ],
315
+ "p1": [
316
+ 22,
317
+ -17,
318
+ 45
319
+ ],
320
+ "r": 4.0
321
+ },
322
+ {
323
+ "type": "cylinder",
324
+ "p0": [
325
+ 22,
326
+ 17,
327
+ 34
328
+ ],
329
+ "p1": [
330
+ 22,
331
+ 17,
332
+ 45
333
+ ],
334
+ "r": 4.0
335
+ }
336
+ ]
337
+ },
338
+ "bore": false
339
+ },
340
+ {
341
+ "id": "inserts",
342
+ "shape": {
343
+ "type": "union",
344
+ "shapes": [
345
+ {
346
+ "type": "cylinder",
347
+ "p0": [
348
+ -18,
349
+ 0,
350
+ 30
351
+ ],
352
+ "p1": [
353
+ -18,
354
+ 0,
355
+ 41
356
+ ],
357
+ "r": 3.2
358
+ },
359
+ {
360
+ "type": "cylinder",
361
+ "p0": [
362
+ 18,
363
+ 0,
364
+ 30
365
+ ],
366
+ "p1": [
367
+ 18,
368
+ 0,
369
+ 41
370
+ ],
371
+ "r": 3.2
372
+ }
373
+ ]
374
+ }
375
+ },
376
+ {
377
+ "id": "cable",
378
+ "shape": {
379
+ "type": "cylinder",
380
+ "p0": [
381
+ 0,
382
+ 0,
383
+ -1
384
+ ],
385
+ "p1": [
386
+ 0,
387
+ 0,
388
+ 41
389
+ ],
390
+ "r": 8.0
391
+ }
392
+ }
393
+ ],
394
+ "supports": [
395
+ {
396
+ "region": "m4"
397
+ },
398
+ {
399
+ "shape": {
400
+ "type": "box",
401
+ "min": [
402
+ -30,
403
+ -25,
404
+ -0.5
405
+ ],
406
+ "max": [
407
+ 30,
408
+ 25,
409
+ 0.3
410
+ ]
411
+ },
412
+ "fix": "z"
413
+ }
414
+ ],
415
+ "loadCases": [
416
+ {
417
+ "name": "arm-forward",
418
+ "loads": [
419
+ {
420
+ "region": "inserts",
421
+ "force": [
422
+ 0,
423
+ 0,
424
+ -60
425
+ ],
426
+ "moment": [
427
+ 0,
428
+ 20000,
429
+ 0
430
+ ]
431
+ }
432
+ ]
433
+ },
434
+ {
435
+ "name": "arm-sideways",
436
+ "loads": [
437
+ {
438
+ "region": "inserts",
439
+ "force": [
440
+ 0,
441
+ 0,
442
+ -60
443
+ ],
444
+ "moment": [
445
+ 20000,
446
+ 0,
447
+ 0
448
+ ]
449
+ }
450
+ ]
451
+ }
452
+ ],
453
+ "material": "pa12",
454
+ "process": "mjf",
455
+ "goal": {
456
+ "safetyFactor": 2.5
457
+ },
458
+ "name": "shoulder-riser-mjf",
459
+ "resolution": {
460
+ "maxElements": 60000
461
+ }
462
+ },
463
+ "pass": {
464
+ "safetyFactor": 2.5,
465
+ "maxMass": 70,
466
+ "cellular": {
467
+ "probe": {
468
+ "min": [
469
+ -27,
470
+ -22,
471
+ 6
472
+ ],
473
+ "max": [
474
+ 27,
475
+ 22,
476
+ 34
477
+ ]
478
+ },
479
+ "maxFill": 0.6,
480
+ "minWallsPer10mm": 0.6,
481
+ "minHull": 0.9
482
+ },
483
+ "drains": {
484
+ "maxEnclosed": 50
485
+ }
486
+ }
487
+ }
@@ -0,0 +1,229 @@
1
+ {
2
+ "id": "sketch-clevis",
3
+ "brief": "Can you make the part in my sketch (sketch.png, attached)? Everything you need is on it.\nAs light as you can while still meeting it.",
4
+ "attachments": [
5
+ "assets/sketch.png"
6
+ ],
7
+ "tags": [
8
+ "image",
9
+ "fdm"
10
+ ],
11
+ "gold": {
12
+ "designSpace": [
13
+ {
14
+ "type": "box",
15
+ "min": [
16
+ -35.0,
17
+ -7.0,
18
+ 0.0
19
+ ],
20
+ "max": [
21
+ 35.0,
22
+ 7.0,
23
+ 8.0
24
+ ]
25
+ },
26
+ {
27
+ "type": "box",
28
+ "min": [
29
+ -20.0,
30
+ -7.0,
31
+ 8.0
32
+ ],
33
+ "max": [
34
+ 20.0,
35
+ 7.0,
36
+ 55.0
37
+ ]
38
+ }
39
+ ],
40
+ "preserve": [
41
+ {
42
+ "id": "pads",
43
+ "shape": {
44
+ "type": "union",
45
+ "shapes": [
46
+ {
47
+ "type": "cylinder",
48
+ "p0": [
49
+ 25.0,
50
+ 0.0,
51
+ 0.0
52
+ ],
53
+ "p1": [
54
+ 25.0,
55
+ 0.0,
56
+ 8.0
57
+ ],
58
+ "r": 5.0
59
+ },
60
+ {
61
+ "type": "cylinder",
62
+ "p0": [
63
+ -25.0,
64
+ 0.0,
65
+ 0.0
66
+ ],
67
+ "p1": [
68
+ -25.0,
69
+ 0.0,
70
+ 8.0
71
+ ],
72
+ "r": 5.0
73
+ }
74
+ ]
75
+ }
76
+ },
77
+ {
78
+ "id": "eye",
79
+ "shape": {
80
+ "type": "cylinder",
81
+ "center": [
82
+ 0.0,
83
+ 0.0,
84
+ 42.0
85
+ ],
86
+ "axis": "y",
87
+ "length": 14.0,
88
+ "r": 7.0
89
+ }
90
+ }
91
+ ],
92
+ "keepOut": [
93
+ {
94
+ "id": "m4",
95
+ "shape": {
96
+ "type": "union",
97
+ "shapes": [
98
+ {
99
+ "type": "cylinder",
100
+ "p0": [
101
+ 25.0,
102
+ 0.0,
103
+ -1.0
104
+ ],
105
+ "p1": [
106
+ 25.0,
107
+ 0.0,
108
+ 9.0
109
+ ],
110
+ "r": 2.25
111
+ },
112
+ {
113
+ "type": "cylinder",
114
+ "p0": [
115
+ -25.0,
116
+ 0.0,
117
+ -1.0
118
+ ],
119
+ "p1": [
120
+ -25.0,
121
+ 0.0,
122
+ 9.0
123
+ ],
124
+ "r": 2.25
125
+ }
126
+ ]
127
+ }
128
+ },
129
+ {
130
+ "id": "pin",
131
+ "shape": {
132
+ "type": "cylinder",
133
+ "center": [
134
+ 0.0,
135
+ 0.0,
136
+ 42.0
137
+ ],
138
+ "axis": "y",
139
+ "length": 20.0,
140
+ "r": 4.0
141
+ }
142
+ }
143
+ ],
144
+ "supports": [
145
+ {
146
+ "region": "m4"
147
+ },
148
+ {
149
+ "shape": {
150
+ "type": "union",
151
+ "shapes": [
152
+ {
153
+ "type": "cylinder",
154
+ "p0": [
155
+ 25.0,
156
+ 0.0,
157
+ -0.5
158
+ ],
159
+ "p1": [
160
+ 25.0,
161
+ 0.0,
162
+ 0.3
163
+ ],
164
+ "r": 5.0
165
+ },
166
+ {
167
+ "type": "cylinder",
168
+ "p0": [
169
+ -25.0,
170
+ 0.0,
171
+ -0.5
172
+ ],
173
+ "p1": [
174
+ -25.0,
175
+ 0.0,
176
+ 0.3
177
+ ],
178
+ "r": 5.0
179
+ }
180
+ ]
181
+ },
182
+ "fix": "z"
183
+ }
184
+ ],
185
+ "loadCases": [
186
+ {
187
+ "name": "down",
188
+ "loads": [
189
+ {
190
+ "region": "pin",
191
+ "force": [
192
+ 0,
193
+ 0,
194
+ -120
195
+ ]
196
+ }
197
+ ]
198
+ },
199
+ {
200
+ "name": "side",
201
+ "loads": [
202
+ {
203
+ "region": "pin",
204
+ "force": [
205
+ -40,
206
+ 0,
207
+ 0
208
+ ]
209
+ }
210
+ ]
211
+ }
212
+ ],
213
+ "material": "petg",
214
+ "process": {
215
+ "type": "fdm",
216
+ "buildDirection": "+z"
217
+ },
218
+ "goal": {
219
+ "safetyFactor": 2
220
+ },
221
+ "name": "sketch-clevis",
222
+ "resolution": {
223
+ "maxElements": 60000
224
+ }
225
+ },
226
+ "pass": {
227
+ "safetyFactor": 2
228
+ }
229
+ }