forgecad 0.10.4 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/dist/assets/{AdminPage-B3L3W1Uo.js → AdminPage-B1nIvqLS.js} +1 -1
  2. package/dist/assets/{BenchmarkPage-DXKVXMrJ.js → BenchmarkPage-YZJbw5nd.js} +2 -2
  3. package/dist/assets/{BlogPage-B7BWxOCg.js → BlogPage-DIWRApKS.js} +1 -1
  4. package/dist/assets/{DocsPage-BPGGwht1.js → DocsPage-ClL6X1hR.js} +8 -22
  5. package/dist/assets/EditorApp-CYBDvSyT.js +17067 -0
  6. package/dist/assets/{EmbedViewer-DygByZS2.js → EmbedViewer-Dmfu_LIw.js} +2 -2
  7. package/dist/assets/{LandingPageProofDriven-BoVE7JGY.js → LandingPageProofDriven-XYTiYxfM.js} +2 -2
  8. package/dist/assets/{LegalPage-Din8wv8d.js → LegalPage-D5Z3CscF.js} +2 -2
  9. package/dist/assets/{PricingPage-C2PMzmDc.js → PricingPage-BP4lIGio.js} +2 -2
  10. package/dist/assets/{SettingsPage-BlJDCRe8.js → SettingsPage-D3bcPBsC.js} +1 -1
  11. package/dist/assets/{app-BsRYSfxY.js → app-BKjogwIZ.js} +3288 -512
  12. package/dist/assets/{backendInit-6C0DLgH0.js → backendInit-6a9-ilom.js} +80498 -74979
  13. package/dist/assets/cli/{render-XXol_ET7.js → render-CMNudGb0.js} +1264 -113
  14. package/dist/assets/{constructionHistoryWorker-cTHWRJEi.js → constructionHistoryWorker-BuZgc606.js} +8369 -6839
  15. package/dist/assets/{evalWorker-BssDYW9u.js → evalWorker-DQ82ueGu.js} +45438 -39996
  16. package/dist/assets/{forgecad_geometry-CZ_IfuvA.js → forgecad_geometry-D8rWX7nQ.js} +1 -1
  17. package/dist/assets/{forgecad_geometry_bg-C3rQHfwg.wasm → forgecad_geometry_bg-ObqfqjJT.wasm} +0 -0
  18. package/dist/assets/{inspectWorker-ymhBV4Ll.js → inspectWorker-Cuby2qfT.js} +4899 -1303
  19. package/dist/assets/{jointPose-B0blBj9A.js → jointPose-CFql5I-u.js} +1 -1
  20. package/dist/assets/{landing-proof-driven-Cpf-MIbI.css → landing-proof-driven-_u4v_xQb.css} +2 -2
  21. package/dist/assets/{manifold-CYlIm-M6.js → manifold-02pmr7O7.js} +2 -2
  22. package/dist/assets/{manifold-B_7QXpGB.js → manifold-C6KU0oII.js} +1 -1
  23. package/dist/assets/{manifold-CNShmpEJ.js → manifold-P1yF3GKn.js} +1 -1
  24. package/dist/assets/{reportWorker-Cb5eyM7D.js → reportWorker-kg065BVL.js} +76583 -65731
  25. package/dist/cli/render.html +1 -1
  26. package/dist/docs/index.html +2 -2
  27. package/dist/docs-raw/AI/usage.md +6 -8
  28. package/dist/docs-raw/CLI.md +14 -12
  29. package/dist/docs-raw/component-model.md +28 -9
  30. package/dist/docs-raw/generated/assembly.md +76 -3
  31. package/dist/docs-raw/generated/concepts.md +43 -7
  32. package/dist/docs-raw/generated/core.md +399 -73
  33. package/dist/docs-raw/generated/curves.md +357 -6
  34. package/dist/docs-raw/generated/runtime-names.md +12 -12
  35. package/dist/docs-raw/generated/sketch.md +16 -3
  36. package/dist/docs-raw/guides/inspection-bundles.md +5 -3
  37. package/dist/docs-raw/guides/structural-fea.md +235 -0
  38. package/dist/docs-raw/skills/forgecad-build-model.md +70 -147
  39. package/dist/docs-raw/skills/forgecad-image-prompt.md +1 -1
  40. package/dist/docs-raw/skills/forgecad-project-sync.md +3 -3
  41. package/dist/docs-raw/skills/forgecad-reconstruct-cad-file.md +2 -2
  42. package/dist/docs-raw/skills/forgecad-reconstruct-from-images.md +4 -5
  43. package/dist/docs-raw/skills/forgecad.md +4 -1
  44. package/dist/docs-raw/skills/index.md +1 -5
  45. package/dist/docs-raw/welcome.md +3 -4
  46. package/dist/index.html +1 -1
  47. package/dist/llms.txt +1 -2
  48. package/dist/sitemap.xml +15 -15
  49. package/dist-cli/{check-compiler-4RPB6SB5.js → check-compiler-UJWUEIDC.js} +1 -1
  50. package/dist-cli/{check-query-propagation-KN3DFQTX.js → check-query-propagation-O2EPDJSY.js} +1 -1
  51. package/dist-cli/{chunk-UHBRMYA6.js → chunk-MNDROM7T.js} +78926 -73392
  52. package/dist-cli/forgecad.js +6306 -1061
  53. package/dist-cli/forgecad_geometry_bg.wasm +0 -0
  54. package/dist-skill/CONTEXT.md +1257 -110
  55. package/dist-skill/SKILL.md +4 -1
  56. package/dist-skill/docs/API/core/concepts.md +31 -4
  57. package/dist-skill/docs/CLI.md +14 -12
  58. package/dist-skill/docs/generated/assembly.md +73 -3
  59. package/dist-skill/docs/generated/core.md +395 -74
  60. package/dist-skill/docs/generated/curves.md +356 -6
  61. package/dist-skill/docs/generated/runtime-names.md +12 -12
  62. package/dist-skill/docs/generated/sketch.md +16 -3
  63. package/dist-skill/docs/guides/inspection-bundles.md +5 -3
  64. package/dist-skill/docs/guides/manual-parameters.md +130 -0
  65. package/dist-skill/docs/guides/structural-fea.md +235 -0
  66. package/dist-skill/library/README.md +0 -4
  67. package/dist-skill/library/forgecad-build-model/SKILL.md +57 -150
  68. package/dist-skill/library/forgecad-build-model/references/inspection-feedback.md +58 -0
  69. package/dist-skill/library/forgecad-build-model/references/module-contracts.md +53 -0
  70. package/dist-skill/library/forgecad-build-model/references/parameter-controls.md +22 -0
  71. package/dist-skill/library/forgecad-build-model/references/readiness-review.md +43 -0
  72. package/dist-skill/library/forgecad-build-model/references/simulation-feedback.md +49 -0
  73. package/dist-skill/library/forgecad-build-model/references/stage-1-design-intent.md +21 -0
  74. package/dist-skill/library/forgecad-build-model/references/stage-2-architecture-plan.md +23 -0
  75. package/dist-skill/library/forgecad-build-model/references/stage-3-build-slices.md +39 -0
  76. package/dist-skill/library/forgecad-build-model/references/stage-4-feedback-iteration.md +24 -0
  77. package/dist-skill/library/forgecad-build-model/references/stage-5-readiness-package.md +34 -0
  78. package/dist-skill/library/forgecad-image-prompt/SKILL.md +1 -1
  79. package/dist-skill/library/forgecad-project-sync/SKILL.md +3 -3
  80. package/dist-skill/library/forgecad-reconstruct-cad-file/SKILL.md +2 -2
  81. package/dist-skill/library/forgecad-reconstruct-from-images/SKILL.md +4 -5
  82. package/dist-skill/website/skills/forgecad-build-model.md +70 -147
  83. package/dist-skill/website/skills/forgecad-image-prompt.md +1 -1
  84. package/dist-skill/website/skills/forgecad-project-sync.md +3 -3
  85. package/dist-skill/website/skills/forgecad-reconstruct-cad-file.md +2 -2
  86. package/dist-skill/website/skills/forgecad-reconstruct-from-images.md +4 -5
  87. package/dist-skill/website/skills/forgecad.md +4 -1
  88. package/dist-skill/website/skills/index.md +1 -5
  89. package/examples/analysis/structural-stress-fea.forge.js +19 -0
  90. package/examples/api/blend-full-round.forge.js +37 -0
  91. package/examples/api/blend-variable-radius.forge.js +51 -0
  92. package/examples/api/curve-project-and-intersect.forge.js +59 -0
  93. package/examples/api/extrude-up-to-face.forge.js +47 -0
  94. package/examples/api/param-path2d.forge.js +65 -0
  95. package/examples/api/param-placement2d.forge.js +80 -0
  96. package/examples/api/param-spline2d-g-continuity.forge.js +57 -0
  97. package/examples/api/spoon-full-tang-handle.forge.js +188 -0
  98. package/examples/api/surface-boundarynet-dished-bowl.forge.js +63 -0
  99. package/examples/api/surface-fill-interior-constraints.forge.js +59 -0
  100. package/examples/api/surface-variable-thickness-panel.forge.js +62 -0
  101. package/examples/mechanical/airplane-propeller.forge.js +81 -28
  102. package/package.json +5 -2
  103. package/dist/assets/EditorApp-BWUGCdD5.js +0 -16610
  104. package/dist/docs-raw/skills/forgecad-design-spec.md +0 -145
  105. package/dist/docs-raw/skills/forgecad-grade-model.md +0 -84
  106. package/dist/docs-raw/skills/forgecad-inspect-model.md +0 -80
  107. package/dist/docs-raw/skills/forgecad-verify-mujoco.md +0 -78
  108. package/dist-skill/library/forgecad-design-spec/SKILL.md +0 -132
  109. package/dist-skill/library/forgecad-design-spec/references/default-profiles.md +0 -99
  110. package/dist-skill/library/forgecad-design-spec/references/master-prompt.md +0 -73
  111. package/dist-skill/library/forgecad-grade-model/SKILL.md +0 -72
  112. package/dist-skill/library/forgecad-grade-model/agents/openai.yaml +0 -4
  113. package/dist-skill/library/forgecad-inspect-model/SKILL.md +0 -68
  114. package/dist-skill/library/forgecad-verify-mujoco/SKILL.md +0 -66
  115. package/dist-skill/website/skills/forgecad-design-spec.md +0 -145
  116. package/dist-skill/website/skills/forgecad-grade-model.md +0 -84
  117. package/dist-skill/website/skills/forgecad-inspect-model.md +0 -80
  118. package/dist-skill/website/skills/forgecad-verify-mujoco.md +0 -78
  119. /package/dist/assets/{landing-proof-driven-BxZZh5r5.js → landing-proof-driven-DNPRKL_p.js} +0 -0
  120. /package/dist-skill/library/{forgecad-verify-mujoco → forgecad-build-model}/scripts/mujoco_verify.py +0 -0
  121. /package/dist-skill/library/{forgecad-inspect-model → forgecad-build-model/scripts}/summarize_manifest.py +0 -0
@@ -1,145 +0,0 @@
1
- <!-- Generated by scripts/build-forgecad-skill.mjs — do not edit. Edit agent-skill-library/forgecad-design-spec/SKILL.md instead. -->
2
-
3
- # forgecad-design-spec
4
-
5
- Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.
6
-
7
- | Field | Value |
8
- | --- | --- |
9
- | Installed by | `forgecad skill install` |
10
- | Source | `agent-skill-library/forgecad-design-spec/SKILL.md` |
11
-
12
- ---
13
-
14
- ## Design Spec
15
-
16
- The design document — a git-committed, diff-reviewed markdown file — is the source of truth. Not the code, not the chat, not your head. You iterate it by commit-and-review, and the `git diff` is the review artifact.
17
-
18
- **Validate the design by mentally operating the thing, step by step.** Walk it as someone assembles, uses, or moves it. The step with no answer — *"how does the servo get inside the housing?"* — is the real design gap. A spec that reads complete on the page can still hide a hole that only surfaces when you try to put it together in your head. State each gap falsifiably: not "tolerances might be tight" but "the 12mm arm cantilevers under gripping load, may flex >0.5mm."
19
-
20
- **Every number has a reason; the narrative comes before the numbers.** Describe the object as if over the phone, then derive each value and show its math: `wallThickness = 2.4mm = 6 × 0.4mm nozzle`. The design is **implementation-blind** — shaped by the object, never by what the ForgeCAD API makes easy. **Manufacturing process is one of those reasons** — a design decision you weigh, never a default you inherit (never assume FDM/printing).
21
-
22
- **A vague request is a set of decisions you make honestly, not information to extract.** No placeholders ("appropriate motor"); choose a defensible value, show why, continue. The Decisions table fills only after user review, so the loop stays in the document.
23
-
24
- ### Altitude — three phases, one document trail
25
-
26
- | Phase | When | Output |
27
- |-------|------|--------|
28
- | Intake | request is fuzzy / process unspecified | engineering brief + master prompt |
29
- | HLD | design is wrong in *approach*, alternatives exist | `<name>-hld.md` |
30
- | LLD | decisions locked, or a simple single-body part | `<name>-lld.md` |
31
-
32
- The HLD carries only decision-driving dimensions and genuinely-different alternatives; the LLD carries enough that someone builds from it alone. Speccing every tolerance in an HLD, or revisiting locked decisions in an LLD, is an altitude error — back up. Simple parts skip straight from HLD to code, or from a request to an LLD.
33
-
34
- ---
35
-
36
- ### Phase 1 — Intake (fuzzy request → concrete brief)
37
-
38
- Use when the user wants something physically real but the ask is vague ("make me a robot gripper", "make it production ready", "pick sensible numbers"). This phase owns intake; once the brief is concrete, continue to HLD or hand off to the `forgecad` skill.
39
-
40
- **Manufacturing is a design decision, not a default.** Derive the process stack from artifact family, load path, scale, safety expectations, material, production intent, and operating story — never assume printing/plastic. If the user names a process, honor it but warn when it is unsafe or dishonest for the duty. Family→process anchors live in `references/default-profiles.md`.
41
-
42
- **Default posture: manufacture-realistic prototype** — real materials, purchased-part boundaries, assembly logic, validation; no claims of production tooling or certification. Other postures only when justified: `production-realistic`, `printable`, `visual-CAD`, or a specific process posture (`sheet-metal`, `CNC-machined`, `laser-cut`, `welded-tube`, `injection-molded`, `cast`, `hybrid purchased-hardware`). Pick the posture honest for the artifact, not the easiest CAD surface.
43
-
44
- **Family-scoped numbers.** Every starter assumption is scoped to one artifact family; never reuse numbers across families.
45
-
46
- Workflow:
47
- 1. **Normalize the ask** into plain mechanism language ("6 DOF gripper" → standalone gripper, wrist+gripper, or arm+gripper).
48
- 2. **Build a specific operating story** — invented (non-famous) org, named program, prototype revision, review moment, mission pressure (pilot gate, demo date, investor milestone), and the generic failure mode to avoid. Prefer bold high-agency stories over modest lab exercises. Never assert the user works for a named real company; use real products only as public comparison anchors; never clone proprietary designs.
49
- 3. **Classify the artifact family** (`references/default-profiles.md`); use the no-family-fits escape rather than forcing one. Rideables route to human-vehicles, never chassis.
50
- 4. **Choose the process posture** per the taxonomy above.
51
- 5. **Pick qualitative levers** — duty (`light`/`general`/`sturdy`), scale (`compact`/`medium`/`large`), cost (`cheapest`/`balanced`/`performance-first`) — and translate to family-scoped starter assumptions.
52
- 6. **Close only critical gaps** — at most 3 grouped questions, always choice menus, never raw engineering inputs unless the architecture truly depends on them. Good: "light desk demo, useful hobby tool, or sturdier bench mechanism?" Bad: "What payload mass?"
53
- 7. **Write the engineering brief**: artifact + family + normalized interpretation; operating story + production reason + test setting + failure mode to avoid; output posture; intended loads, size envelope, motion/DOF; process stack + material defaults; purchased-part (BOM) boundary; validation standard; variant policy (versions are selectable params, one rendered at a time); file organization (`main.forge.js` entry for multi-file); explicit uncertainty policy.
54
- 8. **Emit one master prompt** — fill `references/master-prompt.md`; return the finished prompt, not notes about it. It must demand exactly `BUILD-READY` or `BEST-EFFORT BUILD CANDIDATE` (human-bearing furniture and rideables usually end the latter).
55
-
56
- Defaults if the user stays vague: `general-duty` / `medium` / `balanced`, invent the operating story, use family starter assumptions.
57
-
58
- ---
59
-
60
- ### Phase 2 — High-Level Design (HLD)
61
-
62
- Aligns user and agent on *what* to build before *how*. Brevity is a readability tool, not a metric — include whatever evidence, diagrams, and dimensions a good decision needs. Write the sections top to bottom; the order is the workflow.
63
-
64
- ```markdown
65
- # [Name] — High-Level Design
66
-
67
- ## Problem
68
- What must this do? Hard requirements (grip 40-90mm objects, fit a 60mm
69
- housing, use purchased bearings). State the problem without implying a
70
- solution. Unspecified process choice is an open design dimension.
71
-
72
- ## Approach
73
- How it works conceptually. ASCII diagram of key elements and their
74
- spatial relationships — diagram labels stay in this markdown, never
75
- carried into CAD geometry unless the real artifact needs markings.
76
-
77
- ## Key Interfaces
78
- Every point where this touches another part or the outside world:
79
- mating surfaces, shared dimensions, coordination points. These are the
80
- contracts that constrain the design.
81
-
82
- ## Dictionary
83
- | Term | What it is |
84
- Define every domain term in plain words, with dimensions where relevant.
85
- Write for a developer without a mechanical-engineering background.
86
-
87
- ## Alternatives
88
- | Option | Description | Tradeoff |
89
- 2-3 genuinely different strategies, not minor variations. Mark one
90
- recommended and say why. If there is honestly one approach, say so.
91
-
92
- ## Usage Guide
93
- Work backwards from how someone uses, assembles, or operates the thing,
94
- step by step. If a step doesn't make sense ("how does the servo get
95
- inside?"), flag it inline with ⚠️ and promote it to Concerns.
96
-
97
- ## Concerns
98
- 1. Numbered, falsifiably specific — a reviewer must be able to say "real
99
- problem" or "fine, because…".
100
-
101
- ## Decisions
102
- | # | Decision | Rationale |
103
- Filled ONLY after user review — never pre-decide. Each row resolves a
104
- concern or alternative.
105
- ```
106
-
107
- Rules: if you're speccing every part, formula, and tolerance, you're writing an LLD — back up. If you can't draw it, you don't understand it yet.
108
-
109
- ---
110
-
111
- ### Phase 3 — Low-Level Design (LLD)
112
-
113
- Implements the HLD's locked Decisions table; it never revisits those decisions. Simple single-body parts skip the HLD and start here. Complex assemblies split into a numbered directory: overview, global constraints, per-component files, assembly, verification.
114
-
115
- An LLD is **narrative-first** (reads like describing the object over the phone), **authoritative** (the single source code implements), **implementation-blind**, and shows **every number's rationale**.
116
-
117
- Required structure:
118
- 1. **Narrative** — what it is, how it behaves and interacts, why it exists. Concrete comparisons ("about the size of a deck of cards"); no ungrounded vague terms.
119
- 2. **Technical** — typed parameter table (length / angle / count / boolean / choice / ratio / clearance — design-document vocabulary, not the runtime `Param.*` API), always with units (mm, degrees default) and a rationale for every default and range; derived dimensions shown as math; geometry and constraints, each constraint with a rationale.
120
- 3. **Verification** — mandatory checklist: dimensional, functional, printability/process checks.
121
-
122
- Don'ts: never open with a parameter list (story before numbers), never leave a constraint implicit, never skip verification. Completeness gate before presenting: can someone build from this alone? Does it implement every HLD decision? Is every constraint explicit with a rationale?
123
-
124
- ---
125
-
126
- ### Review via git
127
-
128
- HLDs and LLDs iterate through git, not conversation:
129
- - **Commit every version.** No drafts floating in chat. After writing, commit and tell the user it's ready for review.
130
- - **Feedback arrives as file edits (inline comments, strikethroughs) or chat — check both.** Read `git diff`: the diff is the review artifact.
131
- - **Update, commit, repeat** until the Decisions table is filled and the user says "go."
132
-
133
- ### Pipeline
134
-
135
- | Stage | This skill's phase | Output | Next |
136
- |-------|--------------------|--------|------|
137
- | Explore a fuzzy ask | Intake | engineering brief + master prompt | HLD |
138
- | Decide *what* to build | HLD | `*-hld.md` (Decisions filled) | LLD |
139
- | Detail *how* to build | LLD | `*-lld.md` | `forgecad-build-model` + `forgecad` → `.forge.js` |
140
-
141
-
142
- ## Bundled Files
143
-
144
- - `references/default-profiles.md`
145
- - `references/master-prompt.md`
@@ -1,84 +0,0 @@
1
- <!-- Generated by scripts/build-forgecad-skill.mjs — do not edit. Edit agent-skill-library/forgecad-grade-model/SKILL.md instead. -->
2
-
3
- # forgecad-grade-model
4
-
5
- Grade a ForgeCAD or CAD-as-code model against a requirement, brief, prompt, reference, or acceptance criteria with evidence and a 0-10 score.
6
-
7
- | Field | Value |
8
- | --- | --- |
9
- | Installed by | `forgecad skill install` |
10
- | Source | `agent-skill-library/forgecad-grade-model/SKILL.md` |
11
-
12
- ---
13
-
14
- ## Grade Model
15
-
16
- Grade the delivered model against the requirement, not against what could be fixed later. Never edit the model unless the user explicitly requests repairs — then record the baseline grade first, change, and re-grade.
17
-
18
- ### Workflow
19
-
20
- 1. **Extract the requirement** into a checklist, must-haves separate from nice-to-haves. If the brief is vague, grade the most reasonable literal interpretation and mark unverifiable items `Unknown`.
21
- 2. **Run the model**: `forgecad run <model>.forge.js` (in the ForgeCAD repo use the local build, `node dist-cli/forgecad.js run ...`). If it fails to execute, stop and apply the caps.
22
- 3. **Render** at least `iso`, `front`, `right`, `top` to a scratch dir; add views (back, bottom, close-up, section) when the model is asymmetric, hollow, mechanical, or likely to hide mistakes.
23
- 4. **Open and look at every PNG** — never score from command output alone. Check silhouette, proportions, required features, part boundaries, interfaces, and whether the model reads as the requested artifact from more than one angle.
24
- 5. **Inspect** whenever hidden internals, fit, wall thickness, or assembly behavior are central to the brief — grading without inspecting them caps the score. Delegate evidence choice, commands, and manifest reading to the `forgecad-inspect-model` skill. Findings (unexpected collisions, thin regions, floating bodies, wrong component counts) are evidence, not warnings to wave away.
25
- 6. **Score**: fill the rubric, apply caps, give a final 0-10 in whole or `.5` increments. Unknowns count against the score.
26
-
27
- ### Rubric
28
-
29
- | Dimension | Points | What To Look For |
30
- | --- | ---: | --- |
31
- | Requirement fit | 4 | Satisfies the stated must-haves, captures the intended object/function, no drift into a generic substitute. |
32
- | Geometric completeness | 2 | Correct silhouette, proportions, visible details, part boundaries, internal structure when required, no missing major components. |
33
- | Mechanical/manufacturing plausibility | 2 | Believable materials/process, real interfaces, clear load paths, fasteners/seats/clearances where needed, no impossible assembly. |
34
- | Validation health | 1 | Runs cleanly, renders from multiple views, targeted inspections reveal no major unaddressed issues. |
35
- | Code/model quality | 1 | Parametric clarity, readable organization, meaningful names, no debug junk, appropriate ForgeCAD APIs. |
36
-
37
- Anchors: 9-10 = evidence-backed match for the brief; 7-8 = recognizable and mostly complete, fixable gaps; 5-6 = main idea only; below 5 = broken or loosely related.
38
-
39
- ### Evidence Caps
40
-
41
- Maximum scores, applied after the rubric:
42
-
43
- - Model does not execute: max `2`.
44
- - Executes but cannot be rendered: max `4`.
45
- - No rendered images visually inspected: max `5`.
46
- - Only one flattering view inspected: max `6`.
47
- - A must-have requirement is absent: max `6`.
48
- - Visually recognizable but physically impossible for the requested use: max `6`.
49
- - Internals, fit, walls, or assembly central to the brief but uninspected: max `7`.
50
- - Multi-part assembly violates the ForgeCAD component model — sibling imports, assembly-space coordinates inside parts, structural `translate()` placement, missing connector mates, or parent/child data flow confusion: max `7`; max `6` when the violation makes the assembly brittle or mechanically wrong.
51
- - Inspection finds unexpected collisions, floating bodies, critical thin walls, or wrong connectivity: max `6`; max `5` when the defect invalidates the main function.
52
- - Delivered as a finished product/prototype but presented with default flat lighting (no `scene()` rig), a generically colorful or material-false palette, or teaching-diagram styling: max `8`. Does not apply when the brief asks for a blockout or bare technical study.
53
- - Any score relying on an assumption the evidence cannot verify: mark it `Unknown`, never score above `8`.
54
-
55
- ### Report Format
56
-
57
- ```markdown
58
- Score: N / 10
59
-
60
- Requirement checklist:
61
- | Item | Result | Evidence |
62
- | --- | --- | --- |
63
- | ... | Pass/Partial/Fail/Unknown | render/inspection/file evidence |
64
-
65
- Evidence reviewed: run outcome; views inspected; inspection highlights.
66
- Why this score: decisive strengths and defects.
67
- Caps applied: list, or `None`.
68
- Next fixes: the 2-5 highest-leverage improvements.
69
- ```
70
-
71
- ### Grading Rules
72
-
73
- - A beautiful render with missing functional geometry is not a high score.
74
- - Grade the default returned model unless the user names a parameter set or variant.
75
- - No points for comments, labels, or intentions absent from the geometry.
76
- - Decorative screws, floating labels, and teaching-diagram callouts are not real mechanical interfaces.
77
- - For multi-part assemblies, require the component model: parts build locally at origin, expose connectors/metadata, the parent positions them, and inter-part data flows through parent props and returned metadata.
78
- - Cite which render or inspection finding drove the grade.
79
- - When comparing models, use identical checklist, cameras, inspection evidence, and caps for all.
80
-
81
-
82
- ## Bundled Files
83
-
84
- - `agents/openai.yaml`
@@ -1,80 +0,0 @@
1
- <!-- Generated by scripts/build-forgecad-skill.mjs — do not edit. Edit agent-skill-library/forgecad-inspect-model/SKILL.md instead. -->
2
-
3
- # forgecad-inspect-model
4
-
5
- Select, run, and interpret ForgeCAD inspection evidence for collisions, sections, wall thickness, components, masks, depth, normals, surface continuity, and fit.
6
-
7
- | Field | Value |
8
- | --- | --- |
9
- | Installed by | `forgecad skill install` |
10
- | Source | `agent-skill-library/forgecad-inspect-model/SKILL.md` |
11
-
12
- ---
13
-
14
- ## Inspect Model
15
-
16
- Use `forgecad inspect ...` when a shaded render is too ambiguous and you need structured evidence: a bundle directory with evidence PNGs plus a root `manifest.json` (or, for `inspect section`, a probe directory with `result.json`, `section.svg`, `section.png`). Inspection is not a substitute artifact: look inside with sections, masks, `--focus`/`--hide`, and transparency — never edit the model into a cutaway or exploded default to make inspecting easier. Output dirs: let `inspect` allocate its timestamped directory by default (repeated probes never collide); use `/tmp/<model>-inspect` for throwaway bundles, a project directory only for persistent artifacts.
17
-
18
- Routing: authoring/API questions → `forgecad` skill; creating a new model → `forgecad-build-model`.
19
-
20
- ### Workflow
21
-
22
- 1. **Identify the failure question.** What would make the model wrong: overlap, thin walls, hidden cavity failure, disconnected or accidentally fused bodies, floating parts, orientation artifacts, identity confusion?
23
- 2. **Confirm the model executes.** If in doubt, run `forgecad run model.forge.js` first; add `--debug-imports` for suspect imports.
24
- 3. **Pick ONE targeted evidence command** from the table below. `forgecad inspect evidence` lists everything available.
25
- 4. **Summarize the manifest first**, then use `jq` against `manifest.json` for targeted follow-up. The helper ships beside this SKILL.md — invoke it skill-dir-relative; it accepts the bundle directory or a `manifest.json` path:
26
-
27
- ```bash
28
- python <this-skill-dir>/summarize_manifest.py /tmp/model-inspect
29
- ```
30
-
31
- 5. **Inspect the PNGs, not only the JSON.** View identity/context images first, then the risk evidence's view, then orthogonal cameras (`front`, `right`, `top`) when iso hides the issue, sections only when internals matter. In automation, resolve file paths through the manifest — custom cameras break canonical filenames.
32
- 6. **Isolate intentional overlaps** with `--focus "A,B"` or `--hide "C"` so the remaining report stays meaningful.
33
- 7. **Treat findings as model bugs**: unexpected collisions, critical thin regions, high unresolved thickness area, wrong component counts, floating bodies, or surprising gaps mean fix the model and reinspect.
34
- 8. **Report honestly.** Include the exact command, bundle path, manifest highlights, and the PNG views actually inspected. Never claim geometry is verified if you only ran `forgecad run`.
35
-
36
- ### Evidence Selection
37
-
38
- | Question | Evidence command |
39
- |----------|------------------|
40
- | Quick visual sanity | `inspect visual image` |
41
- | Kinematic rig, joints, axes, and links | `inspect visual rig` |
42
- | Object naming and identity | `inspect visual objects` |
43
- | Exact local section measurement, bore widths, rib thickness through a chosen line | `inspect section --ray ...` |
44
- | Hidden internals, cavities, pockets, screw paths, captured components | `inspect sections at\|stack\|sample` |
45
- | Multi-part interference, fit checks, ghost parts, moving clearances | `inspect fit interference` |
46
- | Printability, shell walls, ribs, bosses, snaps, slots | `inspect manufacture thickness` plus `inspect sections at\|stack\|sample` when internals matter |
47
- | Parts without a mesh-contact path to the ground | `inspect physical floating` |
48
- | Accidental fusion, connected solids | `inspect physical components` |
49
- | Air gaps between physical components | `inspect physical gaps` |
50
- | Surface orientation, occlusion, faceting, strange protrusions | `inspect visual depth` or `inspect visual normals` |
51
- | Loft, fillet, skin, and sweep surface continuity | `inspect surface zebra` or `inspect visual normals` |
52
- | Reference-vs-candidate reconstruction comparison | `inspect compare overlay --with reference.3mf` |
53
-
54
- ### Section Probe + Replay
55
-
56
- The agent-native measure-then-recheck loop:
57
-
58
- ```bash
59
- forgecad inspect section model.forge.js --plane yz --ray bore:-20,0:20,0
60
- forgecad inspect replay outputs/inspect/<probe>/result.json --source candidate.forge.js
61
- ```
62
-
63
- The probe's `result.json` field contract (frames, rulers, gaps, replaySpec) is documented in the forgecad skill's `docs/guides/inspection-bundles.md`.
64
-
65
- ### Misread Traps
66
-
67
- - Face-touching is not a collision; collision findings are positive-volume overlaps.
68
- - Gray/unresolved thickness area means the evidence is incomplete, not that the model is safe.
69
- - Distance/gap figures are bbox-gap metrics between components, not closest-surface distances.
70
- - Depth, normals, and zebra are visual aids (heatmap, camera-view normals, stripe shader), not exact measurements or curvature proofs.
71
- - Resolve mask colors through the manifest's object list, never by object order.
72
-
73
- ### Reference
74
-
75
- Bundle/manifest contract, evidence semantics, and current limits: the forgecad skill's `docs/guides/inspection-bundles.md`. CLI flags and command tree: its `docs/CLI.md`.
76
-
77
-
78
- ## Bundled Files
79
-
80
- - `summarize_manifest.py`
@@ -1,78 +0,0 @@
1
- <!-- Generated by scripts/build-forgecad-skill.mjs — do not edit. Edit agent-skill-library/forgecad-verify-mujoco/SKILL.md instead. -->
2
-
3
- # forgecad-verify-mujoco
4
-
5
- Verify a ForgeCAD MJCF export in MuJoCo with dynamics, contacts, controls, joint travel, and rendered evidence before calling it simulation-ready.
6
-
7
- | Field | Value |
8
- | --- | --- |
9
- | Installed by | `forgecad skill install` |
10
- | Source | `agent-skill-library/forgecad-verify-mujoco/SKILL.md` |
11
-
12
- ---
13
-
14
- ## Verify MuJoCo
15
-
16
- Use this when `forgecad export mjcf ...` is part of the deliverable. A model is not sim-ready just because `forgecad check simready` passes or the MJCF file loads: it must be loaded in MuJoCo, stepped under gravity, driven with the intended controls, contact pairs inspected, and rendered from useful views.
17
-
18
- Routing: geometry-only visual inspection -> `forgecad-inspect-model`; model authoring/API questions -> `forgecad`; building a new model -> `forgecad-build-model`.
19
-
20
- ### Definition Of Done
21
-
22
- 1. **Export from the exact source file.**
23
- ```bash
24
- rm -rf /tmp/forgecad-mjcf && mkdir -p /tmp/forgecad-mjcf
25
- forgecad export mjcf path/to/model.forge.js --output /tmp/forgecad-mjcf
26
- ```
27
- 2. **Load the generated scene in MuJoCo.** Use `scene.xml`, not only the model XML, so the floor/camera/package context is included.
28
- 3. **Check the root behavior.** If the model has a free root, it needs real support/contact geometry or an explicit fixed-root export path. Do not hide a floor failure by turning the whole shell into a giant bounding box that blocks moving internals.
29
- 4. **Check initial poses numerically.** For mechanisms, compute the expected body/link axes from the design source and compare them to MuJoCo `xmat`/`xpos`. Joint `ref`/default and connector frames can disagree with visual intuition.
30
- 5. **Keep meaningful collisions.** Do not mark moving functional parts `Sim.collider.none(...)` just to make motion pass. If full visual mesh contact is unstable, use a physically defensible simplified collider or proxy and state what physical surface it represents.
31
- 6. **Run the intended control with numeric acceptance criteria.** Define the expected signed post-settle joint travel before running the test: e.g. "this drive should rotate the drum -0.04 to -0.06 cycles, then stop near zero velocity" or "this wheel should move at least +1 cycle and keep spinning". Use cycles for revolute/indexing mechanisms when that is easier to reason about, and radians for direct MuJoCo qpos checks. A controller that only jitters, moves the wrong direction, overshoots through a stop, or eventually jams after skipping the intended state is a failure even when the process exits 0.
32
- 7. **Inspect contact pairs.** Contact names should match the physical story: floor/support, card/card, wheel/ground, stop/follower, etc. Contacts against a filled-in AABB, hidden fixture, or unrelated side plate usually indicate bad collider selection.
33
- 8. **Render evidence.** Save initial, settled, and driven frames from views that actually show the moving parts. If the model orientation is not obvious, generate a labeled camera preview grid first, inspect it, then rerun with the azimuth/elevation that shows the functional face. Do not report GIFs/frames before visually confirming they are not from the back, underside, or an occluded side.
34
-
35
- ### Helper Script
36
-
37
- This skill ships a MuJoCo smoke verifier:
38
-
39
- ```bash
40
- uv run --python 3.11 --with mujoco --with pillow \
41
- python <this-skill-dir>/scripts/mujoco_verify.py /tmp/forgecad-mjcf \
42
- --settle-seconds 2 \
43
- --seconds 8 \
44
- --actuator drum_velocity=-0.75 \
45
- --watch-joint drum_joint \
46
- --expect-drive-cycles drum_joint=-0.06:-0.03 \
47
- --expect-final-qvel drum_joint=-0.02:0.02 \
48
- --render-dir /tmp/forgecad-mjcf/verify \
49
- --camera-preview-grid
50
- ```
51
-
52
- Use `--actuator name=value` more than once for multi-actuator models. Use `--expect-drive-cycles joint=min:max` to assert signed final-minus-settled revolute travel in cycles/turns. Use `--expect-drive-delta joint=min:max` when you want raw MuJoCo qpos units instead. Use `--expect-final-qvel joint=min:max` to assert terminal velocity when the mechanism should stop or continue at a bounded speed. The script prints JSON with root drift, initial-to-final joint delta, post-settle drive delta, derived cycle counts, final velocities, expectation ranges, and top contact pairs, then writes PNG frames if `--render-dir` is supplied.
53
-
54
- Prefer explicit travel envelopes over loose "it moved" checks:
55
-
56
- - Stops/latches: assert a signed drive cycle or delta range and a near-zero final velocity range.
57
- - Continuous drives: assert the signed drive cycle/delta is large enough over the run and final velocity remains in the expected direction/range.
58
- - Indexing mechanisms: assert the expected cycle step size, not just eventual stall. If the mechanism reaches a stop only after skipping several indices, treat that as failure.
59
- - Gravity-settling mechanisms: evaluate functional travel with post-settle drive delta, not initial-to-final delta.
60
-
61
- When rendered orientation matters, start with `--camera-preview-grid`, open `camera_preview_grid.png`, pick the azimuth that shows the mechanism face or contact interface, then rerun with `--camera-azimuth <deg>` and any needed `--camera-lookat`, `--camera-distance`, or `--camera-elevation` adjustment. For mechanism evidence, prefer front/front-quarter views for user-facing GIFs and add a side/contact view only when it explains a collision better.
62
-
63
- ### Contact Debugging Rules
64
-
65
- - In MuJoCo UI, enable contact visualization with `Rendering` -> `Contact points` and `Contact forces`; use the right-side perturb/visualization panels if available in your build.
66
- - If rotation is blocked, list contacts during the stall and sort by repeated pairs. The blocker is usually the pair that appears every step while the driven joint velocity trends to zero.
67
- - If a body falls through the floor, inspect the exported geoms. Visual geoms have `contype="0" conaffinity="0"` and cannot support anything; collision geoms are usually group 3.
68
- - Bounding boxes are fast but dangerous for hollow frames, windows, handles, and side plates. They collide as the filled AABB, not the visible object.
69
- - Mesh collision on complex moving parts can be too exact or solver-hostile. Prefer simple physical proxies for contact-critical moving bodies, such as a slab for a flap card or cylinders for rolling contact, but keep them colliding.
70
-
71
- ### Reporting
72
-
73
- Report the exact export command, the MuJoCo command/script, key numeric results, the most important contact pairs, and the rendered image paths. Say what was not verified. Never say "sim-ready" when only `forgecad run`, `forgecad check simready`, or a successful export was executed.
74
-
75
-
76
- ## Bundled Files
77
-
78
- - `scripts/mujoco_verify.py`
@@ -1,132 +0,0 @@
1
- ---
2
- name: forgecad-design-spec
3
- description: Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification.
4
- forgecad-public: true
5
- ---
6
-
7
- # Design Spec
8
-
9
- The design document — a git-committed, diff-reviewed markdown file — is the source of truth. Not the code, not the chat, not your head. You iterate it by commit-and-review, and the `git diff` is the review artifact.
10
-
11
- **Validate the design by mentally operating the thing, step by step.** Walk it as someone assembles, uses, or moves it. The step with no answer — *"how does the servo get inside the housing?"* — is the real design gap. A spec that reads complete on the page can still hide a hole that only surfaces when you try to put it together in your head. State each gap falsifiably: not "tolerances might be tight" but "the 12mm arm cantilevers under gripping load, may flex >0.5mm."
12
-
13
- **Every number has a reason; the narrative comes before the numbers.** Describe the object as if over the phone, then derive each value and show its math: `wallThickness = 2.4mm = 6 × 0.4mm nozzle`. The design is **implementation-blind** — shaped by the object, never by what the ForgeCAD API makes easy. **Manufacturing process is one of those reasons** — a design decision you weigh, never a default you inherit (never assume FDM/printing).
14
-
15
- **A vague request is a set of decisions you make honestly, not information to extract.** No placeholders ("appropriate motor"); choose a defensible value, show why, continue. The Decisions table fills only after user review, so the loop stays in the document.
16
-
17
- ## Altitude — three phases, one document trail
18
-
19
- | Phase | When | Output |
20
- |-------|------|--------|
21
- | Intake | request is fuzzy / process unspecified | engineering brief + master prompt |
22
- | HLD | design is wrong in *approach*, alternatives exist | `<name>-hld.md` |
23
- | LLD | decisions locked, or a simple single-body part | `<name>-lld.md` |
24
-
25
- The HLD carries only decision-driving dimensions and genuinely-different alternatives; the LLD carries enough that someone builds from it alone. Speccing every tolerance in an HLD, or revisiting locked decisions in an LLD, is an altitude error — back up. Simple parts skip straight from HLD to code, or from a request to an LLD.
26
-
27
- ---
28
-
29
- ## Phase 1 — Intake (fuzzy request → concrete brief)
30
-
31
- Use when the user wants something physically real but the ask is vague ("make me a robot gripper", "make it production ready", "pick sensible numbers"). This phase owns intake; once the brief is concrete, continue to HLD or hand off to the `forgecad` skill.
32
-
33
- **Manufacturing is a design decision, not a default.** Derive the process stack from artifact family, load path, scale, safety expectations, material, production intent, and operating story — never assume printing/plastic. If the user names a process, honor it but warn when it is unsafe or dishonest for the duty. Family→process anchors live in `references/default-profiles.md`.
34
-
35
- **Default posture: manufacture-realistic prototype** — real materials, purchased-part boundaries, assembly logic, validation; no claims of production tooling or certification. Other postures only when justified: `production-realistic`, `printable`, `visual-CAD`, or a specific process posture (`sheet-metal`, `CNC-machined`, `laser-cut`, `welded-tube`, `injection-molded`, `cast`, `hybrid purchased-hardware`). Pick the posture honest for the artifact, not the easiest CAD surface.
36
-
37
- **Family-scoped numbers.** Every starter assumption is scoped to one artifact family; never reuse numbers across families.
38
-
39
- Workflow:
40
- 1. **Normalize the ask** into plain mechanism language ("6 DOF gripper" → standalone gripper, wrist+gripper, or arm+gripper).
41
- 2. **Build a specific operating story** — invented (non-famous) org, named program, prototype revision, review moment, mission pressure (pilot gate, demo date, investor milestone), and the generic failure mode to avoid. Prefer bold high-agency stories over modest lab exercises. Never assert the user works for a named real company; use real products only as public comparison anchors; never clone proprietary designs.
42
- 3. **Classify the artifact family** (`references/default-profiles.md`); use the no-family-fits escape rather than forcing one. Rideables route to human-vehicles, never chassis.
43
- 4. **Choose the process posture** per the taxonomy above.
44
- 5. **Pick qualitative levers** — duty (`light`/`general`/`sturdy`), scale (`compact`/`medium`/`large`), cost (`cheapest`/`balanced`/`performance-first`) — and translate to family-scoped starter assumptions.
45
- 6. **Close only critical gaps** — at most 3 grouped questions, always choice menus, never raw engineering inputs unless the architecture truly depends on them. Good: "light desk demo, useful hobby tool, or sturdier bench mechanism?" Bad: "What payload mass?"
46
- 7. **Write the engineering brief**: artifact + family + normalized interpretation; operating story + production reason + test setting + failure mode to avoid; output posture; intended loads, size envelope, motion/DOF; process stack + material defaults; purchased-part (BOM) boundary; validation standard; variant policy (versions are selectable params, one rendered at a time); file organization (`main.forge.js` entry for multi-file); explicit uncertainty policy.
47
- 8. **Emit one master prompt** — fill `references/master-prompt.md`; return the finished prompt, not notes about it. It must demand exactly `BUILD-READY` or `BEST-EFFORT BUILD CANDIDATE` (human-bearing furniture and rideables usually end the latter).
48
-
49
- Defaults if the user stays vague: `general-duty` / `medium` / `balanced`, invent the operating story, use family starter assumptions.
50
-
51
- ---
52
-
53
- ## Phase 2 — High-Level Design (HLD)
54
-
55
- Aligns user and agent on *what* to build before *how*. Brevity is a readability tool, not a metric — include whatever evidence, diagrams, and dimensions a good decision needs. Write the sections top to bottom; the order is the workflow.
56
-
57
- ```markdown
58
- # [Name] — High-Level Design
59
-
60
- ## Problem
61
- What must this do? Hard requirements (grip 40-90mm objects, fit a 60mm
62
- housing, use purchased bearings). State the problem without implying a
63
- solution. Unspecified process choice is an open design dimension.
64
-
65
- ## Approach
66
- How it works conceptually. ASCII diagram of key elements and their
67
- spatial relationships — diagram labels stay in this markdown, never
68
- carried into CAD geometry unless the real artifact needs markings.
69
-
70
- ## Key Interfaces
71
- Every point where this touches another part or the outside world:
72
- mating surfaces, shared dimensions, coordination points. These are the
73
- contracts that constrain the design.
74
-
75
- ## Dictionary
76
- | Term | What it is |
77
- Define every domain term in plain words, with dimensions where relevant.
78
- Write for a developer without a mechanical-engineering background.
79
-
80
- ## Alternatives
81
- | Option | Description | Tradeoff |
82
- 2-3 genuinely different strategies, not minor variations. Mark one
83
- recommended and say why. If there is honestly one approach, say so.
84
-
85
- ## Usage Guide
86
- Work backwards from how someone uses, assembles, or operates the thing,
87
- step by step. If a step doesn't make sense ("how does the servo get
88
- inside?"), flag it inline with ⚠️ and promote it to Concerns.
89
-
90
- ## Concerns
91
- 1. Numbered, falsifiably specific — a reviewer must be able to say "real
92
- problem" or "fine, because…".
93
-
94
- ## Decisions
95
- | # | Decision | Rationale |
96
- Filled ONLY after user review — never pre-decide. Each row resolves a
97
- concern or alternative.
98
- ```
99
-
100
- Rules: if you're speccing every part, formula, and tolerance, you're writing an LLD — back up. If you can't draw it, you don't understand it yet.
101
-
102
- ---
103
-
104
- ## Phase 3 — Low-Level Design (LLD)
105
-
106
- Implements the HLD's locked Decisions table; it never revisits those decisions. Simple single-body parts skip the HLD and start here. Complex assemblies split into a numbered directory: overview, global constraints, per-component files, assembly, verification.
107
-
108
- An LLD is **narrative-first** (reads like describing the object over the phone), **authoritative** (the single source code implements), **implementation-blind**, and shows **every number's rationale**.
109
-
110
- Required structure:
111
- 1. **Narrative** — what it is, how it behaves and interacts, why it exists. Concrete comparisons ("about the size of a deck of cards"); no ungrounded vague terms.
112
- 2. **Technical** — typed parameter table (length / angle / count / boolean / choice / ratio / clearance — design-document vocabulary, not the runtime `Param.*` API), always with units (mm, degrees default) and a rationale for every default and range; derived dimensions shown as math; geometry and constraints, each constraint with a rationale.
113
- 3. **Verification** — mandatory checklist: dimensional, functional, printability/process checks.
114
-
115
- Don'ts: never open with a parameter list (story before numbers), never leave a constraint implicit, never skip verification. Completeness gate before presenting: can someone build from this alone? Does it implement every HLD decision? Is every constraint explicit with a rationale?
116
-
117
- ---
118
-
119
- ## Review via git
120
-
121
- HLDs and LLDs iterate through git, not conversation:
122
- - **Commit every version.** No drafts floating in chat. After writing, commit and tell the user it's ready for review.
123
- - **Feedback arrives as file edits (inline comments, strikethroughs) or chat — check both.** Read `git diff`: the diff is the review artifact.
124
- - **Update, commit, repeat** until the Decisions table is filled and the user says "go."
125
-
126
- ## Pipeline
127
-
128
- | Stage | This skill's phase | Output | Next |
129
- |-------|--------------------|--------|------|
130
- | Explore a fuzzy ask | Intake | engineering brief + master prompt | HLD |
131
- | Decide *what* to build | HLD | `*-hld.md` (Decisions filled) | LLD |
132
- | Detail *how* to build | LLD | `*-lld.md` | `forgecad-build-model` + `forgecad` → `.forge.js` |
@@ -1,99 +0,0 @@
1
- # Family Intake Profiles
2
-
3
- Family-scoped starter anchors for closing missing inputs — temporary engineering anchors, not truth, and never reused across families.
4
-
5
- ## Process Selection By Family
6
-
7
- Never default to 3D printing. Choose the process stack from artifact family, load path, scale, safety expectations, material properties, quantity/iteration needs, and operating story. Typical honest stacks:
8
-
9
- - rideable vehicles: metal/composite/wood structure, urethane/rubber wheels, bearings, brakes, fasteners, purchased safety-critical hardware
10
- - furniture: wood, sheet goods, tube, metal brackets, conventional joinery; printed parts only for honest secondary details
11
- - enclosures: injection molding, sheet metal, CNC, thermoforming, or printing depending on quantity, ruggedness, serviceability
12
- - fixtures: machined, laser-cut, welded, printed, or hybrid with standard clamps/pins/fasteners
13
- - small mechanisms: hybrid printed/machined/sheet parts plus purchased pivots, shafts, bearings, springs, fasteners, motors, electronics
14
-
15
- ## Family: Grippers And Small Mechanisms
16
-
17
- Use for: robot grippers, articulated fingers, small pick-and-place tools, manipulators, end-effectors.
18
-
19
- Family questions: delicate / mixed-general / rigid-tool-like handling? size closer to desk, household, or workshop objects? cheapest / balanced / performance-first hardware?
20
-
21
- Duty bands:
22
-
23
- - `light-duty` — object mass `0.05-0.15 kg`, opening/feature band `30-60 mm`; small servo, compact lightweight prototype members (printed, machined, or laser-cut per the selected posture)
24
- - `general-duty` — object mass `0.20-0.50 kg`, opening `60-120 mm`; standard metal-gear servo or NEMA17-class solution, M3/M4 fasteners, inserts, pins, bearings where honest
25
- - `sturdy-duty` — object mass `0.50-1.00 kg`, opening `100-180 mm`; stronger shafts, bearings, more metal reinforcement; downgrade final certainty unless the mechanism stays simple
26
-
27
- ### Subtype: Dexterous Finger / Humanoid Hand Module
28
-
29
- Use for robot/dexterous/anthropomorphic/tendon/prosthetic-style fingers or one module of a robot hand.
30
-
31
- Story shape: a hand/manipulation program at an invented robotics org, a concrete module revision (`F2 index finger`, `Rev-C palm-mount finger`), a go/no-go or demo gate, a named test rig, real deployment stakes. Seed: "Helix Handworks is preparing the F2 index-finger module for its DEX-07 warehouse-pilot go/no-go review. The finger must bolt into Palm Mule V3, route a Bowden tendon through the MCP base without rubbing the housing wall, survive a 1,000-cycle curl test on Rig-3, and expose pivot/wear surfaces before the customer demo cell is frozen."
32
-
33
- Starter assumptions for `general-duty` / `medium` / `balanced`:
34
-
35
- - envelope: adult index-finger scale, roughly `95-115 mm` long, `18-24 mm` wide, `16-24 mm` thick
36
- - joints: MCP/PIP/DIP-like flexion chain with hard stops and clearance checks through curl
37
- - motion target: MCP `0-75 deg`, PIP `0-90 deg`, DIP `0-65 deg`
38
- - actuation: tendon or Bowden cable flexion with passive elastic/spring return unless the user asks for independent motors
39
- - hardware: metal pivot pins or shoulder screws, bushings or bearing surfaces, serviceable tendon anchor, replaceable fingertip/contact pad, palm mounting datum
40
- - validation: full-range curl sweep, tendon rub check, pivot wear check, fingertip contact load path, base-mount stiffness, assembly access
41
-
42
- ## Family: Fixtures, Jigs, And Holders
43
-
44
- Use for: drill guides, work-holding fixtures, camera/sensor mounts, brackets, repeatable positioning tools.
45
-
46
- Family questions: positioning, clamping, or repeated handling? palm-, hand-, or bench-size? speed of build vs stiffness?
47
-
48
- Non-obvious anchors: at `general-duty`, put inserts, metal pins, or off-the-shelf fasteners where wear concentrates; at `sturdy-duty` (repeated clamping, workshop abuse), printed geometry must be backed by thicker sections, inserts, metal rails, or replaceable wear faces.
49
-
50
- ## Family: Enclosures And Electronics Housings
51
-
52
- Use for: PCB enclosures, instrument cases, sensor housings, covers and shells.
53
-
54
- Family questions: one PCB, hand-sized stack, or bench device? passive venting, fan support, or dust protection? aesthetics, serviceability, or ruggedness?
55
-
56
- Non-obvious anchors: at `general-duty`, a removable lid with real fastening (inserts) and clearance for wiring/service loops; at `sturdy-duty`, thicker walls, boss reinforcement, connector strain protection, and a sealing strategy.
57
-
58
- ## Family: Furniture And Load-Bearing Structures
59
-
60
- Use for: tables, shelves, stands, stools, structural frames.
61
-
62
- **Caution:** human-bearing or safety-critical structures usually end `BEST-EFFORT BUILD CANDIDATE` unless there is real structural reasoning, conservative geometry, and honest material limits.
63
-
64
- Family questions: decorative / light household / real workshop use? side-table, desk, or bench span? will it ever support a person, heavy tools, or repeated impact?
65
-
66
- Non-obvious anchors: at `general-duty`, real attention to leg stiffness, racking resistance, and joint reinforcement; at `sturdy-duty`, stronger joinery, thicker members, triangulation/bracing. Wood, sheet goods, tube, and metal hardware are first-class BOM items; printed parts only where honest (brackets, templates, feet, cable features, corner blocks).
67
-
68
- ## Family: Chassis And Mobile Robot Structures
69
-
70
- Use for: wheeled robot chassis, tracked platforms, sensor carts, mobile bases. **Not** for human-ridden scooters, bikes, skateboards, or mobility devices — those route to Human Vehicles below.
71
-
72
- Family questions: indoor smooth, mixed home, or rough workshop floor? tiny robot, small rolling base, or larger platform? runtime / price / ruggedness priority?
73
-
74
- Non-obvious anchors: at `general-duty`, strengthen wheel mounts, motor mounts, and battery restraint; at `sturdy-duty`, more metal shafts/bearings/real fastening and increased skepticism about fully printed load paths.
75
-
76
- ## Family: Human Vehicles And Rideable Product Forms
77
-
78
- Use for: kick scooters, bicycles, skateboards/longboards, carts, strollers, dollies, mobility-adjacent platforms — anything a person stands on, rides, steers, brakes, or leans on.
79
-
80
- **Caution:** rideables usually end `BEST-EFFORT BUILD CANDIDATE` unless there is real structural analysis, conservative geometry, braking/steering reasoning, and explicit test limitations. Never present a rider-rated design as safe without validation.
81
-
82
- Family questions: visual CAD study, manufacture-realistic prototype candidate, or explicitly printable toy/model? child-, adult-, display-, or cargo-scale? steering, braking, folding, suspension, or static form only?
83
-
84
- Anchors: `light-duty` = display/toy/non-ridden study, printed cosmetic parts acceptable. `general-duty` = aluminum/steel tube or frame, machined or cast fork/dropout features, wood/composite/aluminum deck, urethane/rubber wheels, real bearings, axles, grip tape, purchased brake/steering hardware. `sturdy-duty` = conservative metal/composite structure, triangulation, large bearing interfaces, replaceable wear parts; downgrade certainty unless structural checks and a real test plan are explicit.
85
-
86
- Manufacturing: primary load paths in metal tube/plate/extrusion or wood/composite — never printed unless the user explicitly requested a printed demonstration model. Rolling interfaces purchased (wheels, bearings, axles, spacers, bushings); contact/wear interfaces in urethane/rubber, grip tape, replaceable pads. Printed parts only for cosmetic covers, cable guides, templates, fit-check models, or low-load accessory brackets.
87
-
88
- ## If No Family Fits
89
-
90
- Do not force a nearby family. Name the nearest family, state the mismatch, and build a custom intake brief with 2-4 artifact-specific levers.
91
-
92
- ## When Printing Is Selected
93
-
94
- Only when the artifact actually includes printed parts:
95
-
96
- - structural printed parts: PETG by default; PLA allowed for prototypes/fit checks
97
- - nozzle `0.4 mm`, layer height `0.2 mm`
98
- - threaded service joints: heat-set inserts where repeated opening is expected
99
- - sliding/rotating or wear-heavy interfaces: pins, bushings, bearings, or sacrificial wear parts — never raw printed rubbing unless intentionally low-duty