Design a 3D-Printable Bridge with AI¶
| Category | Creative & Real-World AI Builds |
| Status | ๐ก Partially completed |
| Repo | nextwork-design-a-3d-printable-bridge-with-ai |
| Original NextWork guide | nextwork.ai |
Learning project
Practice work following a NextWork guide, separate from my production projects.
๐ NextWork learning project. This is a practice project I built while working through NextWork's Design a 3D-Printable Bridge with AI guide. It is part of my Learning portfolio and is fully separate from my production projects.
Category: Learning โบ Creative & Real-World AI Builds
Status: ๐ก Partial
Overview¶
A two-foot bridge from a printer that only fits 180 mm means the real design work is in how it splits. This repo goes from form choice to CAD, a build-volume check, plate layouts and sliced mass and time, and keeps the 100 lb goal clearly marked as untested.
Summary¶
I ran the whole constraint loop with real CAD and slicing tools on Linux, using my own brief, reasoning and OpenSCAD design: a five-panel-per-side truss with dovetail panel joints and half-lap floor and top beams. The 609.6 mm one-piece concept fails the 180 mm build volume, and the slicer produces no G-code for it. The 10 panels, 10 beams and a fit coupon fit on six plates. Sliced with PrusaSlicer under an A1-mini-like PLA 0.20 mm profile, they come to 254.5 g and 6.53 h, so build volume, mass and time all PASS. The 100 lb load stays unverified. Secret mission: a 0.28 mm preset saved only 8.8% of print time against a 10% target, so it FAILS (honest result). Partial because Bambu Studio and Claude Code aren't available here, and nothing was printed.
The checks behind this are in docs/verification.txt.
Skills & tools¶
OpenSCAD, PrusaSlicer CLI, Design for FDM printing, Truss reasoning, Python (STL and G-code parsing)
What I built¶
design-brief.mdanddocs/form-reasoning.md: the problem in my words, why I chose a truss over an arch, the load path I assumed, and where I expect failure (midspan bottom-chord dovetails first).concept.scad: the one-piece 609.6 ร 80 ร 65 mm concept.bridge.scad: the modular design, with part selectorspreview,start_panel,middle_panel,end_panel,crossbeamandcoupon. Panels print flat, the dovetails have 0.3 mm clearance, and one beam part serves both floor and top (flipped).tools/export_all.shโstl/.tools/fit_check.pyโdocs/fit-check.txt: the concept FAILS 180ยณ mm, and every printable part PASSES (largest 129.9 ร 65 ร 8 mm).docs/build-volume-failure.txt/.png: the slicer reports "All objects are outside of the print volume" and writes no G-code.plates.scad+tools/slice_plates.sh: six plates (start, 3ร middle and end panel pairs, then 10 beams + coupon) sliced with PrusaSlicer's CLI andslicer/a1mini-pla-0.20.ini, an approximation of the A1 mini's 0.20 mm PLA profile.tools/report.pyโdocs/constraint-report-0.20.md: 254.49 g and 6h 31m, all limits PASS, 100 lb UNVERIFIED.- Secret mission,
tools/compare_presets.pyโdocs/secret-mission-coarser-preset.md(+docs/constraint-report-0.28.md): with geometry unchanged, 0.28 mm takes 5.95 h vs 6.53 h. That's an 8.8% saving against a 10% target, so FAIL. Mass rises 8.5% to 276.0 g. docs/assembly-preview.png,docs/plate1-panels.png: OpenSCAD renders.
How to run¶
bash tools/export_all.sh
python3 tools/fit_check.py stl/*.stl
bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini slices/baseline-0.20
bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini slices/coarse-0.28 --layer-height 0.28
python3 tools/compare_presets.py slices/baseline-0.20 slices/coarse-0.28
Verification¶
I ran the verification command on 2026-12-02. The full output is in docs/verification.txt.
rm -rf plates && bash tools/export_all.sh >/dev/null && python3 tools/fit_check.py stl/start_panel.stl stl/middle_panel.stl stl/end_panel.stl stl/crossbeam.stl stl/fit_coupon.stl && bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini /tmp/bridge-verify-020 | tail -5 && bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini /tmp/bridge-verify-028 --layer-height 0.28 >/dev/null && python3 tools/compare_presets.py /tmp/bridge-verify-020 /tmp/bridge-verify-028 | tail -2 && rm -rf plates stl/preview.stl /tmp/bridge-verify-0*
Notes¶
The secret mission result is a real FAIL for this design: the 0.28 mm preset alone doesn't reach the 10% time saving. I didn't change other settings to force a pass, because the mission keeps everything except the preset fixed.
What isn't done, and why¶
No Bambu Studio or A1 mini: slicing uses PrusaSlicer 2.9 with a hand-built A1-mini-like profile, so absolute grams and hours will differ, though the margins are wide (254 g vs 500 g, 6.5 h vs 18 h). Claude Code wasn't used, so the reasoning and CAD are mine. Nothing was printed or load-tested.
Original project: https://nextwork.ai/projects/8d7f8497-594a-41ac-bcdc-56433c04d7e5 ยท Part of my NextWork Learning portfolio (hub).
Verification output¶
From docs/verification.txt:
$ rm -rf plates && bash tools/export_all.sh >/dev/null && python3 tools/fit_check.py stl/start_panel.stl stl/middle_panel.stl stl/end_panel.stl stl/crossbeam.stl stl/fit_coupon.stl && bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini /tmp/bridge-verify-020 | tail -5 && bash tools/slice_plates.sh slicer/a1mini-pla-0.20.ini /tmp/bridge-verify-028 --layer-height 0.28 >/dev/null && python3 tools/compare_presets.py /tmp/bridge-verify-020 /tmp/bridge-verify-028 | tail -2 && rm -rf plates stl/preview.stl /tmp/bridge-verify-0*
part X mm Y mm Z mm volume cm3 fits 180^3 as exported
start_panel 129.9 65.0 8.0 36.37 PASS
middle_panel 129.9 65.0 8.0 35.62 PASS
end_panel 121.9 65.0 8.0 34.98 PASS
crossbeam 10.0 80.0 10.0 7.18 PASS
fit_coupon 60.0 20.0 6.0 4.76 PASS
printable parts all fit: PASS
- build volume: **PASS**
- mass < 500 g: **PASS**
- time < 18 h: **PASS**
- 100-pound centered load: **UNVERIFIED target** (slicing proves manufacturability only; physical, supervised load testing is required before any capacity claim).
Time saving: 8.8% (target >= 10%). Mass change: +8.5%.
Secret mission verdict: **FAIL**. Geometry unchanged: the same six plate STLs were sliced; only layer height changed.
[exit code 0]