Metadata-Version: 2.4
Name: loadpath
Version: 0.1.6
Summary: Agent-driven generative design for printed parts: describe what to build, get a topology-optimized part with its loads, interfaces and printability checked.
License-Expression: MIT
Project-URL: Homepage, https://github.com/connorwhite-online/loadpath
Project-URL: Documentation, https://github.com/connorwhite-online/loadpath/tree/main/docs
Project-URL: Repository, https://github.com/connorwhite-online/loadpath
Project-URL: Issues, https://github.com/connorwhite-online/loadpath/issues
Keywords: topology optimization,generative design,3d printing,fea,cad
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Science/Research
Classifier: Intended Audience :: Manufacturing
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Scientific/Engineering :: Physics
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: numpy>=1.26
Requires-Dist: scipy>=1.11
Requires-Dist: pyamg>=5.0
Requires-Dist: scikit-image>=0.22
Requires-Dist: trimesh>=4.0
Requires-Dist: manifold3d>=3.0
Requires-Dist: rtree>=1.0
Requires-Dist: numba>=0.59
Provides-Extra: render
Requires-Dist: matplotlib>=3.8; extra == "render"
Requires-Dist: shapely>=2.0; extra == "render"
Requires-Dist: fast_simplification>=0.1; extra == "render"
Provides-Extra: mcp
Requires-Dist: mcp>=2.0; extra == "mcp"
Requires-Dist: matplotlib>=3.8; extra == "mcp"
Requires-Dist: shapely>=2.0; extra == "mcp"
Provides-Extra: gpu
Requires-Dist: torch>=2.2; extra == "gpu"
Provides-Extra: flow
Requires-Dist: numba>=0.59; extra == "flow"
Provides-Extra: crosscheck
Requires-Dist: gmsh>=4.11; extra == "crosscheck"
Requires-Dist: pytetwild>=0.4; extra == "crosscheck"
Requires-Dist: pyvista>=0.44; extra == "crosscheck"
Requires-Dist: pypardiso>=0.4; (platform_machine == "x86_64" or platform_machine == "AMD64") and extra == "crosscheck"
Provides-Extra: fast
Requires-Dist: pypardiso>=0.4; extra == "fast"
Provides-Extra: critic
Requires-Dist: anthropic; extra == "critic"
Requires-Dist: matplotlib>=3.8; extra == "critic"
Requires-Dist: shapely>=2.0; extra == "critic"
Provides-Extra: step
Requires-Dist: cadquery-ocp>=7.7; extra == "step"
Requires-Dist: embreex>=4.3; extra == "step"
Provides-Extra: surface
Requires-Dist: cadquery-ocp>=7.7; extra == "surface"
Requires-Dist: embreex>=4.3; extra == "surface"
Requires-Dist: pyinstantmeshes>=1.0; extra == "surface"
Requires-Dist: libigl>=2.5; extra == "surface"
Requires-Dist: gpytoolbox>=0.3.8; extra == "surface"
Provides-Extra: exterior
Requires-Dist: libigl>=2.5; extra == "exterior"
Provides-Extra: scan
Requires-Dist: embreex>=4.3; extra == "scan"
Provides-Extra: aero
Requires-Dist: neuralfoil>=0.3; extra == "aero"
Provides-Extra: 3mf
Requires-Dist: lib3mf>=2.4; extra == "3mf"
Requires-Dist: pillow>=9; extra == "3mf"
Dynamic: license-file

# loadpath

**Generative design for 3D printed parts, driven by your coding agent.**
Describe the part. loadpath grows it from the loads, cuts its mounts and holes
exactly, checks it with a fresh analysis, and hands back a printable file with
a pass/fail report.

<table>
<tr>
<td align="center" width="50%"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/robot-wrist-link-mjf-part.png" height="380"></td>
<td align="center" width="50%"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/stress/robot-wrist-link-mjf.png" height="380"></td>
</tr>
<tr>
<td align="center" colspan="2"><sub>A robot-arm wrist link as delivered (left) and its stress from a fresh analysis
(right, blue low to red high). MJF nylon, 40.2 g, safety factor 5.8.</sub></td>
</tr>
</table>

## Quick start

```bash
pip install "loadpath[mcp]"
claude mcp add loadpath -- loadpath mcp   # or any MCP client: {"command": "loadpath", "args": ["mcp"]}
```

Then ask your agent:

> I need a hook to hang my bike on the garage wall.

