Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Scene Transform #2278

Merged
merged 30 commits into from
Sep 4, 2024
Merged

Release: Scene Transform #2278

merged 30 commits into from
Sep 4, 2024

Conversation

mikedh
Copy link
Owner

@mikedh mikedh commented Sep 1, 2024

  • fix that scene.scaled returned an invalid camera if it had been defined.
  • add trimesh.scene.reconstruct_instances which uses trimesh.registration.procrustes and is actually very fast (10x faster on some simple data than scene.duplicate_nodes) and gives great results on baked scenes.
    • add a bunch of type hints to trimesh.registration
  • add a Scene.simplify_quadric_decimation which runs mesh.simplify_quadric_decimation for every mesh geometry in the scene.
  • release Fix typing bug in merge_vertices function #2281
  • release Docs/documentation fixes #2279
    • Also add a trimesh.convex.QhullOptions dataclass with a blurb for every boolean flag option in 8b2d46e, so you can construct this string with something like QhullOptions(QbB=True) and read the docstrings as you're doing it.
  • release Update gmsh.py #2280
  • set the VIRTUAL_ENV variable in the Dockerfile which lets upstream potentially use uv.
  • Attempt to add a body to the Github releases in CI.
  • Deprecations for April 2025
    • Scene.dump(concatenate=True) which should be replaced with Scene.to_geometry() or Scene.to_mesh(), as otherwise the return types are inconsistent. This also lays some groundwork for [WIP] Refactor Load Types #2241 as trimesh.load_mesh will be a thin wrapper around trimesh.load_scene(...).to_mesh()
    • Scene.deduplicated is removed because it's one line and also mildly pointless, you can get the same effect with Scene(list({g.identifier_hash: g for g in self.geometry.values()}.values()))

mikedh and others added 13 commits August 31, 2024 15:48
function had the docstring from segments_to_parameters, copying documentation from path.Path.fill_gaps instead
Added optional parameter to load_gmsh to allow running outside the main thread.
Fixed trailing whitespace issue. Added optional argument to load_gmsh to enable it to run outside the main thread.
@mikedh mikedh changed the title Fix: Scene Transform Release: Scene Transform Sep 2, 2024
@mikedh mikedh merged commit 634c608 into main Sep 4, 2024
9 checks passed
@mikedh mikedh deleted the fix/scene branch September 4, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants