kernelCAD

com.kernelcad由 kernelcad.com 發布官方發布者v0.17.1更新於 Nov 20, 2026

CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.

已驗證Streamable HTTP可網頁執行檔案與儲存開發者工具媒體與設計

概覽

AI 產生的概覽

把自然語言需求轉成可編輯的參數化 CAD 原始碼,檢查幾何並匯出 STEP、STL 與圖面。

可以做什麼
  • 撰寫與修改 .kcad.ts 腳本:增刪特徵、曲面、曲線、文字、陣列、零件、連接件與配合,設定參數並求解草圖
  • 評估、比對與檢視模型:編譯腳本、比較版本差異、讀取組立/機器人/STEP 資訊、追溯特徵失敗原因、查詢拓撲
  • 驗證設計:執行組立、干涉與機構檢查,求解配合圖,查詢診斷碼與 API 參考
  • 算圖與審閱:回傳伺服器端算圖、網格與互動式 Studio 檢視,並讀取分享連結上的筆刷標註
  • 匯出與匯入:寫出 STL、STEP、DXF 等格式,並匯入上傳的照片、圖面或 STEP 檔案
  • 檢索參考:查找內建標準件目錄與 cookbook 範例片段
適用情境
適合讓助理以可編輯原始碼而非圖片的方式設計或修改機械零件與組立,並交付 STEP、STL 或圖面供審閱。適用於 3D 列印、CNC、鈑金、雷射切割與簡單機構等需要確定性檢查的情境。
執行需求
可使用託管端點並透過 OAuth 登入 kernelCAD 帳號(也支援匿名使用),或以 npx 在本機執行,需要 Node.js 22.12 以上。上傳本機檔案需先經過 request_upload 步驟。選用環境變數可控制遙測與沙箱模式。
安裝前請注意
儲存專案、發布分享連結與匯出檔案的工具會寫入資料;公開或未列出專案的 slug 即為存取憑證。上傳的照片、圖面與 STEP 檔案會傳送到服務端。本機執行預設送出匿名遙測,可關閉;查找零件會連線外部主機。幾何檢查不等於材料強度或製造認證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 kernelCAD,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.kernelcad%2Fkernelcad/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "kernelcad": {
      "type": "http",
      "url": "https://mcp.kernelcad.com/mcp"
    }
  }
}

README

kernelCAD — CAD for coding agents, with editable source and checks

Describe a mechanical part in ChatGPT, Claude, Codex, Cursor, or the browser. kernelCAD turns the brief into editable parametric CAD, lets you inspect and revise the geometry, and exports STEP, STL, and drawings.

Start here: Open Studio · Connect your agent · Watch real tool workflows · Read the prompt-to-STEP guide

[A parameterized planetary gear stage produced through the kernelCAD agent workflow]

Why not just generate an image? Your design remains .kcad.ts source: named features, editable dimensions and assembly structure. Agents can evaluate it, check constraints and clearances, revise the source, and export files for an engineer to inspect. Reproducible example source and documented checks are public. Geometry checks are not material-strength or manufacturing certification.

Connect a hosted MCP client: https://mcp.kernelcad.com/mcp (no local CAD install). Run locally: npx -y kernelcad mcp (Node.js 22.12+).

Source scope: this repository contains the reusable CAD runtime, CLI, MCP tools and headless renderer. Hosted UI and commercial services are maintained separately. Build the reusable tools with npm run build; use npm run dev for the standalone renderer.

The workflow is: brief → editable .kcad.ts → evaluated B-rep → validation → guided revision → STEP/STL/drawing. OpenCASCADE is the geometry kernel; kernelCAD supplies the agent-first modeling and review workflow.

Manufacturing design use cases

Describe a part, refine its editable CAD source, and export the geometry or drawing needed for the next step. These examples are starting points for designing parts for different processes:

ProcessExampleReusable CAD reference
3D printingAn electronics enclosure with locating lid and PCB postsEnclosure
CNC millingA bearing block with mounting holes and a stepped seatBearing block
Sheet metalA four-hole bent bracket with a flat patternBent bracket
Laser or waterjet cuttingA motor mounting plate with pilot and hole patternsMotor plate
TurningA shouldered spacer with an axial boreShoulder spacer
AssembliesA bearing, housing, shaft and retainerBearing assembly
Injection moldingA drafted housing with board-screw bosses and structural ribsMoulded housing

The output is CAD for review, not a manufacturing certification. Check dimensions, fit, material and process requirements, and prototype or obtain engineering review as appropriate for the part. The case notes describe what has been checked and what remains open for each model.

Install

Already in ChatGPT and Claude: no install

kernelCAD runs as a connected app in ChatGPT (Apps SDK, with the Studio viewer and paint review inside the chat) and in Claude / claude.ai (custom connector). Add it from the chat settings and sign in:

One account everywhere. The coding-agent plugins below use the same hosted server (https://mcp.kernelcad.com/mcp) and the same kernelCAD sign-in. A model saved from Claude Code, Codex, Cursor, Gemini or Grok opens at the same Studio share link (/p/<slug>) you see in ChatGPT or Claude. Sign in with the same account in each client.

Ask your agent: “look at kernelcad.com and install the mcp”. Agent-readable installation instructions cover hosted setup, local CLI setup, and connection verification.

Local MCP server: one line

Run the MCP server over stdio with no install (Node.js 22.12 or newer):

npx -y kernelcad mcp

Claude Code: claude mcp add kernelcad -- npx -y kernelcad mcp

Local CLI

To keep the kernelcad command on your PATH:

npm install --global kernelcad

For a self-contained install that includes Node.js, Linux and macOS users can run:

curl -fsSL https://kernelcad.com/install.sh | sh

On Windows PowerShell, run:

irm https://kernelcad.com/install.ps1 | iex

The direct installers download a platform archive, verify its SHA-256 checksum, and install it under the user's home directory. Pin a release with KERNELCAD_VERSION=vX.Y.Z on Linux/macOS or $env:KERNELCAD_VERSION='vX.Y.Z' in PowerShell. Builds are available for Linux x64/ARM64, macOS Intel/Apple Silicon, and Windows x64. Direct installs do not require a separately installed Node.js.

For regulated or air-gapped machines, kernelcad --sandbox … and kernelcad mcp --sandbox --workspace <dir> (or KERNELCAD_SANDBOX=1) keep all file access inside one workspace directory and refuse outbound network at runtime, including telemetry. See docs/sandbox.md.

Coding agents: one command

One command connects your agent to the hosted kernelCAD MCP server (https://mcp.kernelcad.com/mcp) and adds the kernelCAD skills. Nothing runs locally and no OpenCASCADE install is needed. Anonymous use works; sign in through your client's OAuth prompt for account features.

AgentOne-liner
Claude Codeclaude plugin install kernelcad --marketplace w1ne/kernelCAD-web
Codexcodex plugin marketplace add w1ne/kernelCAD-web && codex plugin add kernelcad@kernelcad
CursorAdd kernelCAD MCP to Cursor (MCP only)
Gemini CLIgemini extensions install https://github.com/w1ne/kernelCAD-web --consent --auto-update
Grok Buildgrok plugin marketplace add w1ne/kernelCAD-web && grok plugin install kernelcad --trust
VS Code / Copilotcode --add-mcp '{"name":"kernelcad","type":"http","url":"https://mcp.kernelcad.com/mcp"}'
Skills only (any agent)npx skills add w1ne/kernelCAD-web

Inside Claude Code you can also type /plugin marketplace add w1ne/kernelCAD-web then /plugin install kernelcad@kernelcad. Restart the app after installing. Claude Desktop, ChatGPT, Windsurf, Cline, Zed, Continue, update, uninstall and the Cursor skills install are in docs/usage/agent-plugin-install.md.

Showcase

Each model below started from the plain-language prompt shown. An AI agent wrote it through kernelCAD's own authoring loop (CLI / MCP): it wrote .kcad.ts source, ran evaluate, rendered the seven-view inspection sheet, read the renders, fixed what was wrong, and repeated. None of these is a one-shot generation. Each folder in showcase/ holds the parametric source, the turntable GIF (kernelcad animate --turntable, publish look), and a short note on what to look at and which checks were run.

ModelPromptParamsPreview
Twisted hex vaseHollow shell ~150 mm tall, tapers 70 → 50 mm, hex section twisting 120°, 2 mm wall, closed bottomheight baseDia mouthDia twistDeg wall[Twisted hex vase turntable]
Knurled control knobØ40 × 22 mm, diamond-knurled grip, raised pointer, 6 mm D-shaft bore, M3 set-screw holediameter height knurlDepth knurlTwistDeg knurlTeeth shaftDia dFlatDepth boreDepth skirtHeight[Knurled knob turntable]
Honeycomb bracketFilleted L-bracket with a generative hex latticethickness innerFillet cellSize web[Honeycomb bracket turntable]
NACA 2412 wingTrue airfoil from the NACA equations, tapered loftsemiSpan rootChord tipChord leSweep dihedralRise washoutDeg[NACA 2412 wing turntable]
Bevel gear driveMeshing bevel gear pair at 90°gearDeg pinionTeeth gearTeeth[Bevel gear drive turntable]
Centrifugal impeller7 swept backward-curved bladesbladeCount wrapDeg backplateThickness boreDia keyWidth[Centrifugal impeller turntable]
Planetary gear stageSun, planets, ring, carriercarrierDeg sunTeeth planetTeeth planetCount[Planetary gear stage turntable]
9-cylinder radial engineRound crankcase, nine finned cylinders in a star, domed heads, prop hubcylinderCount barrelLength[Radial engine turntable]

Some checks go past the picture:

  • Mechanisms that are checked, not just drawn. The planetary stage and the bevel drive are assemblies with revolute mates, gear ratios coupled from the tooth counts, and declared gear-pair transmissions. kernelCAD's mechanism-truth check (evaluate_script → mechanism: "real") turns each mechanism through its limits with the couplings applied and looks for overlapping teeth. kernelcad validate --include-interference reports both assemblies clean.
  • Manufacturing evidence. The honeycomb bracket declares an FDM print gate. kernelcad dfm passes it (thinnest wall 2.0 mm, no unsupported overhang), and kernelcad export step writes a B-rep whose holes read back with kernelcad inspect step.

Philosophy

  1. Agent-First: The primary interface is .kcad.ts, CLI, and MCP. The UI reviews and steers generated designs.
  2. Editable Source: Geometry is deterministic source code with explicit feature history, params, assemblies, and diagnostics.
  3. Validation-Centered: Useful CAD output needs deterministic review for constraints, hardware fit, clearances, and exportability.
  4. Workflow Over Primitives: Product progress is measured by intent-level workflows, not by copying every traditional CAD button.

Reference-parts accuracy

The headless OCCT gate checks 27 native .kcad.ts reference parts against analytic or recorded OCCT volume, surface-area, and bounding-box values. The current headline is 27/27 reference parts match; the expected-pass gate is 27/27, with the analytic inputs and tolerances listed in the scorecard. See the reference-parts scorecard and its local validation demo.

The SolidCraft oracle ledger vendors that project's public reference cases (Apache-2.0) and checks the kernelCAD parts that have been modelled so far. Cases without a kernelCAD source stay pending and do not fail CI. Pull-request CI runs the fast subset; the nightly job runs every implemented part.

Agent workflow

For agents and contributors, .kcad.ts source is the design source of truth. Rendered PNG/MP4 files, STEP/STL exports, score JSON, and capture-run metadata are generated evidence or deliverables. Prompt briefs, source files, and provenance metadata remain source. Change source first, regenerate explicit targets, and avoid broad artifact refreshes unless you are intentionally rebuilding a demo or release bundle.

Use deterministic checks before visual judgment:

kernelcad evaluate model.kcad.ts
# then run review_cad from an MCP client connected through `kernelcad mcp`
kernelcad export step model.kcad.ts -o model.step
kernelcad export stl model.kcad.ts -o model.stl

A script that returns one shape exports as one STEP product named after the script file (model), with the shape's .color(...) when it has one. An assembly exports one named body per part, with the part's colour when it has one; a part without a colour is written without one. A hex colour is written to STEP COLOUR_RGB as the same sRGB channels (#3366cc is 0.2, 0.4, 0.8), and import-step reads a STEP colour back as the same hex value.

Translate an assembly exported from SolidWorks or another CAD application as STEP into a KernelCAD project:

kernelcad import-step robot.step --out robot-kcad
kernelcad evaluate robot-kcad/robot.kcad.ts

The bundle contains a .kcad.ts root assembly, manifest.json with the source product paths, units, placements, colors, and geometry measurements, and exact native OCCT BREP assets content-addressed by geometry. Byte-identical product definitions share an asset. The original STEP assembly hierarchy is recorded in the manifest; the current KernelCAD scene is flattened into independently placeable occurrences. Each part keeps its STEP name; the root product that holds every part is the assembly and is not part of the name (pin_left, not panel__pin_left), and a nested part is named by its sub-assembly path (wrist__flange). A name that is not usable as written (other characters than letters, digits, _ and -, or a repeated name) is changed, reported as a warning, and listed as renamedParts in the --json result; manifest.json records the partName of every occurrence. Local STEP DOCUMENT_FILE dependencies are read recursively, included in the import provenance hashes, and must stay inside the input directory. Component colors are preserved; per-face color mapping is not part of this import. It does not infer mates, joints, motion, feature history, or read native SolidWorks/Parasolid data. See the retained import demo, bundle, and verification evidence.

When a rendered artifact is produced, inspect the image/video itself and report what is visible: proportions, interfaces, floating geometry, occlusion, camera framing, and whether required features are legible. Passing tests are not a substitute for visual evidence.

When visual evidence matters, keep a deterministic inspection bundle:

kernelcad render inspect model.kcad.ts model.inspect

The v1 bundle writes a manifest and canonical RGB views. It can also emit machine-readable mask, depth, and normals channels:

kernelcad render inspect model.kcad.ts model.inspect --channels rgb,mask,depth,normals

Use --focus <names> or --hide <names> when a specific feature id or assembly part needs isolated review. Keep richer channels in the same manifest packet; do not replace the canonical RGB views.

For real hardware, prefer catalog/vendor geometry via lib.fromSTEP(...) instead of fake placeholder boxes or cylinders. This keeps mounts, clearances, and mechanism checks tied to physical components.

Features

  • Headless Core: Run CAD operations in Node.js or Web Workers without a DOM.
  • Agent API: kernelCAD APIs for params, assemblies, NURBS, SDF bodies, sheet metal workflows, introspection, and feedback loops.
  • Review Cockpit: Browser-based 3D preview for inspecting generated designs and validation results.
  • Standard Exports: STEP/STL generation.
  • Robust Kernel: Built on OpenCASCADE, with Replicad kept as a kernel implementation detail where it is still used.

Get Started

npm install --global kernelcad

The npm package requires Node.js 22.12 or newer. For a self-contained install, use the platform installer above.

Drop this in bracket.kcad.ts:

const w = param('Width', 60, { unit: 'mm' });
const h = param('Height', 40, { unit: 'mm' });
const t = param('Thickness', 5, { unit: 'mm' });

const base = box(w, h, t);
const hole = cylinder(t + 2, 4).translate(w / 2, h / 2, -1);
return base.subtract(hole).fillet(1);

Run it:

kernelcad evaluate bracket.kcad.ts
kernelcad export stl bracket.kcad.ts -o bracket.stl

That's it. For agents: kernelcad mcp runs an MCP server with dynamic model introspection tools. Object tool responses include structuredContent alongside the serialized JSON text so MCP clients can validate advertised output schemas. See SKILL.md (bundled with the install) for the full API surface and authoring guide.

Use with Claude Desktop

kernelCAD runs as an MCP server, so Claude Desktop can drive it locally. After the one-line install, add an entry to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "kernelcad": {
      "command": "kernelcad",
      "args": ["mcp"]
    }
  }
}

Restart Claude Desktop. The kernelCAD MCP tools (review_cad, model introspection, export helpers, etc.) appear in the tools list.

The first full local evaluate_script build returns viewerUrl. Open it in Studio once: later full builds and source-edit tool calls replace the source, history, and geometry behind that same session link. The viewer is served on 127.0.0.1 by the MCP process and lasts until that process closes; it is not a public share link. Dry runs leave it unchanged. A build failure keeps the last built model visible; a successfully built model with DFM failures remains viewable. Build diagnostics shown there are not a full CAD/physics review.

Published packages include the Studio bundle. When running MCP from a checkout, run npm run build:mcp-viewer first. If the bundle cannot be served, the build result includes viewerError separately from its CAD diagnostics. Hosted MCP and --cloud continue to use the gateway's Studio/project URLs.

Local viewer workflow.

For hosted workflows, sign in at the existing connection guide. It gives the current connector and OAuth steps for your client. The hosted tool set depends on authentication, your selected profile, and server-native tools; use the connected server's discovery rather than assuming the local list.

The local installer is available. Preview the config change before applying it:

kernelcad install --claude-desktop --dry-run
kernelcad install --claude-desktop

Other hosted setup guides: ChatGPT, Claude, Claude Code, Codex, Gemini CLI, Grok Build, Cursor, and VS Code.

Browse the generated local MCP tool reference for complete input/output schemas and behavior annotations, or search the design guide for existing recipes and cited, dated manufacturing catalog snapshots.

For local Studio, get_selection and set_selection share face/edge picks with your MCP agent. Open the same script in Studio and use its session token; picks expire on model rebuild.

For opt-in kernel selection and fallback diagnostics, see the experimental guarded SMLib kernel guide and its workflow demo bundle.

Privacy and network

kernelCAD runs locally. It has no install-time scripts and makes no network calls except the ones below.

HostWhenWhat is sent
telemetry.kernelcad.comAnonymous usage stats, opt-outTool name, outcome, duration, counts, versions. Never prompts, code, geometry, paths or env vars. See TELEMETRY.md.
api.kernelcad.com, app.kernelcad.comOnly when you use the hosted gateway, Studio links, or ordering/pricing toolsThe request you make
api.step.parts, kernelcad-parts.pages.dev, raw.githubusercontent.com, vendor sitesOnly when you call find_part / fetch_partThe part search query or part URL

Turn telemetry off with kernelcad telemetry disable, KERNELCAD_TELEMETRY=0 or DO_NOT_TRACK=1. It is off in CI. Demo scripts under scripts/ and eval/ call subprocesses and test URLs; they are developer tools and are not part of the published package.

Contributing

Web app + dev workflow (clone the repo, npm install, npm run dev) for contributors who want to hack on the kernel or the visual debugger:

git clone https://github.com/w1ne/kernelCAD-web.git
cd kernelCAD-web
npm install
npm run setup-hooks  # optional: enable the local pre-commit hook
npm run dev          # web visual debugger at localhost:5173
npm run build:cli    # build the CLI bundle into dist/cli/
npm run test         # full vitest suite
npm run qc           # quick quality gate (lint + typecheck + tests)

Attribution

Exported files name kernelCAD in their metadata field (STEP FILE_NAME, GLB asset.generator, the STL header, a DXF or XML comment), and public viewer pages show a small "Made with kernelCAD" link. Self-hosters and forks change this in src/shared/links/attribution.ts. See ATTRIBUTION.md.

License

MIT — see LICENSE. The kernelCAD name is covered by the trademark policy.

來源:README.md,提交 b4b7d2d

工具

71

review_paint_peek_latest

Get Latest Painted Review Feedback

Return the newest brush-painted review packet from a Studio session. After sharing a /p/<slug> link, the user can open it in the browser and paint marks over the 3D viewport to give visual feedback. Call this tool with the `slug` from that link to see the strokes — screenshot + mask + struck part names plus an optional one-line note and intent tags (e.g. "too thick", "missing", "wrong angle")…

輸入參數slugpaths_onlyfreshness_sec

open_in_studio

Open in Studio

Save the model as a kernelCAD project AND show it: persists a project revision, returns the interactive Studio viewer (MCP Apps / ChatGPT outputTemplate), and includes a PNG preview in the SAME tool result (image content + previewUrl when available). ONE VIEWER PER PROJECT PER RESPONSE: every call renders a new viewer card. Do all validation with evaluate_script first, then call open_in_studio…

輸入參數codeslugtitleintentwheelsprojectbody_bboxanon_token另有 9 個

get_project

Get Project

Use this when you need to reopen a saved project or browse what the user has saved — it fetches a kernelCAD Studio project, or lists the signed-in user's saved projects. Pass `slug` (from a /p/<slug> link or a prior listing) to fetch that project's full .kcad source and metadata — then edit and open_in_studio with the same slug so the user's open tab updates live. Private projects require their…

輸入參數slug

get_project_revision

Get Project Revision

Fetch the exact immutable .kcad source and parameters captured at a prior `open_in_studio` version. Use this to read-after-write verify a release: pass the returned `slug` and `version`, then hash or inspect the returned source. Public/unlisted projects use the slug as capability; private projects require the owner's OAuth connection.

輸入參數slug必填version必填

get_latest_render

Get Latest Render

Render a project's current model server-side and return it as an inline image so you can SEE what you built. Prefer open_in_studio for the happy path — it already includes an iso PNG preview in the same publish result when previewDelivered is true. Use this tool for a different `view`, a contact sheet (`view:"all"`), or when you only have a slug and are not publishing. Call with that `slug` to…

輸入參數slug必填viewpaths_only

get_model_mesh

Get Model Mesh

Return the raw per-feature triangle mesh (positions/indices/normals) of a project's current model, by slug. For the in-chat 3D viewer widget to render geometry; delivered over the MCP Apps bridge. The slug is the capability: public/unlisted need no OAuth; private requires the owner signed in.

輸入參數slug必填

request_upload

Request File Upload

Use this when the user has a photo, PDF drawing, STEP, STL, DXF, SVG or 3MF file on their device and you need it in a kernelCAD tool (trace_from_image, drawing_to_cad, mesh_to_features, inspect of:"step", or lib.fromSTEP / fromSTL / fromDXF / fromSVG / referenceImage in a script). Do not ask the user to paste the file as text or base64, and do not type coordinates from an image by hand. Returns a…

輸入參數purpose

lookup_authoring_skill

Look Up Authoring Skill

Return the kernelcad-authoring skill — conventions for writing .kcad.ts scripts (API surface, parameters, evaluation contract, common pitfalls) — in sections. Call with NO arguments first: you get the quick-start (units, axes, the return rule, the rules that prevent most failures, the intent → API routing table, the "Before you finish" checklist) and an index of every section with a one-line…

輸入參數querytopicsection

mesh_summary

Summarize Mesh Geometry

Mesh a kernelCAD .kcad.ts source server-side and return a COMPACT geometry summary — overall bounds plus, per feature, its id, kind, triangle count, and bounding box. Use this to INSPECT a model's geometry without a viewer: confirm a part is the size/shape you expect, see how many triangles each feature contributes, or check that every feature produced geometry. This runs the full server-side…

輸入參數paramssource必填fileName

evaluate_script

Evaluate CAD Script

Use this when you need to run a script and check it compiles. Full local builds return viewerUrl: a live Studio link reused and updated on later full builds in the same MCP process. Hosted builds return viewerMode: hosted and viewerHint pointing to open_in_studio; they do not start a loopback viewer. Full evaluations return step evidence: build validity, volume and before/after local PNG paths in…

輸入參數codefiledryRunintentkernelbaselinerequirementsskipMechanismCheck

diff_scripts

Diff CAD Scripts

Use this when you need to see exactly what changed between two script versions. Structured geometric delta between two versions of a kernelCAD script — a baseline ({ baseFile } or { baseCode }) and a revision ({ file } or { code }). Returns agent-readable JSON: per-part added/removed/renamed/changed (volume mm³ + exact bbox deltas, numbers matching inspect({ of: 'part-stats' })), total…

輸入參數codefilebaseCodebaseFile

inspect

Inspect Model

Use this when you need to read facts about a model. One reader, selected by `of`: - 'assembly' — physical assembly inventory (parts, bboxes, connectors, mates, disconnected solids). - 'robot' — URDF/SDFormat export preview (links, joints, planning groups, end-effectors, issues). - 'step' — inspect an imported STEP file: solid tree, exact bbox/volume, cylindrical holes (breached bores flagged…

輸入參數atof必填axiscodefileedgesfacesplane另有 9 個

verify

Verify Design

Use this when you need to check a design against a rule set. One verifier, selected by `check`: - 'assembly' — static assembly review ({ file | code }, or the session evaluate_script left): mate validator, default-pose interference, joint topology, mechanical plausibility. ok:false with `blocking[]` exactly when review_cad's blocking rules fire on these findings; review_cad also sweeps joint…

輸入參數dxfcodefilemodeposeseedcheck必填edges另有 59 個

why_did_this_fail

Explain Failure

Use this when you need to trace why a feature failed. Walk the upstream chain of a failing feature. Returns the diagnostics of the requested feature plus the diagnostics of every upstream feature in topological order (the requested feature is the last entry). Per-code hints are inline on every diagnostic — call lookup_diagnostics for the full catalogue. Pass { file?, code?, feature_id? }.

輸入參數codefilefeature_id

set_param

Set Parameter

Use this when you need to edit a param() default value in a kernelCAD script. Returns the modified code as text plus diagnostics from re-evaluating the result. Caller persists the new code via standard file-write tools (this tool has no side effects). With preview: true it builds the edit in a scratch session instead and returns the diff_geometry summary plus the requirements-ledger and S1…

輸入參數code必填previewnew_value必填param_name必填

add_feature

Add Feature

Use this when you need to insert a new feature line into a script. Insert a new feature line into a kernelCAD script before the last top-level return statement. Returns the modified code as text plus diagnostics from re-evaluating the result. Side-effect-free. Primitives that accept faceLabels (box, cylinder, extrudeRect, extrudeCircle, extrudePolygon, extrudeRoundedRect) can receive…

輸入參數code必填feature_code必填

add_surface

Add Surface

Use this when you need an organic, freeform, or swept shape — a body shell, panel, fairing, ergonomic curve, lens, or sculpted form — authored as a NURBS Surface into the user's .kcad.ts, OR when you need to finish surfaces into a watertight solid or taper faces for moldability. One authoring/finishing path, selected by `kind`: - 'nurbs' — insert a nurbsSurface(...) / surfaceFromCurves(...) call.…

輸入參數opcode必填facekind必填knotsdegreeweightscontrols另有 15 個

add_curve

Add Curve

Use this when you need a freeform/organic 3D curve — a body feature line, brow, spine rail, or G2 blend between panels — authored as a Curve3D into the user's .kcad.ts immediately before the last top-level return. One authoring path, selected by `kind`: - 'nurbs' — insert a `nurbsCurve(controlPoints, opts?)` declaration. Pass `controlPoints` as a Vec3[] (mm, at least 2 points). Optional NURBS…

輸入參數abcode必填kind必填knotscloseddegreeweights另有 2 個

add_path_segment

Add Path Segment

Use this when you need a freeform/organic 2D outline — an eyewear brow, ergonomic grip, sneaker midsole, or body silhouette — by appending a curved segment to an existing PathBuilder chain on the named `chain_anchor` variable. The call is injected at the END of the chain, immediately before any `.close()`. One segment kind, selected by `kind`: - 'spline' — `.spline(points, opts?)`: interpolates…

輸入參數abcode必填kind必填knotsdegreepointstension另有 6 個

trace_from_image

Trace Outline from Image

Use this when you need to trace a reference image into normalized waypoints. Trace pixel-space features from a reference photo into normalized [0..1] waypoints the agent can map to mm via a known scale anchor and feed to path().spline / path().nurbsSegment. Three backends are dispatched behind the scenes: `opencv` (deterministic; uniform-bg silhouette only), `vision-llm` (vision model; named…

輸入參數hintintentpriorsbackendfeaturesimageUrl必填validatescaleAnchor另有 1 個

add_variable_sweep

Add Variable Sweep

Use this when you need an organic swept solid whose cross-section changes along its length — a tapering body, horn, bottle, handle, ring band, fairing, or duct — authored as a variable-section sweep along a spine. Inserts `variableSweep(spine, sections, opts?)` into the .kcad.ts `code` immediately before the last top-level return (an empty `code` starts a new script that returns the sweep).…

輸入參數code必填closedsections必填continuitybinding_namespine_closedspine_pointsspine_binding

add_text

Add Text

Use this when you need to author text into a kernelCAD script before the last top-level return. One authoring path, selected by `mode`: - 'sketch' — insert a sketch.text(...) call. The emitted sketch is chainable: pair with subsequent .extrude(...) / cut(...) edits to land an engraved or raised text feature. - 'emboss' — insert a `<shape>.embossText({...})` chained call onto an existing Shape…

輸入參數code必填facefontmode必填sizealigndepthbindAs另有 9 個

project_curve

Project Curve

Use this when you need to wrap a 2D closed curve onto a 3D face. Insert a `<shape>.projectCurve({ source, face, scaleMode? })` chained call into a kernelCAD script. The `source` is the structured `{ kind: "sketchCommands", commands: [...] }` wire format the runtime API accepts. Wraps the curve onto the face along the face normal; pair with `.extrude(d)` / `.cut(...)` for raised or engraved logos…

輸入參數code必填face必填asEdgebindAstarget必填commands必填scaleMode

add_pattern_feature

Add Pattern Feature

Use this when you need to repeat a feature in a pattern. Insert a Shape.patternLinear / .patternCircular / .patternGrid call into a kernelCAD script before the last top-level return. Pass structured args (kind + the matching spec object). Returns the modified code plus diagnostics from re-evaluating. Side-effect-free. The pattern feature is a single editable unit; pattern-instance face refs…

輸入參數code必填gridkind必填lineartarget必填circularassign_to

remove_feature

Remove Feature

Use this when you need to remove a feature line from a script. Remove a single line from a kernelCAD script identified by a substring match. Returns the modified code plus diagnostics from re-evaluating. Refuses to remove the line containing the return statement. Side-effect-free.

輸入參數code必填match必填

query

Query Geometry

Use this when you need to resolve or inspect topology against a script's lowered geometry. Pass the script as `code` (inline; works on a hosted server) or `file`. Selected by `mode` (default 'evaluate'): - 'evaluate' — list the faces a Query matches ({ query }). Pass expect:'unique' to assert exactly-one. - 'resolve' — resolve one ref to one face ({ ref }). - 'lineage' — the creating/modifying…

輸入參數refcodefilemodequeryexpectfeature_id

lookup_api

Look Up API

Use this when you need to list the kernelCAD script-runtime surface: global functions (box, path, selectEdges, helix, etc), Shape methods (fillet, sweep, lower, etc), Sketch methods (extrude, revolve, sweep), PathBuilder methods, EdgeQuery/FaceQuery key sets, and featureKindFaceLabels (which globals accept opts.faceLabels and valid value shapes). Use this to discover what is callable from a…

輸入參數intent

lookup_diagnostics

Look Up Diagnostics

Use this when you need the kernelCAD 26-code diagnostic catalogue with hint templates. Tiny one-shot call; useful for an agent that wants to pre-populate retry strategies. Hints are also inline on every emitted diagnostic — this tool just gives you the canonical list up front.

無需輸入參數。

export

Export

Use this when you need to export geometry to a file. One exporter, selected by `target`: - target:'model' — export the script geometry to one file. Pass { file | code }, a required { output_path }, and { format }. Supported formats: stl (binary STL mesh), step (BREP CAD interchange), dxf (2D cut file for laser / waterjet / CNC: a flat part — plate, panel, extruded profile, in any orientation —…

輸入參數codefilepartformatintenttarget必填optionsno_verify另有 3 個

lookup_cookbook

Look Up Cookbook

Use this when you need a canonical pattern snippet for a CAD task. Search the kernelCAD cookbook for canonical pattern snippets. Returns top-k snippets matching the natural-language query, ranked by BM25 over title/tags/keywords/trigger. Use when you need a canonical pattern for fillet-after-subtract, non-overlapping booleans, sketch-to-extrude flows, etc. Returns empty if no snippet scores above…

輸入參數kidqueryintent

find_part

Find Part

Search the bundled parts catalog (offline). For a NEMA-17 motor write `await lib.standard.nema17()`; for a 608 bearing write `await lib.standard.bearing608()`. Do not fan out parallel lookups and do not pass partsBaseUrl unless you set source:"remote". Remote lookups fail within 45s with errorCode parts.lookup.timeout instead of hanging.

輸入參數taglimitqueryfamilyintentsourcecategorystandard另有 1 個

fetch_part

Fetch Part

Fetch one bundled catalog part. Prefer `await lib.standard.nema17()` and `await lib.standard.bearing608()` — they are offline and do not download remote STEP. A lookup that cannot finish fails within 45s with errorCode parts.lookup.timeout. Do not retry in parallel.

輸入參數idmodelqueryfamilycategorystandardincludeModelpartsBaseUrl

solve_sketch

Solve Sketch

Use this when you need to solve a 2D sketch constraint set. Solve a 2D sketch constraint set. Side-effect-free: pass { entities, constraints } and receive solved entities plus the original constraints. Entities are POINT, LINE, and CIRCLE records; constraints use the kernelCAD constraint vocabulary.

輸入參數entities必填constraints必填

add_constraint

Add Constraint

Use this when you need to add a sketch constraint to a list. Append one validated sketch constraint to a constraint list. Side-effect-free: pass { constraints, constraint } and receive the updated list.

輸入參數constraint必填constraints

add_part

Add Part

Use this when you need to add a part to an assembly. Durably insert `const <binding> = <assembly>.part(partName, shapeExpression, opts?)` before the final top-level return in a kernelCAD source string. Returns modified source plus diagnostics from re-evaluating it. Side-effect-free: caller persists the returned source.

輸入參數atcode必填part_name必填binding_nameassembly_binding必填shape_expression必填

add_connector

Add Connector

Use this when you need to add a mate connector to a part. Durably insert `<partBinding>.connector(name, { type, origin, axis?, normal? })` before the final top-level return. Use the part binding returned by add_part. Returns modified source plus diagnostics from re-evaluation. Side-effect-free.

輸入參數axiscode必填name必填type必填normalorigin必填part_binding必填

add_mate

Add Mate

Use this when you need to author a mate-graph relationship into the source, selected by `relation` (default 'mate'): - 'mate' — a typed mate between two connectors ({ name, a, b, type, pose?, limitsDeg?, limitsMm? }). - 'coupling' — couple a driven mate to a source mate by ratio ({ driven, source, ratio, offset? }). - 'transmission' — a physical drive path across mates ({ name, kind, sourceMate,…

輸入參數abcode必填kindnamepathposetype另有 14 個

add_workspace_target

Add Workspace Target

Use this when you need to declare a reachability target for a connector. Durably insert `<assembly>.workspace(connectorRef, { reachable, toleranceMm? })` before the final top-level return. Workspace targets are checked by solvedModel validation/review pose-envelope gates. Returns modified source plus diagnostics from re-evaluation.

輸入參數code必填reachable必填toleranceMmconnector_ref必填assembly_binding必填

set_scene_return

Set Scene Return

Use this when you need to set how the script returns its assembly. Replace the final top-level return statement with `return <assembly>.model();` or `return <assembly>.solvedModel(poses, options?);`. Use solvedModel for mate-authored mechanisms so FK and validation run. Returns modified source plus diagnostics from re-evaluation.

輸入參數code必填mode必填posesoptionsassembly_binding必填

solve_mates

Solve Mates

Use this when you need to solve the mate graph and get part poses. Run the v0.6 mate-graph solver on the active assembly. Returns { status, poses, iterations? } where each pose is a serialized Transform ({ translation, rotateAxis, rotateDeg }). Optional poses overrides mate pose values by mate name.

輸入參數posesassembly

review_cad

Review CAD Model

Run a deterministic mechanism-fitness review on supplied kernelCAD code or a file. It performs a full evaluation, replaces the active MCP session model on success, and clears that session if evaluation fails. The script may load referenced assets. The review validates the assembly/mate graph and connector placement, samples declared mate limits, optionally checks interference at sampled poses,…

輸入參數codefileassemblydesignGoalepsilonMm3timeBudgetMscombinatorialsamplesPerMate另有 7 個

design_loop

Run Design Loop

Use this when the goal is complex / production / enclosure / gearbox / robot-arm / multi-body, or when you need evaluate→review/verify→revise until green. PREFERRED over one-shot evaluate_script+open_in_studio for Adam-level parts. Runs a CAD design loop over attempt scripts: review_cad each attempt, continue past functional attempts with unresolved warnings, return repair prompts…

輸入參數goal必填assemblyattempts必填consensusautoReviseepsilonMm3stopOnPassrecordTitle另有 11 個

flatten_pattern

Flatten Sheet-Metal Pattern

Use this when you need the unfolded flat pattern of a bent sheet-metal part. Return the unfolded 2D flat-pattern of a bent sheet-metal Shape as a Region (outer polyline + holes + bend lines + sketch plane). Any number of parallel bends; crossing bends need corner relief. Pass { file } or { code }; optional { featureId } to pick a specific Shape.

輸入參數codefilefeatureId

evaluate_sdf

Evaluate SDF

Use this when you need to sample a signed-distance field at a point. Sample the signed distance from an in-script sdf.* field at a 3D point. Returns { distance, inside, aabb, kind }. Distance is in mm; negative = inside the surface, 0 = exactly on the surface, positive = outside. Use this to verify SDF composition before calling sdf.materialize (which is the expensive step). The script must bind…

輸入參數codefilepoint必填fieldName必填

capture_animation

Capture Animation

Use this when you need to render a script's animation timeline to a video, or a 360° turntable of a model for sharing. Capture a kernelCAD script's animationView({...}) timeline to an MP4 (ffmpeg) or a PNG frame sequence, verifying the sampled poses for part interference. FILE ONLY: pass { file } (a .kcad.ts path) — there is no { code } mode, because the capture engine renders from a file on disk…

輸入參數fpsfile必填hidefocuswidthheightpresetshadow另有 9 個

render_preview

Render Preview

Use this when you need to LOOK at a kernelCAD model — render its script to deterministic PNG views for visual self-check (the visual half of the evaluate → render → inspect → fix loop), with NO studio or dev server required. Pass { code } (inline source) or { file } (a .kcad.ts path), exactly one. Renders the canonical engineering views (front, right, top, iso — pass { views } for a subset, e.g.…

輸入參數codefilehideposefocussheetviewswidth另有 15 個

resolve_assumptions

Resolve Image Assumptions

Use this when you need to confirm or override the open facts in an assumption ledger from trace_from_image (missing scale, inferred/assumed values) before committing geometry built from a reference photo. Reads the persisted `<model>.ledger.json` at `ledgerPath`, applies each resolution — `{ id, confirm: true }` to accept a fact as-is, or `{ id, value }` to override it — rewrites the ledger file,…

輸入參數ledgerPath必填resolutions必填

run_fea

Run Structural FEA

Use this when you need to know whether a part will hold a load. Runs a linear-static structural study and returns evidence — peak von Mises stress (MPa), peak displacement (mm), the minimum safety factor against the material yield (taken away from the clamp-singular edges of the fixed faces; the raw clamp-edge peak is reported separately as peakAtSupportMPa), per-region hot spots named by…

輸入參數codefilefixedloadsstudyrefinesolverheatmaps另有 6 個

fea_summary

Get FEA Summary

Use this when you need a structural check's context without paying for a solve. Read-only: returns the stored summary of a previous run_fea (pass the same `output_dir`), whether the CalculiX + gmsh toolchain is available on this machine (with the install command when it is not; run_fea then uses its in-process voxel solver — toolchain.default_solver says which), and the FEA material table with…

輸入參數output_dir

send_to_printer

Send G-code to Printer

Use this when you need to upload a .gcode file (e.g. written by export with target: "model", format: "gcode") to a real network printer and, by default, start the print. protocol: 'octoprint' (POST /api/files/local with an X-Api-Key), 'moonraker' (Klipper's POST /server/files/upload), or 'bambu-lan' (Bambu Lab LAN-mode: FTPS implicit-TLS upload on port 990 as user 'bblp' with the printer's LAN…

輸入參數host必填portserialapi_keydry_runprinterfilenameprotocol必填另有 4 個

repair_script

Repair CAD Script

Use this when evaluate_script reported an error and you want the fix applied rather than described. Takes the candidates why_did_this_fail derives for a diagnostic, applies them one at a time, re-evaluates after each, and keeps the first that clears the diagnostic without introducing new errors. Never edits outside the repair region (failing feature statement + its input statements + the param()…

輸入參數codefileintentstrategydiagnosticmax_attempts

sweep_tolerance

Sweep Tolerance Range

Use this when you need to know where and why a design breaks across a tolerance/dimension range, not just whether it builds at one nominal value. Declares one or more param() names with a { values: [...] } list or a { min, max, steps } range (number params are bisected; choice/string params are evaluated as discrete points), re-evaluates the script once per cartesian-product combination (capped…

輸入參數codefilegatesparams必填assemblyboundaryBudgetboundaryTolerance

diff_geometry

Diff Model Geometry

Use this when you need to know WHAT MATERIAL changed between two versions of a model, not just how much. The deeper sibling of diff_scripts: a volume delta alone is ambiguous (a boss that grew and a pocket that deepened report the same magnitude, and a part that only moved reports zero), so this tool answers it with geometry instead of pixels. Baseline is { baseFile } or { baseCode }; the revised…

輸入參數codefileparamsrenderout_dirbaseCodebaseFile

drawing_to_cad

Convert Drawing to CAD

Use this when the reference for a part is a 2D engineering drawing PDF (orthographic views with dimensions), not a photo. Deterministic, no vision model: reads the vector linework (stroke width, dash) and positioned text; classifies visible / hidden / center / dimension / extension lines; reads the title block scale, units and projection symbol; identifies front / top / side views by projection…

輸入參數outpagepathintentverifypdfBase64projection

mesh_to_features

Fit Features to Mesh

Use this when you are handed an STL, OBJ or 3MF of a mostly prismatic mechanical part (plate, bracket, spacer, flange, housing block) and need an EDITABLE kernelCAD model of it rather than a faceted lib.fromSTL import. Deterministic, measured, self-verifying: it welds and checks the mesh, segments planes and cylinders, picks the extrusion axis, slices each band and fits exact lines / arcs /…

輸入參數outdatafileformatminIoUmaxPassesmaxTrianglesmaxDeviationMm另有 1 個

execute_cookbook

Execute Cookbook

Use this when you need evaluate_script (and optionally open_in_studio) for an industry / cookbook demo in ONE step — after lookup_cookbook for industry demos, prefer execute_cookbook when you need evaluate+Studio together; empty lookup is not a stop (freehand-author instead). Resolves a cookbook snippet by `id` or BM25 `query` (same ranking as lookup_cookbook), evaluates its body via…

輸入參數idquerydryRunintentkernelprojectnew_projectopenInStudio另有 1 個

get_selection

Get Selection

Use this when you need to read the human/agent selection in a local Studio session. Returns one clicked face or edge (or null), with current-generation mesh-local shapeIndex/kind/id and creating featureId. During a rebuild selection is null with “selection pending rebuild” until Studio uniquely verifies the face; ambiguous or deleted faces are cleared. Inspect the current shape before authoring a…

輸入參數session必填studio_url必填

set_selection

Set Selection

Use this when you need to replace the shared local Studio face/edge selection, or clear it with selection:null. The viewer highlights the pick on its next sync (300 ms). Does not edit geometry. Pass model_generation from get_selection; writes from an older generation are rejected. Use only current shape indices. Requires a local Studio session.

輸入參數session必填selection必填studio_url必填model_generation必填

import_step

Import STEP

Use this when the user wants to start from their own STEP or STL file (a part they designed elsewhere, a vendor model). Give exactly one source: url (a public https direct-download link), upload (a file the user attached in ChatGPT), or content_base64 (raw bytes, small files only). Max 50 MB. The format is detected from the bytes (or pass format: 'step' | 'stl'). Writes the file and a starter…

輸入參數urlnameformatuploadfile_nameallow_openoutput_dircontent_base64

fab_pack

Package Fabrication Files

Use this when the user wants to get a part made: packages the fabrication files into one directory plus a zip, and returns links to public instant-quote pages. Pass { file | code } and output_dir; optional scope ('part', default — one script's files; 'bom' — the whole assembly's BOM: per-part single-body files, per-part drawings, bom.csv/json and vendor handoff texts), name (default 'part'),…

輸入參數codefilenamescopeformatsprocessesoutput_dir必填

dfm_review

Review Manufacturability

Use this when you need a manufacturability (DFM) report before printing or machining a part: returns a pass/fail checklist, no dfmSpec(...) needed. Pass { file | code } and optional processes (default ['fdm', 'cnc']). FDM 3D printing checks: fdm.overhangs (unsupported overhang steeper than max_overhang_deg, default 45° from vertical), fdm.bridging (bridges over max_bridge_mm, default 10),…

輸入參數codefileprinternozzle_mmprocessesapproach_axesmax_bridge_mmbuild_direction另有 3 個

ray_pick

Pick Point by Ray

Use this when you need the faces a ray hits in a local Studio model, nearest first, with points, distances, and normals. Inputs are model units (mm); direction is normalized. Requires the local Studio URL and session token for the same script, reads the current model generation, and returns a set_selection argument object with every hit. feature_id must identify a displayed terminal shape;…

輸入參數codefileorigin必填session必填direction必填feature_idstudio_url必填

inspect_nurbs

Inspect NURBS Curve

Evaluate supplied kernelCAD code or a file to capture an authored NURBS curve (nurbsCurve/spline3d). Returns degree, distinct knots and multiplicities, poles, weights, rational and uniformWeights flags, hasNonUnitWeights, and parameter range. Defaults to the last captured curve in that script; pass feature_id to choose one. The source may load referenced assets. Reports authored curve data, not…

輸入參數codefilefeature_id

fit_plane

Fit Plane to Points

Use this when you need to fit an orthogonal least-squares plane to XYZ point-cloud data. Returns centroid, deterministic unit normal, signed point residuals, RMS residual and maximum absolute residual. Accepts points already parsed by the caller from scan data or mesh vertices. Computes parameters only; it does not create a surface body. Requires at least three non-collinear finite points.

輸入參數points必填

mesh_boolean

Combine Meshes (Boolean)

Use this when the user wants to union, subtract, or intersect two imported triangle mesh solids (STL, OBJ, or 3MF). Supports union, subtract (A minus B) and intersect. Pass each operand as { file } on the MCP server or { data } with base64 mesh bytes; formats are detected or may be specified. Returns volume in mm³, triangle count and a binary STL as data_base64; pass that payload to import_step…

輸入參數a必填b必填operation必填toleranceMmmaxTriangles

explode_view

Plan Exploded View

Use this when you need an ordered exploded-view plan for an assembly. Supply parts as {name,center:[x,y,z],size:[x,y,z]} in mm. Optional assembly_order sets the sequence; missing order falls back to input part order, and unlisted/unknown order refs are reported. Choose mode axis (default) or radial; axis follows the requested direction, radial moves parts away from the assembly centroid. The…

輸入參數axismodepartsspacingduration_msassembly_order

apply_surface_blend

Apply Fillet or Chamfer Blend

Use this when you need to author and evaluate a fillet or chamfer on a kernelCAD Shape. Inserts Shape.fillet(radius, selector, { continuity: G1|G2 }) or Shape.chamfer(distance, selector) through the existing public API and returns the patched source plus evaluation diagnostics. Selectors accept EdgeSelector syntax, including canonical edge refs/query strings or { face: canonical name, face label,…

輸入參數code必填radiusdistanceselectoroperationcontinuityshape_binding必填

write_bom

Write Bill of Materials

Use this to merge a supplied handoff BOM with optional KernelCAD catalog parts, MPNs and pricing, write a local CSV, and return Sheets-ready rows. Pass exactly one of handoff, handoff_json or handoff_path. The default output is a new file under artifacts/bom; an explicit output_path selects another allowed destination. Existing files are preserved unless overwrite:true, which replaces the…

輸入參數handoffoverwriteoutput_pathhandoff_jsonhandoff_pathcatalog_parts

blockout_assembly

Block Out Assembly from Parts List

Use this when you have a list of parts with bounding boxes and positions (from a layout, spreadsheet, another tool or a sketch) and need an evaluable placeholder assembly script. Pass parts as { name, bboxMm:[x,y,z], positionMm:[x,y,z], rotationDeg?, anchors? } in mm; positionMm locates the bbox lower corner and anchors are named points in assembly coordinates. Optional connections [{ from, to }]…

輸入參數nameparts必填connections

price_part

Price Part

Start or read the real price for making the part. Cheap. Returns status "ready" with estimate_cents and summary, or "pricing" while the makers are asked (call again in a few seconds). Creates nothing and charges nothing.

輸入參數slugmethodsource

order_part

Order Part

Order the part made: creates the production request and returns a pay_url for the user. Propose the manufacturing method from the user's words and the part, pass it as method with a one-line reason. The price is the real maker price; never invent or send one. Tell the user the card is only held, and a person confirms the final price before charging. If the result is status "pricing", the price is…

輸入參數slugmethodsource

版本歷史

2
  1. v0.17.1最新Oct 29, 2026
  2. v0.11.2Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Kernelcad 整合