CAD Compare

com.cad-compare由 cad-compare.com 發布v0.2.1更新於 Nov 7, 2026

Compare STEP CAD files locally: identical, moved, or different, and what changed.

已驗證STDIO僅桌面檔案與儲存開發者工具

概覽

AI 產生的概覽

本機 MCP 伺服器,用來比較 STEP CAD 零件與組合件、計算幾何指紋、找出重複檔案並匯出報告。

可以做什麼
  • 查詢伺服器版本、功能與支援的檔案類型
  • 比較兩個 STEP 零件檔案,判斷是否為同一零件、有何差異,或只是被移動或鏡射
  • 計算零件幾何指紋,以便在不同檔名下辨識同一零件,或在配對比較前排序
  • 比較兩個版本的 STEP 組合件:新增、刪除、重新命名、替換、外形改變、數量改變及移動的零件
  • 在資料夾中找出重複零件檔案與左右鏡像配對
  • 匯出可列印為 PDF 的自包含 HTML 比較報告,並產生顯示差異位置的 PNG 圖片
適用情境
適合在需要判斷兩個 STEP 檔案是否為同一零件、查看零件或組合件兩個版本之間的變化,或找出資料夾中的重複檔案時使用,且不必把 CAD 資料上傳到任何地方。
執行需求
以本機 stdio 程序執行,透過 npm 套件 cad-compare-mcp 安裝,需要 Node.js。僅限桌面環境,不支援網頁執行。未宣告身分驗證。選用環境變數 CAD_COMPARE_LICENSE 可解鎖 Pro 版本,未設定時使用免費版。
安裝前請注意
CAD_COMPARE_LICENSE 是機密授權金鑰,應避免寫入共用設定。伺服器會讀取本機 STEP 檔案並寫出報告與圖片檔,請只指向你願意曝露的資料夾。比較僅支援 STEP 格式的單一零件與組合件。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

工具

7

describe

Version and capabilities of this CAD comparison server. Call it once if you need to know which file types are supported.

無需輸入參數。

compare

Compare two STEP part files (single parts, not assemblies) and say whether they are the same part. Use it when the user asks whether two CAD files differ, what changed between two versions of a part, or whether a part was only moved or mirrored. The files are read locally and never uploaded. Returns verdict (same / moved / different) and, when different, the changed features with sizes, e.g. {type: "through_hole", change: "modified", attr: "diameter", from: 6, to: 6.5, location: [150, 90, 10]}. Typical time: under a second for simple parts, 5–15 s for parts with several hundred faces. Multi-body parts (several solids in one file) need CAD Compare Pro; the free version returns license_required for them. Report warnings to the user; they say when the result needs care.

輸入參數a必填b必填config_aconfig_b

fingerprint

Geometric fingerprint of one STEP part, independent of position and orientation (volume, area, principal sizes, face types). Use it to recognise the same part under different file names or to sort many files before comparing pairs; two parts with clearly different fingerprints are different, similar fingerprints still need compare.

輸入參數path必填config

compare_assembly

Compare two versions of a STEP assembly: which parts were added, removed, renamed or replaced, which parts changed shape (with the changed features, as in compare), quantity changes, and which parts or subassemblies moved or changed parent. Use it when the files are assemblies (compare reports them as unsupported) or the user asks what changed in a product structure. Also works when one side is a single part. Files are read locally and never uploaded. Typical time: a few seconds for tens of parts, up to a minute for hundreds. If warnings contains not_all_parts_compared, say so and offer to rerun with a higher max_detailed_parts. Requires CAD Compare Pro (see describe → license).

輸入參數a必填b必填max_detailed_parts

find_duplicates

Find STEP part files in a folder that are the same part: identical copies, re-exports, or the same part moved or rotated, whatever the file names. Also reports left/right (mirror-image) pairs. Use it to clean up a messy project folder, find which supplier file matches which drawing, or avoid making the same part twice. Files are read locally and never uploaded. Only files whose fingerprints match are compared in full, so large folders are feasible; typical time is 0.1–1 s per file plus 0.3–5 s per comparison. Assemblies are skipped (listed in skipped). Requires CAD Compare Pro (see describe → license).

輸入參數folder必填max_filesrecursive

export_report

Write a comparison report of two STEP files (parts or assemblies) as a self-contained HTML file that can be printed to PDF: verdict, the list of differences in plain language, key figures, and for assemblies the changed, added, removed and moved parts. By default it also contains an interactive 3D view (rotate, zoom, measure; click a difference in the list to show it), which works offline in any browser. Use it when the user wants something to keep, send to a colleague or supplier, or attach to a change request, or wants to see the change in 3D. It writes one file on this computer and never overwrites one unless overwrite is true. Returns the path and a file:// url; give the user the url as a link to open it. Requires CAD Compare Pro (see describe → license).

輸入參數a必填b必填outputview_3dlanguageoverwritemax_detailed_parts

render_diff

Picture of where two STEP parts differ, as PNG images you can look at: an overview and, when there are differences, a close-up. Coloured as in the CAD Compare viewer: faces identical in both grey, differing faces of A red, of B green, and numbered markers whose meaning is in legend (the same differences compare lists). For parts that were only moved or mirrored, B is shown with A's outline on top. Use it when the user wants to see the change, or to check a result visually. Rendered locally without a GPU; files are never uploaded. Requires CAD Compare Pro (see describe → license).

輸入參數a必填b必填viewwidthheightoutput_dir

版本歷史

2
  1. v0.2.1最新Nov 6, 2026
  2. v0.2.0Nov 3, 2026

評分

已滿足適用檢查項的 55%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。