Skip to content

Conversation

@mikedh
Copy link
Owner

@mikedh mikedh commented Aug 19, 2025

Nahuel-M and others added 17 commits August 15, 2025 09:42
- Adds `viridis` from the primary source
[here](https://github.com/BIDS/colormap/blob/master/option_a.py) which
is available under waived copyright
[license](https://github.com/BIDS/colormap/blob/master/LICENSE.txt) and
make `viridis` the default color map
- Enable `linear_color_map` to support arbitrary `color_range` lengths
and interpolate from that, rather than just interpolating between two
colors.
- fix #2446 
- Adds a simple helper `Trimesh.subdivide(iterations: int)` argument to
avoid the `mesh.subdivide().subdivide().subdivide()`

<img width="1789" height="1429" alt="Screenshot from 2025-08-31
15-23-06"
src="https://github.com/user-attachments/assets/dcead8a1-d9b6-4b74-820e-c0c1acfb93e8"
/>
I hope this makes sense for trimesh as a whole. It would greatly improve
ergonomics for me :)

This addition will only concatenate vertex and face attributes if all
keys are found in all meshes. An alternative is discarding attributes
that are not in all meshes and concatenating the rest.
@mikedh mikedh changed the title Release: PathSample Fixes Release: PathSample Fixes + Viridis Sep 1, 2025
@mikedh mikedh merged commit 2e071c5 into main Sep 1, 2025
11 checks passed
@mikedh mikedh deleted the fix/pathsample branch September 1, 2025 19:19
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.

Missing matplotlib dependency PathSample include_original doesn't include all original points

3 participants