Communitygithub.com

cli-anything-threemf

3MF 網格幾何編輯器 — 偵測與調整圓柱孔洞、修復網格、比對 3D 列印檔案。支援 BambuStudio 與 PrusaSlicer 的 3MF 檔案。

cli-anything-threemf 是什麼?

此技能提供一套命令列工具,專門處理 3MF 格式的 3D 列印模型檔。核心功能包括:解析網格資訊(頂點、面、包圍盒、水密性、體積)、透過多平面截面分析自動偵測圓柱孔洞(提供中心點、直徑與信心度)、將孔洞調整至目標直徑(使用徑向頂點縮放,保留網格拓撲)、修復常見網格問題(退化面、重複頂點、法線方向),以及比對兩個 3MF 檔案間的差異。工具支援 `--json` 輸出,方便整合至自動化流程與 AI Agent(如 Claude Code、Cursor),並在修改檔案時保留 BambuStudio 與 PrusaSlicer 的切層中繼資料。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/HKUDS/CLI-Anything/tree/main/skills/cli-anything-threemf

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

cli-anything-3mf

用於 3D 列印檔案的 3MF 網格幾何編輯器。

安裝

pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=3MF/agent-harness

指令

# 顯示網格資訊(頂點、面、包圍盒、水密狀態、體積)
cli-anything-3mf info <file.3mf>

# 偵測圓柱孔洞(中心點、直徑、信心度)
cli-anything-3mf inspect <file.3mf>

# 將孔洞調整至目標直徑
cli-anything-3mf resize <file.3mf> --hole 0 --hole 1 --diameter 4.2 -o output.3mf

# 修復網格問題(退化面、重複頂點、法線)
cli-anything-3mf repair <file.3mf> -o repaired.3mf

# 比對兩個 3MF 檔案
cli-anything-3mf compare <file1.3mf> <file2.3mf>

JSON 輸出

所有指令皆支援 --json 參數以輸出機器可讀的結果:

cli-anything-3mf --json inspect model.3mf

主要特色

  • 透過多平面截面分析偵測圓柱孔洞
  • 以徑向頂點縮放調整孔洞大小(保留網格拓撲)
  • 在重新打包檔案時保留切片器中繼資料(BambuStudio、PrusaSlicer)
  • 修改後修復退化面與重複頂點
  • 相容任何符合 3MF 核心規格的 3MF 檔案

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

cli-anything-adguardhome

>-

cli-anything-anygen

>-

cli-anything-audacity

>-

cli-anything-blender

>-

cli-anything-browser

Browser automation CLI using DOMShell MCP server. Maps Chrome

cli-anything-calibre

>-

cli-anything-ccswitch

CLI interface for CC Switch — manage AI coding tool configurations from the terminal

cli-anything-chromadb

>-

cli-anything-cloudanalyzer

Command-line interface for CloudAnalyzer — Agent-friendly harness for CloudAnalyzer, a QA platform for mapping, localization, and perception outputs. Supports 27 commands across 8 groups: point cloud evaluation, trajectory evaluation, ground segmentation QA, config-driven quality gates, baseline evolution, processing, visualization, and interactive REPL.

cli-anything-cloudcompare

Command-line interface for CloudCompare — Agent-friendly harness for CloudCompare, the open-source 3D point cloud and mesh processing software. Supports 41 commands across 9 groups: project management, session control, point cloud operations (subsample, filter, segment, analyze), mesh operations, distance computation (C2C, C2M), transformations (ICP, matrix), export (LAS/LAZ/PLY/PCD/OBJ/STL/E57), and interactive REPL.

cli-anything-comfyui

>-

cli-anything-dify-workflow

Wrapper for the Dify workflow DSL CLI. Create, inspect, validate, edit, and export Dify workflow files through a CLI-Anything harness.

cli-anything-drawio

>-

cli-anything-eez-studio

Use EEZ Studio from the command line: inspect and modify native .eez-project files, edit LVGL screens/widgets, manage SCPI commands, and invoke the real EEZ Studio backend for LVGL builds.

cli-anything-eth2-quickstart

>-

cli-anything-exa

>-

cli-anything-firefly-iii

Firefly III CLI - Personal finance management via CLI-Anything

cli-anything-freecad

Complete CLI harness for FreeCAD parametric 3D CAD modeler (258 commands). Covers ALL workbenches: Part (29 primitives + boolean + mirror + loft + sweep), Sketcher (26 cmds: geometry + constraints + editing), PartDesign (38 cmds: pad/pocket/groove/fillet/chamfer/patterns/hole/datum), Assembly (11 cmds), Mesh (16 cmds), TechDraw (15 cmds: views + dimensions + PDF/SVG), Draft (33 cmds: 2D shapes + arrays + transforms), FEM (12 cmds), CAM/CNC (10 cmds), Surface (6 cmds), Spreadsheet (7 cmds), Import (13 formats), Export (17 formats), Measure (12 cmds), Materials (21 presets). Headless FreeCAD export to STEP/IGES/STL/OBJ/DXF/PDF/glTF/3MF.

cli-anything-gimp

>-

cli-anything-godot

>-

相關技能