Skip to main content

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.

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.

Quick start

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.
The hook it delivered, with the top tube shown in blue. 293 g, safety factor 2.8 under the lift-on load. Study and script.

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).
  • 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).
  • 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.

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.


arm link
55.3 g · safety factor 8.9

bell crank
23.4 g · safety factor 3.2

printed hook
24.2 g · safety factor 2.7

robot upper arm
207.7 g · safety factor 7.3

robot wrist yoke
17.3 g · safety factor 3.9

mbb beam
13.8 g · safety factor 1.5

Rendered 2026-11-03 from 6c97b57 by python docs/gallery.py.

Learn more

License

MIT

Metadata

Release files for loadpath 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for loadpath 0.1.6
File Size Uploaded Provenance Actions
loadpath-0.1.6.tar.gz 3.5 MB With provenance Details for loadpath-0.1.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for loadpath 0.1.6
File Interpreter ABI Platform Actions
loadpath-0.1.6-py3-none-any.whl Python 3 none any Details for loadpath-0.1.6-py3-none-any.whl

Total release size: 6.6 MB

Release files / loadpath-0.1.6.tar.gz

Download URL loadpath-0.1.6.tar.gz
Size 3.5 MB
Tags Source
SHA-256 checksum
How to use checksums
94efac6f73b989030302127d9f9d09febf6a14da257d0c2516f03c9a9d0cd479
BLAKE2b-256 checksum
How to use checksums
ace52c069c55fb9ff5671dff26322276d38e2ca75720d083578f667e0e98108e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Release files / loadpath-0.1.6-py3-none-any.whl

Download URL loadpath-0.1.6-py3-none-any.whl
Size 3.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9644148de5c6f15f6b54be2382ab00b371ea0e4d1f3b1b21249bf057cd282ae0
BLAKE2b-256 checksum
How to use checksums
36e759c468a18d5020712da9d49fb4db30a8210060d8d875a9b53401fdfef8dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

Security for loadpath 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for loadpath-0.1.6.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page