Releases: mikedh/trimesh
Release 4.7.3
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
|u8instead 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
Release 4.7.0
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.gmshis deprecated and will be removed January
2025! There are many gmsh options on PyPi:scikit-gmshgmsh
pygmshgmsh-sdk, users should pick one of those and use it directly.
If STEP loading is the only thing needed you may wantpip install cascadiowhich uses OpenCASCADE more directly and will immediately
enable STEP as a loadable format in trimesh.
Changes in this release:
Release 4.6.13
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_extrudeandtest_primitivesto pytest style, and
remove the outdated test skip iftriangleisn't installed. - fix and test units on 3MF imports, which were being stomped by the
metadata = Nonekeyword argument. - remove unused
trimesh.exchange.gltf._mesh_to_materialsfunction. - release #2420
Release 4.6.12
Release 4.6.11
Release 4.6.10
Release 4.6.9
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_hashto the abstract base classparent.Geometry - adds
trimesh.inertia.points_inertiato calculate the tensor of an
array of point masses to use as a simple identifier for the PointCloud.
points_inertiais 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.