技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
skill-010【数据与研究】Aligns multiple 3D scans into a unified coordinate system. Use this skill to consolidate overlapping mesh data from different sources.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill provides the MeshRegistrar tool for aligning and merging multiple 3D mesh files into a single coherent model. It is particularly useful in situations where multiple scans of the same object or area need to be combined.
Use this skill for:
The tool is provided as a Python module in the scripts/ directory.
import sys
# Add skill path to sys.path
sys.path.append('/root/.claude/skills/mesh-registration/scripts')
from mesh_tool import MeshRegistrar
# Initialize with file paths of the meshes to align
registrar = MeshRegistrar(['/path/to/your/scan1.stl', '/path/to/your/scan2.stl'])
# Perform the registration
registered_mesh = registrar.register()
# Save the registered mesh to a new file
registrar.save('/path/to/your/registered_mesh.stl')
The MeshRegistrar supports various alignment methods, including:
You can specify the registration method as follows:
registered_mesh = registrar.register(method='icp')