Skip to content

Add mesh_interlibrary_formatter package with adapters and scale-calibrate CLI#1

Open
Krane1130 wants to merge 1 commit into
mainfrom
codex/verify-completion-status-of-mesh-interlibrary-formatter
Open

Add mesh_interlibrary_formatter package with adapters and scale-calibrate CLI#1
Krane1130 wants to merge 1 commit into
mainfrom
codex/verify-completion-status-of-mesh-interlibrary-formatter

Conversation

@Krane1130

Copy link
Copy Markdown
Collaborator

Motivation

  • Provide a canonical, lightweight mesh representation and toolset to interoperate between common Python mesh libraries (PyVista, trimesh, PyMeshLab, Open3D, Blender).
  • Supply a minimal end-to-end CLI for uniform scale calibration to support downstream pipelines and reproducible preprocessing.

Description

  • Add mesh_interlibrary_formatter.core.MeshData dataclass with validation, utilities (copy, bounds, centroid, apply_scale, summary) and point-cloud/triangle-mesh helpers.
  • Implement adapter modules adapters/pyvista_adapter.py, adapters/trimesh_adapter.py, adapters/pymeshlab_adapter.py, adapters/open3d_adapter.py, and adapters/bpy_adapter.py to convert to/from MeshData and provide load_with_* and to_* helpers.
  • Provide a thin CLI mesh_interlibrary_formatter.cli.scale_calibrate which loads a mesh via trimesh adapter, applies a uniform scale, and writes the result; add package __init__.py exports and update README.md to document the package and CLI behavior.

Testing

  • Ran the test discovery command python -m unittest discover -s tests -p "test_*.py" -v, which executed the regression suite including tests/test_phase4_regressions.py and reported success.

Codex Task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant