Skip to content

Commit 2e071c5

Browse files
authored
Release: PathSample Fixes + Viridis (#2444)
- try to fix #2438 - release #2441 - release #2449 which makes `viridis` the default color map in `trimesh.visual.color.interpolate` and enables linear interpolation with more than two values in `trimesh.visual.color.linear_color_map`. This adds a 20kb JSON copy of the lookup table for viridis rather than depending on `matplotlib` to avoid the 50mb of added dependencies. Fixes #2446 - adds ability to `gzip` files in `trimesh.resources.get_json`. `gzip` won the decompress-speed benchmark by a fair bit on my machine compared to `bz2` and `lzma` although it had worse compression.
2 parents d8c75b5 + ef4502c commit 2e071c5

File tree

13 files changed

+615
-359
lines changed

13 files changed

+615
-359
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ requires = ["setuptools >= 61.0", "wheel"]
55
[project]
66
name = "trimesh"
77
requires-python = ">=3.8"
8-
version = "4.7.4"
8+
version = "4.8.0"
99
authors = [{name = "Michael Dawson-Haggerty", email = "[email protected]"}]
1010
license = {file = "LICENSE.md"}
1111
description = "Import, export, process, analyze and view triangular meshes."
@@ -56,7 +56,7 @@ include-package-data = false
5656
[tool.setuptools.package-data]
5757
trimesh = [
5858
"resources/templates/*",
59-
"resources/*.json",
59+
"resources/*.json*",
6060
"resources/schema/*",
6161
"resources/schema/primitive/*.json",
6262
"resources/*.zip",

0 commit comments

Comments
 (0)