Skip to content

talocode/forgecad

Repository files navigation

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/forgecad

CLI

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/health

Environment

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

Talocode ecosystem

Part of Talocode — open-source workflow layers for builders. Explore sibling projects:

Project What it is
ScreenLane Screen-aware voice command layer
Tera AI chat & assistant
Codra Local coding agent
GateLane MCP gateway & agent tool control plane
ContextLane Context ingestion for persistent agents
MemoryLane Persistent agent memory
SignalLane X growth intelligence
ReplyLane X reply opportunity intelligence
CrawlerLane Crawler / SEO intelligence
WebDataLane Web extraction to structured data
SearchLane Search layer for agents
InvoiceLane Invoicing tools
GeoLane Geo intelligence
UgcLane UGC workflows
OpenSourceLane Open-source distribution tools
StackLane Builder stack platform
Tradia Trading intelligence
Agent Browser Browser automation for agents
Talocode Org home & control plane
Skills Shared agent skills
X Agent X automation agent
LaunchPix Launch tooling
ForgeCAD CAD workflows (this repo)
WorkLane Work automation
ClipLoop Clip / video loops

MCP-compatible agents integrate via each product's MCP server where available (Model Context Protocol).

More: github.com/talocode · talocode.site · docs.talocode.site

License

MIT — see LICENSE

About

Local-first CAD workflow engine for parametric OpenSCAD scripts, BOMs, and design reports.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors