forgecad 0.10.3 → 0.10.5

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 (123) hide show
  1. package/dist/assets/{AdminPage-CK7ObBz3.js → AdminPage-raksfnNA.js} +1 -1
  2. package/dist/assets/{BenchmarkPage-Ds7Z2doN.js → BenchmarkPage-DP3RxhPs.js} +2 -2
  3. package/dist/assets/{BlogPage-DlPbpt6A.js → BlogPage-D7Dos-vl.js} +1 -1
  4. package/dist/assets/{DocsPage-vZb3b3Y0.js → DocsPage-DO1kvBns.js} +34 -43
  5. package/dist/assets/{EditorApp-HLoKfe15.js → EditorApp-DQJmcmRT.js} +51 -17
  6. package/dist/assets/{EmbedViewer--KnqBKrJ.js → EmbedViewer-DFDUhOma.js} +2 -2
  7. package/dist/assets/{LandingPageProofDriven-C_LssmnA.js → LandingPageProofDriven-DbE_tp8-.js} +54 -36
  8. package/dist/assets/{LegalPage-DGsyo4n1.js → LegalPage-CominSso.js} +2 -2
  9. package/dist/assets/{PricingPage-BOE27B-R.js → PricingPage-CcVIN9yj.js} +2 -2
  10. package/dist/assets/{SettingsPage-f47cnk39.js → SettingsPage-DLWcP289.js} +1 -1
  11. package/dist/assets/{app-D6ccu2Xx.js → app-xW3hOdq9.js} +1343 -4004
  12. package/dist/assets/{backendInit-DbTkQN9J.js → backendInit-mDHk97u7.js} +12346 -3803
  13. package/dist/assets/cli/{render-BsngirjC.js → render--SIU27W_.js} +1909 -146
  14. package/dist/assets/{constructionHistoryWorker-PCwXrTDB.js → constructionHistoryWorker-uEe_Q7Kg.js} +2362 -835
  15. package/dist/assets/{evalWorker-CS63PfZu.js → evalWorker-BqyDHDcI.js} +7755 -3127
  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-Y4cOzNyA.js → inspectWorker-UXMxlcR8.js} +6550 -2943
  19. package/dist/assets/{jointPose-AMvCywzS.js → jointPose-bYMlwU3v.js} +1 -1
  20. package/dist/assets/{landing-proof-driven-ORyigZ6p.css → landing-proof-driven-_u4v_xQb.css} +71 -11
  21. package/dist/assets/{manifold-Crd_F2qx.js → manifold-BR7UYI4P.js} +1 -1
  22. package/dist/assets/{manifold-CBry38ly.js → manifold-CyOV5B9S.js} +2 -2
  23. package/dist/assets/{manifold-k2kRcc85.js → manifold-D4d5NQst.js} +1 -1
  24. package/dist/assets/{reportWorker-CWvn0CEv.js → reportWorker-DsaICZsn.js} +7320 -2827
  25. package/dist/cli/render.html +1 -1
  26. package/dist/docs/index.html +2 -2
  27. package/dist/docs-raw/AI/usage.md +17 -15
  28. package/dist/docs-raw/CLI.md +4 -2
  29. package/dist/docs-raw/component-model.md +2 -2
  30. package/dist/docs-raw/generated/assembly.md +76 -3
  31. package/dist/docs-raw/generated/concepts.md +36 -5
  32. package/dist/docs-raw/generated/core.md +185 -21
  33. package/dist/docs-raw/generated/curves.md +344 -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 +224 -0
  38. package/dist/docs-raw/simulation-workflow.md +1 -1
  39. package/dist/docs-raw/skills/{forgecad-make-a-model.md → forgecad-build-model.md} +18 -8
  40. package/dist/docs-raw/skills/{forgecad-spec-by-walking-through-it.md → forgecad-design-spec.md} +6 -6
  41. package/dist/docs-raw/skills/{forgecad-model-grader.md → forgecad-grade-model.md} +8 -6
  42. package/{dist-skill/website/skills/forgecad-visual-spec.md → dist/docs-raw/skills/forgecad-image-prompt.md} +7 -7
  43. package/dist/docs-raw/skills/{forgecad-render-inspect.md → forgecad-inspect-model.md} +6 -6
  44. package/{dist-skill/website/skills/forgecad-project.md → dist/docs-raw/skills/forgecad-project-sync.md} +5 -5
  45. package/dist/docs-raw/skills/{forgecad-3d-reconstruction.md → forgecad-reconstruct-cad-file.md} +7 -7
  46. package/dist/docs-raw/skills/{forgecad-image-replicator.md → forgecad-reconstruct-from-images.md} +12 -12
  47. package/dist/docs-raw/skills/{forgecad-mujoco-verify.md → forgecad-verify-mujoco.md} +6 -6
  48. package/dist/docs-raw/skills/forgecad.md +1 -0
  49. package/dist/docs-raw/skills/index.md +9 -12
  50. package/dist/index.html +9 -9
  51. package/dist/llms.txt +7 -7
  52. package/dist/sitemap.xml +16 -16
  53. package/dist-cli/{check-compiler-HPF2T2FS.js → check-compiler-7YAHVXYM.js} +1 -1
  54. package/dist-cli/{check-query-propagation-HYSLTXAB.js → check-query-propagation-ZRR6IOJW.js} +1 -1
  55. package/dist-cli/{chunk-WLUKAW3H.js → chunk-VNM67DIV.js} +29671 -24865
  56. package/dist-cli/forgecad.js +5906 -714
  57. package/dist-cli/forgecad_geometry_bg.wasm +0 -0
  58. package/dist-skill/CONTEXT.md +853 -45
  59. package/dist-skill/SKILL.md +1 -0
  60. package/dist-skill/docs/CLI.md +4 -2
  61. package/dist-skill/docs/generated/assembly.md +73 -3
  62. package/dist-skill/docs/generated/core.md +185 -21
  63. package/dist-skill/docs/generated/curves.md +343 -6
  64. package/dist-skill/docs/generated/runtime-names.md +12 -12
  65. package/dist-skill/docs/generated/sketch.md +16 -3
  66. package/dist-skill/docs/guides/inspection-bundles.md +5 -3
  67. package/dist-skill/docs/guides/structural-fea.md +224 -0
  68. package/dist-skill/library/README.md +9 -12
  69. package/dist-skill/library/{forgecad-make-a-model → forgecad-build-model}/SKILL.md +16 -6
  70. package/dist-skill/library/{forgecad-spec-by-walking-through-it → forgecad-design-spec}/SKILL.md +4 -4
  71. package/dist-skill/library/{forgecad-spec-by-walking-through-it → forgecad-design-spec}/references/master-prompt.md +1 -1
  72. package/dist-skill/library/{forgecad-model-grader → forgecad-grade-model}/SKILL.md +6 -4
  73. package/dist-skill/library/forgecad-grade-model/agents/openai.yaml +4 -0
  74. package/dist-skill/library/{forgecad-visual-spec → forgecad-image-prompt}/SKILL.md +5 -5
  75. package/dist-skill/library/forgecad-image-prompt/agents/openai.yaml +4 -0
  76. package/dist-skill/library/{forgecad-render-inspect → forgecad-inspect-model}/SKILL.md +4 -4
  77. package/dist-skill/library/{forgecad-project → forgecad-project-sync}/SKILL.md +3 -3
  78. package/dist-skill/library/{forgecad-3d-reconstruction → forgecad-reconstruct-cad-file}/SKILL.md +5 -5
  79. package/dist-skill/library/forgecad-reconstruct-cad-file/agents/openai.yaml +4 -0
  80. package/dist-skill/library/{forgecad-image-replicator → forgecad-reconstruct-from-images}/SKILL.md +10 -10
  81. package/dist-skill/library/forgecad-reconstruct-from-images/agents/openai.yaml +4 -0
  82. package/dist-skill/library/{forgecad-mujoco-verify → forgecad-verify-mujoco}/SKILL.md +4 -4
  83. package/dist-skill/website/skills/{forgecad-make-a-model.md → forgecad-build-model.md} +18 -8
  84. package/dist-skill/website/skills/{forgecad-spec-by-walking-through-it.md → forgecad-design-spec.md} +6 -6
  85. package/dist-skill/website/skills/{forgecad-model-grader.md → forgecad-grade-model.md} +8 -6
  86. package/{dist/docs-raw/skills/forgecad-visual-spec.md → dist-skill/website/skills/forgecad-image-prompt.md} +7 -7
  87. package/dist-skill/website/skills/{forgecad-render-inspect.md → forgecad-inspect-model.md} +6 -6
  88. package/{dist/docs-raw/skills/forgecad-project.md → dist-skill/website/skills/forgecad-project-sync.md} +5 -5
  89. package/dist-skill/website/skills/{forgecad-3d-reconstruction.md → forgecad-reconstruct-cad-file.md} +7 -7
  90. package/dist-skill/website/skills/{forgecad-image-replicator.md → forgecad-reconstruct-from-images.md} +12 -12
  91. package/dist-skill/website/skills/{forgecad-mujoco-verify.md → forgecad-verify-mujoco.md} +6 -6
  92. package/dist-skill/website/skills/forgecad.md +1 -0
  93. package/dist-skill/website/skills/index.md +9 -12
  94. package/examples/analysis/structural-stress-fea.forge.js +19 -0
  95. package/examples/api/blend-full-round.forge.js +37 -0
  96. package/examples/api/blend-variable-radius.forge.js +51 -0
  97. package/examples/api/curve-project-and-intersect.forge.js +59 -0
  98. package/examples/api/extrude-up-to-face.forge.js +47 -0
  99. package/examples/api/spoon-full-tang-handle.forge.js +148 -0
  100. package/examples/api/surface-boundarynet-dished-bowl.forge.js +63 -0
  101. package/examples/api/surface-fill-interior-constraints.forge.js +59 -0
  102. package/examples/api/texture-projection.forge.js +75 -0
  103. package/examples/assets/uv-grid.png +0 -0
  104. package/package.json +4 -1
  105. package/dist/docs-raw/skills/forgecad-blockout-model.md +0 -49
  106. package/dist/docs-raw/skills/forgecad-component-model.md +0 -53
  107. package/dist/docs-raw/skills/forgecad-reconstruction-benchmark.md +0 -60
  108. package/dist-skill/library/forgecad-3d-reconstruction/agents/openai.yaml +0 -4
  109. package/dist-skill/library/forgecad-blockout-model/SKILL.md +0 -42
  110. package/dist-skill/library/forgecad-component-model/SKILL.md +0 -46
  111. package/dist-skill/library/forgecad-image-replicator/agents/openai.yaml +0 -4
  112. package/dist-skill/library/forgecad-model-grader/agents/openai.yaml +0 -4
  113. package/dist-skill/library/forgecad-reconstruction-benchmark/SKILL.md +0 -48
  114. package/dist-skill/library/forgecad-reconstruction-benchmark/agents/openai.yaml +0 -4
  115. package/dist-skill/library/forgecad-visual-spec/agents/openai.yaml +0 -4
  116. package/dist-skill/website/skills/forgecad-blockout-model.md +0 -49
  117. package/dist-skill/website/skills/forgecad-component-model.md +0 -53
  118. package/dist-skill/website/skills/forgecad-reconstruction-benchmark.md +0 -60
  119. /package/dist/assets/{landing-proof-driven-DiGqdtWa.js → landing-proof-driven-DNPRKL_p.js} +0 -0
  120. /package/dist-skill/library/{forgecad-spec-by-walking-through-it → forgecad-design-spec}/references/default-profiles.md +0 -0
  121. /package/dist-skill/library/{forgecad-render-inspect → forgecad-inspect-model}/summarize_manifest.py +0 -0
  122. /package/dist-skill/library/{forgecad-image-replicator → forgecad-reconstruct-from-images}/scripts/compare_images.py +0 -0
  123. /package/dist-skill/library/{forgecad-mujoco-verify → forgecad-verify-mujoco}/scripts/mujoco_verify.py +0 -0
@@ -1,5 +1,5 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-6j1Kke-Y.js";
2
- import { u as useAuthStore } from "./app-D6ccu2Xx.js";
2
+ import { u as useAuthStore } from "./app-xW3hOdq9.js";
3
3
  function formatUptime(seconds) {
4
4
  const d = Math.floor(seconds / 86400);
5
5
  const h = Math.floor(seconds % 86400 / 3600);
@@ -1,6 +1,6 @@
1
1
  import { r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-6j1Kke-Y.js";
2
- import { B as BrandMark } from "./app-D6ccu2Xx.js";
3
- import { u as usePageBackground } from "./landing-proof-driven-DiGqdtWa.js";
2
+ import { B as BrandMark } from "./app-xW3hOdq9.js";
3
+ import { u as usePageBackground } from "./landing-proof-driven-DNPRKL_p.js";
4
4
  const BENCHMARK_DATA = {
5
5
  "generatedAt": "2026-05-26T17:46:56.725Z",
6
6
  "sourceSubmissionCount": 41,
@@ -1,5 +1,5 @@
1
1
  import { u as useParams, j as jsxRuntimeExports, L as Link } from "./vendor-react-6j1Kke-Y.js";
2
- import { B as BrandMark } from "./app-D6ccu2Xx.js";
2
+ import { B as BrandMark } from "./app-xW3hOdq9.js";
3
3
  const POSTS = [
4
4
  {
5
5
  slug: "hello-forgecad-io",
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  var _a;
5
5
  import { u as useParams, f as useNavigate, r as reactExports, j as jsxRuntimeExports, L as Link } from "./vendor-react-6j1Kke-Y.js";
6
6
  import { H as HighlightJS, t as typescript, j as javascript, a as json } from "./typescript-DBQ6RN5l.js";
7
- import { a as applyTheme } from "./app-D6ccu2Xx.js";
7
+ import { a as applyTheme } from "./app-xW3hOdq9.js";
8
8
  function M() {
9
9
  return { async: false, breaks: false, extensions: null, gfm: true, hooks: null, pedantic: false, renderer: null, silent: false, tokenizer: null, walkTokens: null };
10
10
  }
@@ -2873,64 +2873,49 @@ const SKILL_SECTIONS = [
2873
2873
  "description": "ForgeCAD model authoring, editing, debugging, and execution guidance for .forge.js, SVG-import, assembly, and CLI workflows. Use when building or modifying ForgeCAD geometry, structuring multi-file projects, validating scripts, or using ForgeCAD export/render tooling."
2874
2874
  },
2875
2875
  {
2876
- "slug": "skills/forgecad-3d-reconstruction",
2877
- "title": "forgecad-3d-reconstruction",
2878
- "description": "Reconstruct a parametric ForgeCAD model from an existing 3D CAD or mesh file such as STL, OBJ, 3MF, STEP, or STP; inspect the source asset directly, author real ForgeCAD geometry, and iteratively compare the candidate with `forgecad compare 3d`."
2876
+ "slug": "skills/forgecad-build-model",
2877
+ "title": "forgecad-build-model",
2878
+ "description": "Build or edit a manufacture-realistic `.forge.js` model in a project, then validate it with run, render, inspect, and export evidence."
2879
2879
  },
2880
2880
  {
2881
- "slug": "skills/forgecad-blockout-model",
2882
- "title": "forgecad-blockout-model",
2883
- "description": "Create rough high-level ForgeCAD concept models from simple primitives to explore layout, proportions, motion, and part relationships without production detail. Use when asked for a quick model sketch, blockout, spatial mockup, or intuitive low-detail 3D concept."
2881
+ "slug": "skills/forgecad-design-spec",
2882
+ "title": "forgecad-design-spec",
2883
+ "description": "Create a ForgeCAD design brief, HLD, or LLD before coding by walking through use, assembly, interfaces, decisions, and verification."
2884
2884
  },
2885
2885
  {
2886
- "slug": "skills/forgecad-component-model",
2887
- "title": "forgecad-component-model",
2888
- "description": "Enforce the ForgeCAD Component Model when building multi-part assemblies. Parts build at origin, connectors position them, data flows down from parent. Use when building or reviewing any multi-file ForgeCAD project."
2886
+ "slug": "skills/forgecad-grade-model",
2887
+ "title": "forgecad-grade-model",
2888
+ "description": "Grade a ForgeCAD or CAD-as-code model against a requirement, brief, prompt, reference, or acceptance criteria with evidence and a 0-10 score."
2889
2889
  },
2890
2890
  {
2891
- "slug": "skills/forgecad-image-replicator",
2892
- "title": "forgecad-image-replicator",
2893
- "description": "Build real ForgeCAD geometry from one or more reference images by treating images as evidence, inferring the object, then validating against both reference-matched and canonical views."
2891
+ "slug": "skills/forgecad-image-prompt",
2892
+ "title": "forgecad-image-prompt",
2893
+ "description": "Write builder-honest AI image prompts from a concrete ForgeCAD model, build brief, HLD, or LLD without hiding how the artifact is built."
2894
2894
  },
2895
2895
  {
2896
- "slug": "skills/forgecad-make-a-model",
2897
- "title": "forgecad-make-a-model",
2898
- "description": "Create manufacture-realistic prototype ForgeCAD (.forge.js) models in the active CAD project. Handles file placement, invokes the forgecad skill for API guidance, and validates the result."
2896
+ "slug": "skills/forgecad-inspect-model",
2897
+ "title": "forgecad-inspect-model",
2898
+ "description": "Select, run, and interpret ForgeCAD inspection evidence for collisions, sections, wall thickness, components, masks, depth, normals, surface continuity, and fit."
2899
2899
  },
2900
2900
  {
2901
- "slug": "skills/forgecad-model-grader",
2902
- "title": "forgecad-model-grader",
2903
- "description": "Analyze, verify, and grade ForgeCAD or CAD-as-code models against a user requirement, design brief, prompt, reference, or acceptance criteria. Use when asked to evaluate, judge, QA, benchmark, score, rate, or compare a CAD model; render it from multiple angles, run targeted inspections when needed, visually verify the evidence, and produce a 0-10 score with concise justification."
2901
+ "slug": "skills/forgecad-project-sync",
2902
+ "title": "forgecad-project-sync",
2903
+ "description": "Manage hosted ForgeCAD project sync from the CLI: init, clone, pull, push, file operations, members, publishing, and shares."
2904
2904
  },
2905
2905
  {
2906
- "slug": "skills/forgecad-mujoco-verify",
2907
- "title": "forgecad-mujoco-verify",
2908
- "description": "Verify ForgeCAD MJCF exports in MuJoCo with real dynamics, contacts, root behavior, controls, required joint travel, and rendered evidence before calling a model simulation-ready. Use when making a ForgeCAD assembly sim-ready, debugging MJCF contacts, checking why a body falls through the floor, validating actuator motion, or proving a mechanism moved through the intended range."
2906
+ "slug": "skills/forgecad-reconstruct-cad-file",
2907
+ "title": "forgecad-reconstruct-cad-file",
2908
+ "description": "Reconstruct a readable parametric ForgeCAD model from an existing CAD or mesh file such as STL, OBJ, 3MF, STEP, or STP."
2909
2909
  },
2910
2910
  {
2911
- "slug": "skills/forgecad-project",
2912
- "title": "forgecad-project",
2913
- "description": "ForgeCAD project CLI workflow creating, managing, syncing projects and files on forgecad.io. Covers init, push, pull, file operations, member management, publishing, and sharing."
2911
+ "slug": "skills/forgecad-reconstruct-from-images",
2912
+ "title": "forgecad-reconstruct-from-images",
2913
+ "description": "Reconstruct a real parametric ForgeCAD object from reference images by using images as evidence, not as a one-view facade."
2914
2914
  },
2915
2915
  {
2916
- "slug": "skills/forgecad-reconstruction-benchmark",
2917
- "title": "forgecad-reconstruction-benchmark",
2918
- "description": "Solve ForgeCAD CAD reconstruction benchmark or RL episodes in a prepared workspace by rebuilding a visible reference asset as readable parametric ForgeCAD in the fixed submission path, using visual and geometric self-checks while respecting sandbox limits."
2919
- },
2920
- {
2921
- "slug": "skills/forgecad-render-inspect",
2922
- "title": "forgecad-render-inspect",
2923
- "description": "Run and interpret ForgeCAD inspection bundles for model verification. Use when asked to inspect a ForgeCAD model, analyze an inspection bundle, validate collisions, wall thickness, connectivity, floating bodies, sections, masks, depth, normals, or Zebra stripes."
2924
- },
2925
- {
2926
- "slug": "skills/forgecad-spec-by-walking-through-it",
2927
- "title": "forgecad-spec-by-walking-through-it",
2928
- "description": 'Design a ForgeCAD model, mechanism, or assembly by fixing WHAT before HOW in a git-reviewed design document, validated by mentally operating the thing step by step. Covers fuzzy-request intake and process choice, high-level design (HLD), and low-level design (LLD). Use on "spec this out", "plan the design", "write the HLD/LLD", a vague build request that needs concrete decisions, or any moment the right move is a reviewable spec before code.'
2929
- },
2930
- {
2931
- "slug": "skills/forgecad-visual-spec",
2932
- "title": "forgecad-visual-spec",
2933
- "description": "Turn a concrete ForgeCAD artifact, build brief, HLD, or existing model into builder-honest image prompts for AI image models. Use when the user wants visual-spec renders that show the final product while keeping mechanisms, seams, hardware, and build cues visible instead of drifting into concept art."
2916
+ "slug": "skills/forgecad-verify-mujoco",
2917
+ "title": "forgecad-verify-mujoco",
2918
+ "description": "Verify a ForgeCAD MJCF export in MuJoCo with dynamics, contacts, controls, joint travel, and rendered evidence before calling it simulation-ready."
2934
2919
  }
2935
2920
  ];
2936
2921
  HighlightJS.registerLanguage("typescript", typescript);
@@ -3015,6 +3000,11 @@ const CLI_SECTIONS = [
3015
3000
  { slug: "cli", title: "CLI", description: "Create projects, open local studios, validate, export, and sync" }
3016
3001
  ];
3017
3002
  const SIMULATION_SECTIONS = [
3003
+ {
3004
+ slug: "structural-fea",
3005
+ title: "Structural FEA",
3006
+ description: "Author static stress studies, solve with Gmsh and CalculiX, and render stress heatmaps"
3007
+ },
3018
3008
  {
3019
3009
  slug: "simready-quickstart",
3020
3010
  title: "SimReady Quickstart",
@@ -3032,6 +3022,7 @@ function docsRawFilename(slug) {
3032
3022
  if (slug === "welcome") return "welcome.md";
3033
3023
  if (slug === "ai-native-cad") return "AI/ai-native-cad.md";
3034
3024
  if (slug === "ai-usage") return "AI/usage.md";
3025
+ if (slug === "structural-fea") return "guides/structural-fea.md";
3035
3026
  if (slug === "simready-quickstart") return "guides/simready-quickstart.md";
3036
3027
  if (slug === "simulation-workflow") return "simulation-workflow.md";
3037
3028
  if (slug === "skills") return "skills/index.md";