You don't give it numbers. The agent works out the loads and constraints, writes
them into a study, runs loadpath, and reads the report. For this ask it decided:

- **Load**: a bike up to 15 kg, hanging for ten years. Lifting it on or off is 1.5x that, about once a day. A sideways knock is half of it.
- **Fit**: a top tube up to 50 mm wide, held 165 mm out so the handlebars and pedals clear the wall.
- **Mount**: two #10 wood screws into one stud.
- **Material**: PA 12 (MJF). It tried PETG first, but daily lifting fatigued the printed layers near the screws.

<table>
<tr>
<td align="center"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/readme/bike-hook.png" width="420"></td>
</tr>
<tr>
<td align="center"><sub>The hook it delivered, with the top tube shown in blue. 293 g, safety factor 2.8 under the lift-on load.
<a href="https://github.com/connorwhite-online/loadpath/tree/v0.1.6/examples/readme/bike-hook/">Study and script</a>.</sub></td>
</tr>
</table>

Everything runs on your machine.

## What you get

- **A part file**: STL, 3MF or STEP, watertight, with bores and bolt holes cut to fit.
- **A report**: mass, safety factor, deflection, thinnest wall, and whether every hole, mount and clearance came through.
- **A check you can trust**: the delivered mesh is analysed again, independently of the optimizer.
- **Process rules**: FDM, SLS, MJF, resin, metal printing, casting and milling.

## What it can do

- **Lightweight structural parts**: brackets, links, mounts, hooks, cranks.
- **Products inside a designer's exterior**: place the board, battery and ports, then design the interior for drops, feel and heat ([docs/ENCLOSURE.md](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/ENCLOSURE.md)).
- **Start from what you have**: a STEP file, a 3D scan, a KiCad board, a robot's URDF, or a generated mesh.
- **Printed joints instead of hardware**: coarse threads, hinges and snaps sized from the load, the layers, the print's tolerance and creep, drawn exactly ([docs/JOINTS.md](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/JOINTS.md)).
- **Lattices and heat exchangers**: graded gyroids and strut lattices, with flow and heat solved.
- **More physics**: buckling, fatigue, impact, flexures, print warp, casting, antennas.

## Where it fits

Topology optimization codes stop at a density field. Script CAD and AI CAD
tools draw shapes but don't know the loads. loadpath is the layer between:
load-aware shapes, checked and ready to make.

<!-- gallery:start -->

## Examples

Parts from the eval suite (15/15 pass on a fresh analysis of the delivered mesh). Blue arrows are loads, red is space to keep clear. Simulated results: every view, stress map and number is in [docs/GALLERY.md](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/GALLERY.md).

<table>
<tr>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/arm-link.png" width="250"><br><b>arm link</b><br><sub>55.3 g · safety factor 8.9</sub></td>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/bell-crank.png" width="250"><br><b>bell crank</b><br><sub>23.4 g · safety factor 3.2</sub></td>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/printed-hook.png" width="250"><br><b>printed hook</b><br><sub>24.2 g · safety factor 2.7</sub></td>
</tr>
<tr>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/robot-upper-arm.png" width="250"><br><b>robot upper arm</b><br><sub>207.7 g · safety factor 7.3</sub></td>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/robot-wrist-yoke.png" width="250"><br><b>robot wrist yoke</b><br><sub>17.3 g · safety factor 3.9</sub></td>
<td align="center" valign="top"><img src="https://raw.githubusercontent.com/connorwhite-online/loadpath/v0.1.6/docs/images/cases/mbb-beam.png" width="250"><br><b>mbb beam</b><br><sub>13.8 g · safety factor 1.5</sub></td>
</tr>
</table>

<sub>Rendered 2026-11-03 from `6c97b57` by `python docs/gallery.py`.</sub>

<!-- gallery:end -->

## Learn more

- [Everything in detail](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/CAPABILITIES.md): every feature, speed, case studies, limits, CLI and Python.
- [Quickstart](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/quickstart.md) and [tutorials](https://github.com/connorwhite-online/loadpath/tree/v0.1.6/docs/tutorials/): from install to a checked part.
- [For agents](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/agents.md): the MCP tools and workflow. The agent's own guide is [loadpath/SKILL.md](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/loadpath/SKILL.md).
- [How much to trust it](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/docs/VALIDATION.md): what each model has been checked against. Results are simulated.
- [Study reference](https://github.com/connorwhite-online/loadpath/blob/v0.1.6/loadpath/README.md): every study field and the report.

## License

MIT
