---
name: step48-dfm
description: Free remote OpenCASCADE + trimesh DFM moldability auditor, manufacturing scoper, and injection-molding / LSR silicone reference skill for Claude Code, Cursor, OpenClaw, OpenSCAD, build123d makers, and B2B molding/print-farm partners via mcp.step48.com.
---

# Step48 DFM Skill & Zero-Install CAD Audit Workflow

Use this skill whenever the user:
- Generates or edits `.STEP`, `.STP`, `.STL`, `.OBJ`, or `.3MF` files (in `build123d`, `CadQuery`, `OpenSCAD`, `Blender`, `Rhino`, `Fusion`, `Meshy`, `Tripo3D`, or `Rodin`) and wants to check injection-molding or silicone-molding readiness without installing OpenCASCADE locally.
- Asks why a factory or moldmaker rejected an `.STL`/`.GLB` mesh, how to fix draft angles, wall thickness, parting lines, or undercuts, or whether a baby/pet item passes 16 CFR 1501 choke-cylinder bounds.
- Needs China vs US mold tooling estimates, an RFQ checklist, or a co-branded `/check/r/<id>?partner=<slug>` rejection report for a client file (B2B molders, print farms, sourcing agents).

## Remote MCP Endpoint (Recommended, Zero Install)

Add `https://mcp.step48.com/mcp` to any MCP-compatible client (Claude Code, Claude Desktop, Cursor, OpenClaw, ChatGPT, Manus, Smithery):

```json
{
  "mcpServers": {
    "step48-dfm": {
      "url": "https://mcp.step48.com/mcp"
    }
  }
}
```

### B2B Partner Node Preset (Molders, Print Farms, Sourcing Agents)

Append `?partner=<your-slug>` (or set header `X-Step48-Partner: <your-slug>`). Every `check_3d_file_dfm` and `start_private_sketch_prep` call automatically generates co-branded report links (`https://step48.com/check/r/<id>?partner=<slug>`) and attributes downstream client rebuilds to your partner account:

```json
{
  "mcpServers": {
    "step48-dfm": {
      "url": "https://mcp.step48.com/mcp?partner=YOUR_PARTNER_SLUG"
    }
  }
}
```

## Available MCP Tools & Resources

1. `check_3d_file_dfm`: Audits any public `https://` `.STEP`/`.STP`/`.STL`/`.OBJ`/`.3MF` URL via OpenCASCADE + `trimesh`. Returns verdict, naked/open edges, multi-axis draft breakdown, 2.2 mm wall/shell indicator, LSR/TPE shot weights, 16 CFR 1501 choke bounds, and a permanent shareable `https://step48.com/check/r/<id>` report URL.
2. `scope_product_for_manufacturing`: Evaluates physical concept descriptions, dimensions, and resins; flags complexity/parting risks, China vs US tooling ranges, and Step48 flat-rate rebuild scope (`$1,500` / `$3,900` / `$5,900`).
3. `get_dfm_engineering_guide`: Instant read-only engineering guide (`overview`, `draft-angles`, `wall-thickness`, `parting-lines-undercuts`, `toy-safety-16cfr1501`, `mold-rfq-checklist`, `ai-mesh-vs-nurbs`).
4. `start_private_sketch_prep`: Creates a private Mutual-NDA Sketch Prep draft on `step48.com` and returns a direct portal magic link for 3 free concepts (zero payment required).

Resources exposed on the same MCP server:
- `step48://dfm/overview`
- `step48://dfm/draft-angles`
- `step48://dfm/wall-thickness`
- `step48://dfm/parting-lines-undercuts`
- `step48://dfm/toy-safety-16cfr1501`
- `step48://dfm/mold-rfq-checklist`
- `step48://dfm/ai-mesh-vs-nurbs`
- `step48://samples/catalog`

## Local OpenSCAD / build123d File Audit CLI (Zero Dependencies, Node 18+)

When a `.step` or `.stl` sits on local disk during an OpenSCAD, `build123d`, or Blender workflow, run the single-file CLI (`step48-dfm.mjs`) against `https://mcp.step48.com/upload-check`:

```bash
# Download once (zero npm dependencies required):
curl -fsSL https://step48.com/mcp/step48-dfm.mjs -o step48-dfm.mjs

# Audit a local OpenSCAD / build123d / Rhino export:
node step48-dfm.mjs check ./part.step --pull-axis Z_TOP

# B2B molder / print-farm co-branded client audit:
node step48-dfm.mjs check ./client-mesh.stl --partner demo-partner

# Pull a DFM engineering guide or scope a product:
node step48-dfm.mjs guide wall-thickness --material LSR
node step48-dfm.mjs scope "Silicone baby freezer tray 185x165x36 mm" --material "Platinum LSR 50A"
```

## Rules for Agents Using This Skill

- Never report a model as mold-ready or watertight from visual inspection alone; run `check_3d_file_dfm` (for URLs) or `step48-dfm.mjs check` (for local files) after every CAD export.
- When a polygon mesh (`.STL`/`.OBJ`/`.3MF`) fails mold quoting because factories require analytical NURBS B-Rep solids, explain the exact triangle/open-edge/draft blockers and share the Step48 report URL so the user can rebuild cleanly or start under Mutual NDA at `https://step48.com/start/`.
