Merged
Conversation
…ub workflows for improved deployment and documentation generation.
Resolve conflicts favoring rewrite (docs, CONTRIBUTING, SECURITY, requirements; remove tmd2model.py and tmd/exporters/image/heightmap.py). Add CODE_OF_CONDUCT. Ruff: extend-exclude tools notebooks, per-file ignores for package inits, fix lint (utils/files, KLT filter branch, terrain logger, STL zoom, USD pxr, CLI imports and bare excepts). Restore active Ruff workflow. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This branch delivers a major rewrite of TrueMapData: reorganized packages, a clearer Typer-based CLI (
tmd_cli.pyentry point), and refactored surface and sequence pipelines. Surface work moves logic intotmd/surface/(including transformations, terrain generation, filters, metadata, and processing) and drops the old monolithictmd/utils/transformations.py/mesh_converter.pystyle layout in favor of a more cohesive module structure. Sequences are reworked around factory, GIF, video, and PowerPoint paths instead of the previous exporter/plotter split.Additional scope includes 3D model export flows, alignment tooling, texture handling fixes, normal-related fixes, expanded maps support, documentation and GitHub workflow updates for deployment and docs generation, refreshed requirements, notebook tooling under
tools/, and removal of stray sample assets (test.py, sample.tmdfiles). Legacytmd2model.pyis removed in favor of the new CLI-oriented layout.Motivation: simplify maintenance, align the public API and CLI with current workflows, and make TMD processing, visualization, and export paths easier to extend and test.
Fixes # (add the issue number if one tracks this rewrite; otherwise remove this line)
Type of change
(Breaking: import paths, removed
tmd2model.py, and reshaped sequence/surface APIs will break consumers on the old layout.)How Has This Been Tested?
From the repo root, with dev dependencies available:
Result (this environment): 114 passed, 4 skipped; 5 warnings (mostly coverage/third-party noise in the tail of the run).
Reproduce: clone the branch, create/activate a venv,
pip install -e ".[dev]"(or your usual install), then run the command above.Checklist