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,100 @@
1
+ {
2
+ "id": "coolant-isolator-petg",
3
+ "kind": "heatx",
4
+ "brief": "I want to keep my robot arm's motor coolant loop separate from the lab chiller with a printed\nwater-to-water heat exchanger: a counterflow dual-gyroid block, PETG on an FDM printer, standing on its\n100 x 60 face. It must fit in a 100 x 60 x 50 mm box (x along the 100 mm length, y across the 60, z up,\norigin at a bottom corner). Chiller water comes in at the x = 0 end and leaves at the x = 100 end; the\narm's loop goes in and out through the two long sides (y = 0 and y = 60), running against the chiller\nwater. Flows: chiller 1.5 L/min at 15 C, arm loop 1 L/min at 45 C. It has to move at least 150 W out of\nthe arm's loop, and neither side may lose more than 0.1 bar. I'm using 6 mm hose barbs, so give every\nport at least a 5 mm bore.",
5
+ "attachments": [],
6
+ "tags": [
7
+ "heatx",
8
+ "fdm",
9
+ "counterflow",
10
+ "water"
11
+ ],
12
+ "gold": {
13
+ "name": "coolant-isolator",
14
+ "core": {
15
+ "type": "box",
16
+ "min": [
17
+ 15.6,
18
+ 15.6,
19
+ 1.6
20
+ ],
21
+ "max": [
22
+ 84.4,
23
+ 44.4,
24
+ 46
25
+ ]
26
+ },
27
+ "type": "gyroid",
28
+ "layout": "counter",
29
+ "axes": "xy",
30
+ "fluids": [
31
+ "chiller",
32
+ "loop"
33
+ ],
34
+ "cell": 5,
35
+ "wall": 0.8,
36
+ "header": 6,
37
+ "shell": 1.6,
38
+ "portLength": 8,
39
+ "portDiameter": {
40
+ "chiller": 6,
41
+ "loop": 6
42
+ },
43
+ "build": "z",
44
+ "process": "fdm",
45
+ "duty": {
46
+ "chiller": {
47
+ "fluid": "water",
48
+ "lPerMin": 1.5,
49
+ "tIn": 15
50
+ },
51
+ "loop": {
52
+ "fluid": "water",
53
+ "lPerMin": 1.0,
54
+ "tIn": 45
55
+ },
56
+ "wall": "petg"
57
+ }
58
+ },
59
+ "pass": {
60
+ "envelope": {
61
+ "min": [
62
+ 0,
63
+ 0,
64
+ 0
65
+ ],
66
+ "max": [
67
+ 100,
68
+ 60,
69
+ 50
70
+ ]
71
+ },
72
+ "ports": {
73
+ "chiller-in": {
74
+ "direction": "-x",
75
+ "minDiameter": 5
76
+ },
77
+ "chiller-out": {
78
+ "direction": "+x",
79
+ "minDiameter": 5
80
+ },
81
+ "loop-in": {
82
+ "direction": "y",
83
+ "minDiameter": 5
84
+ },
85
+ "loop-out": {
86
+ "direction": "y",
87
+ "minDiameter": 5
88
+ }
89
+ },
90
+ "counterflow": [
91
+ "chiller",
92
+ "loop"
93
+ ],
94
+ "minDuty": 150,
95
+ "maxPressureDrop": {
96
+ "chiller": 10000,
97
+ "loop": 10000
98
+ }
99
+ }
100
+ }
@@ -0,0 +1,300 @@
1
+ {
2
+ "id": "elbow-bearing-bracket-sls",
3
+ "brief": "The elbow bearing bracket on my GRIP desk arm, SLS PA12. It bolts flat to the upper arm's side\nplate (z = 0) with four M4 socket-head screws along Z at (+/-22, +/-16), through 4.5 mm holes in a\n5 mm thick foot (z = 0 to 5); the heads bear on top of the foot, so each needs a flat 9 mm seat at\nz = 5 and a 9 mm column clear straight up above it for the hex key. The bracket holds two 608\nbearings back to back for the elbow shaft: their axis is along Y through (0, 0, 42), the seat is\n22 mm diameter from y = -7 to 7 with at least 4 mm of wall round it, the bearings press in from\nthe -Y side (keep the 22 mm bore open out that way), and the 8 mm shaft runs right through along Y\n(10 mm clearance). Everything fits in x = -32 to 32, y = -22 to 22, z = 0 to 60. Loads on the\nbearings: up to 150 N radial from the forearm, in any direction perpendicular to the shaft; 60 N\nof axial thrust along +Y; and a 2.5 N.m tipping moment about +X from the forearm hanging off the\nshaft. Safety factor 2, and under 16 g.",
4
+ "attachments": [],
5
+ "tags": [
6
+ "arm",
7
+ "sls",
8
+ "fasteners",
9
+ "bearing",
10
+ "any-direction",
11
+ "moment"
12
+ ],
13
+ "gold": {
14
+ "designSpace": [
15
+ {
16
+ "type": "box",
17
+ "min": [
18
+ -32.0,
19
+ -22.0,
20
+ 0.0
21
+ ],
22
+ "max": [
23
+ 32.0,
24
+ 22.0,
25
+ 60.0
26
+ ]
27
+ }
28
+ ],
29
+ "fasteners": [
30
+ {
31
+ "id": "m4-0",
32
+ "size": "M4",
33
+ "seat": [
34
+ 22,
35
+ 16,
36
+ 5
37
+ ],
38
+ "direction": "-z",
39
+ "grip": 5,
40
+ "end": "face",
41
+ "headOn": "this",
42
+ "counterbore": 9
43
+ },
44
+ {
45
+ "id": "m4-1",
46
+ "size": "M4",
47
+ "seat": [
48
+ -22,
49
+ 16,
50
+ 5
51
+ ],
52
+ "direction": "-z",
53
+ "grip": 5,
54
+ "end": "face",
55
+ "headOn": "this",
56
+ "counterbore": 9
57
+ },
58
+ {
59
+ "id": "m4-2",
60
+ "size": "M4",
61
+ "seat": [
62
+ -22,
63
+ -16,
64
+ 5
65
+ ],
66
+ "direction": "-z",
67
+ "grip": 5,
68
+ "end": "face",
69
+ "headOn": "this",
70
+ "counterbore": 9
71
+ },
72
+ {
73
+ "id": "m4-3",
74
+ "size": "M4",
75
+ "seat": [
76
+ 22,
77
+ -16,
78
+ 5
79
+ ],
80
+ "direction": "-z",
81
+ "grip": 5,
82
+ "end": "face",
83
+ "headOn": "this",
84
+ "counterbore": 9
85
+ }
86
+ ],
87
+ "preserve": [
88
+ {
89
+ "id": "housing",
90
+ "shape": {
91
+ "type": "cylinder",
92
+ "p0": [
93
+ 0.0,
94
+ -7.0,
95
+ 42.0
96
+ ],
97
+ "p1": [
98
+ 0.0,
99
+ 7.0,
100
+ 42.0
101
+ ],
102
+ "r": 15.0,
103
+ "rInner": 11.0
104
+ }
105
+ }
106
+ ],
107
+ "keepOut": [
108
+ {
109
+ "id": "bearing",
110
+ "shape": {
111
+ "type": "cylinder",
112
+ "p0": [
113
+ 0.0,
114
+ -7.0,
115
+ 42.0
116
+ ],
117
+ "p1": [
118
+ 0.0,
119
+ 7.0,
120
+ 42.0
121
+ ],
122
+ "r": 11.0
123
+ }
124
+ },
125
+ {
126
+ "id": "bearing-entry",
127
+ "shape": {
128
+ "type": "cylinder",
129
+ "p0": [
130
+ 0.0,
131
+ -30.0,
132
+ 42.0
133
+ ],
134
+ "p1": [
135
+ 0.0,
136
+ -7.0,
137
+ 42.0
138
+ ],
139
+ "r": 11.0
140
+ },
141
+ "bore": false
142
+ },
143
+ {
144
+ "id": "shaft",
145
+ "shape": {
146
+ "type": "cylinder",
147
+ "p0": [
148
+ 0.0,
149
+ -30.0,
150
+ 42.0
151
+ ],
152
+ "p1": [
153
+ 0.0,
154
+ 30.0,
155
+ 42.0
156
+ ],
157
+ "r": 5.0
158
+ }
159
+ }
160
+ ],
161
+ "supports": [
162
+ {
163
+ "region": "m4-0-bore",
164
+ "fix": "xy"
165
+ },
166
+ {
167
+ "region": "m4-1-bore",
168
+ "fix": "xy"
169
+ },
170
+ {
171
+ "region": "m4-2-bore",
172
+ "fix": "xy"
173
+ },
174
+ {
175
+ "region": "m4-3-bore",
176
+ "fix": "xy"
177
+ },
178
+ {
179
+ "shape": {
180
+ "type": "union",
181
+ "shapes": [
182
+ {
183
+ "type": "cylinder",
184
+ "p0": [
185
+ 22.0,
186
+ 16.0,
187
+ -0.5
188
+ ],
189
+ "p1": [
190
+ 22.0,
191
+ 16.0,
192
+ 0.3
193
+ ],
194
+ "r": 4.5
195
+ },
196
+ {
197
+ "type": "cylinder",
198
+ "p0": [
199
+ -22.0,
200
+ 16.0,
201
+ -0.5
202
+ ],
203
+ "p1": [
204
+ -22.0,
205
+ 16.0,
206
+ 0.3
207
+ ],
208
+ "r": 4.5
209
+ },
210
+ {
211
+ "type": "cylinder",
212
+ "p0": [
213
+ -22.0,
214
+ -16.0,
215
+ -0.5
216
+ ],
217
+ "p1": [
218
+ -22.0,
219
+ -16.0,
220
+ 0.3
221
+ ],
222
+ "r": 4.5
223
+ },
224
+ {
225
+ "type": "cylinder",
226
+ "p0": [
227
+ 22.0,
228
+ -16.0,
229
+ -0.5
230
+ ],
231
+ "p1": [
232
+ 22.0,
233
+ -16.0,
234
+ 0.3
235
+ ],
236
+ "r": 4.5
237
+ }
238
+ ]
239
+ },
240
+ "fix": "z"
241
+ }
242
+ ],
243
+ "loadCases": [
244
+ {
245
+ "name": "radial",
246
+ "loads": [
247
+ {
248
+ "region": "bearing",
249
+ "force": [
250
+ 0,
251
+ 0,
252
+ -150
253
+ ],
254
+ "direction": "xz",
255
+ "distribution": "bearing"
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "name": "thrust",
261
+ "loads": [
262
+ {
263
+ "region": "bearing",
264
+ "force": [
265
+ 0,
266
+ 60,
267
+ 0
268
+ ]
269
+ }
270
+ ]
271
+ },
272
+ {
273
+ "name": "tip",
274
+ "loads": [
275
+ {
276
+ "region": "bearing",
277
+ "moment": [
278
+ 2500,
279
+ 0,
280
+ 0
281
+ ]
282
+ }
283
+ ]
284
+ }
285
+ ],
286
+ "material": "pa12",
287
+ "process": "sls",
288
+ "goal": {
289
+ "safetyFactor": 2
290
+ },
291
+ "resolution": {
292
+ "maxElements": 20000
293
+ },
294
+ "name": "elbow-bearing-bracket-sls"
295
+ },
296
+ "pass": {
297
+ "safetyFactor": 2,
298
+ "maxMass": 16
299
+ }
300
+ }