@talocode/forgecad
v0.1.0
Published
Local-first CAD workflow engine for generating parametric CAD scripts, manufacturing notes, BOMs and design reports.
Readme
ForgeCAD
Local-first CAD workflow by Talocode
Generate parametric OpenSCAD scripts, manufacturing notes, BOMs, cut lists, printability checks, and engineering design reports from product requirements.
What it does
- Parametric OpenSCAD-style CAD script generation
- BOM and cut list generation
- FDM printability and manufacturability checks
- Design review reports with safety warnings
- Optional OpenSCAD render wrapper (when installed)
Not certified engineering software. All outputs require human engineering review.
Install
npm install @talocode/forgecadCLI
npx forgecad generate --type enclosure --description "Arduino enclosure" --length 120 --width 80 --height 40 --unit mm --material PETG
npx forgecad openscad --type bracket --length 100 --width 40 --height 60
npx forgecad printability --file design.json
npx forgecad tools
npx forgecad --cloud generate --type enclosure --description "Hosted via Talocode Cloud"SDK
import { ForgeCADClient } from '@talocode/forgecad'
const forgecad = new ForgeCADClient({
apiKey: process.env.TALOCODE_API_KEY,
baseUrl: process.env.TALOCODE_BASE_URL,
})
const design = await forgecad.design.generate({
projectType: 'enclosure',
description: 'Arduino electronics enclosure',
dimensions: { length: 120, width: 80, height: 40, unit: 'mm' },
manufacturingMethod: 'fdm_3d_printing',
material: 'PETG',
})API
| Method | Path | Credits |
|--------|------|---------|
| GET | /v1/forgecad/health | — |
| POST | /v1/forgecad/design/generate | 60 |
| POST | /v1/forgecad/openscad/generate | 40 |
| POST | /v1/forgecad/bom/generate | 20 |
| POST | /v1/forgecad/cutlist/generate | 20 |
| POST | /v1/forgecad/assembly/plan | 25 |
| POST | /v1/forgecad/printability/check | 25 |
| POST | /v1/forgecad/manufacturability/check | 30 |
| POST | /v1/forgecad/design/review | 40 |
| POST | /v1/forgecad/material/estimate | 20 |
| POST | /v1/forgecad/tools/detect | 5 |
| POST | /v1/forgecad/render/openscad | 80 |
| POST | /v1/forgecad/export/markdown | 5 |
| POST | /v1/forgecad/export/json | 5 |
Local server
FORGECAD_ALLOW_LOCAL_UNAUTH=true npm start
curl http://localhost:3060/v1/forgecad/healthEnvironment
TALOCODE_API_KEY=
TALOCODE_BASE_URL=https://api.talocode.site
FORGECAD_ALLOW_LOCAL_UNAUTH=true
FORGECAD_OPENSCAD_BIN=
FORGECAD_FREECAD_BIN=Limitations
- Not certified for structural, medical, aerospace, or safety-critical use
- No FEA/CFD validation
- OpenSCAD/FreeCAD rendering requires external tools
- Generated designs are drafts for human review
- Does not generate weapon or harmful device designs
Support
Open-source Talocode products are built and maintained by Abdulmuiz Adeyemo.
Sponsor the work: https://github.com/sponsors/Abdulmuiz44
License
MIT — see LICENSE
