Skip to content

Releases: mikedh/trimesh

Release 4.7.3

11 Aug 17:26
f5c6c8b

Choose a tag to compare

Release: Parent Loggers + Numpy Dtype Hotfix (#2430)

In trimesh.util.attach_to_log(only_parent=True) if there exist loggers
for project, project.other, project.other2, this will only attach
to project. By default it is off so it shouldn't change upstream
behavior.

We should also probably be doing instead of from .util import log,
log = getLogger(__name__) everywhere.

Release Notes

  • Adds the parent logging behavior
  • latest numpy dtypes now show up as |u8 instead of <u8, which we
    need to strip for the GLTF lookup table.
  • slightly janky fix for #2419 which at least preserves the vertex
    colors, but should probably be refactored to always store them in
    vertex_attributes. That would be a large change and I'm not sure it's
    possible to do without breaking the API.
  • release #2432

Release 4.7.1

16 Jul 20:25
e2176e3

Choose a tag to compare

Release: Scene Type Hints (#2427)

  • adds a type hint to scene.show with a Literal to fix #2426
  • For some reason a reexport of typing.Literal from trimesh.typed
    does not work with ruff.

Release 4.7.0

09 Jul 19:01
a2467b2

Choose a tag to compare

Release: Remove GMSH (#2422)

Trimesh's interface to gmsh has been scheduled for removal and has been
printing this warning for more than a year:

trimesh.interfaces.gmsh is deprecated and will be removed January
2025! There are many gmsh options on PyPi: scikit-gmsh gmsh
pygmsh gmsh-sdk, users should pick one of those and use it directly.
If STEP loading is the only thing needed you may want pip install cascadio which uses OpenCASCADE more directly and will immediately
enable STEP as a loadable format in trimesh.

Changes in this release:

  • remove trimesh.interfaces.gmsh
  • release #2423
  • release #2424
  • fix pycollada dependency on Python 3.8

Release 4.6.13

27 Jun 18:34
8e9db3d

Choose a tag to compare

Release: Layer Filter For Path.copy (#2418)

  • add and test path.copy(layers={1, 2}) to only copy particular
    layers.
  • add the note about signed angles discussed in #2416
  • add a trimesh.primitives.Extrusion(..., mid_plane: bool) option as a
    helper to produce extrusions that are centered at the origin.
  • convert test_extrude and test_primitives to pytest style, and
    remove the outdated test skip if triangle isn't installed.
  • fix and test units on 3MF imports, which were being stomped by the
    metadata = None keyword argument.
  • remove unused trimesh.exchange.gltf._mesh_to_materials function.
  • release #2420

Release 4.6.12

11 Jun 22:24
e547b49

Choose a tag to compare

Release: Docstrings + IMC (#2417)

  • fix minimum Python version in readme
  • release #2416
  • release #2415

Release 4.6.11

04 Jun 21:00
1d5df90

Choose a tag to compare

Release: Don't Copy Embree Scenes (#2411)

  • try to fix #2410
  • release #2409 which fixes #2408
  • release #2404
  • deprecate OpenCTM as it is abandoned, fully superseded by Google's
    Draco, and was causing maintenance burden for upstream packaging teams.
    Discussion in trimesh/openctm#5

Release 4.6.10

19 May 20:19
156e6c4

Choose a tag to compare

Release: More SVG Fixes (#2406)

  • fix #2405 and test
  • preserve OBJ material names through a roundtrip mentioned in #2349

Release 4.6.9

13 May 19:49
a45d8a8

Choose a tag to compare

Release: SVG Fixes (#2397)

  • release #2395
  • release #2401 which tests and fixes #2253
  • add test and fix #2379
  • test and fix #2402
  • test and fix #2403
  • both SVG cases are now tested by converting the SVG transform tree
    into a single fully evaluated path string in Inkscape and then
    confirming the set-of-AABB matches with our evaluation.
  • add identifier_hash to the abstract base class parent.Geometry
  • adds trimesh.inertia.points_inertia to calculate the tensor of an
    array of point masses to use as a simple identifier for the PointCloud.
    points_inertia is also useful for approximating a moment of inertia
    from samples, which we test by sampling the volume of a random box.
  • adds a test that caught Path identifiers being only 2 values from an
    incorrect axis on a sum.

Release 4.6.8

17 Apr 00:22
76b2bd3

Choose a tag to compare

Release: Fix Typo (#2393)

  • release #2392
  • do another release with the PyPi trusted publisher now that everything
    is set up.

Release 4.6.7

16 Apr 18:02
63a6047

Choose a tag to compare

Release: Trusted Publisher (#2391)