3MF mesh geometry editor — detect and resize cylindrical holes, repair meshes, compare 3D printing files. Works with BambuStudio and PrusaSlicer 3MF files.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-cli-anything-threemf-b18dc7e3d2be ,按照其中的说明把「cli-anything-threemf」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
3MF mesh geometry editor for 3D printing files.
pip install git+https://github.com/HKUDS/CLI-Anything.git#subdirectory=3MF/agent-harness
# Show mesh info (vertices, faces, bounding box, watertight status, volume)
cli-anything-3mf info <file.3mf>
# Detect cylindrical holes (center, diameter, confidence)
cli-anything-3mf inspect <file.3mf>
# Resize holes to target diameter
cli-anything-3mf resize <file.3mf> --hole 0 --hole 1 --diameter 4.2 -o output.3mf
# Fix mesh issues (degenerate faces, duplicate vertices, normals)
cli-anything-3mf repair <file.3mf> -o repaired.3mf
# Compare two 3MF files
cli-anything-3mf compare <file1.3mf> <file2.3mf>
All commands support --json for machine-readable output:
cli-anything-3mf --json inspect model.3mf