Releases: glotzerlab/coxeter
Releases · glotzerlab/coxeter
Release v0.10.0
v0.10.0 - 2025-02-24
Added
- Support for Python 3.13
- Rendered shape family tables in ReadTheDocs
Fixed
to_hoomdmethod now properly exports convex polygons- Warnings raised in test cases are now handled properly
Release v0.9.0
v0.9.0 - 2024-09-13
Breaking
- The private
TabulatedShapeFamilyclass has been removed, with functionality moved toTabulatedGSDShapeFamily.
Added
TabulatedGSDShapeFamiliesare now iterable, allowing easier access to shapes.- New
UniformPrismFamily,UniformAntiprismFamily,UniformPyramidFamily, andUniformDipyramidFamily - New documentation to help users initialize common geometries.
- New methods to export Polyhedra as OBJ, OFF, STL, PLY, VTK, X3D, and HTML files.
Changed
- The data in
DOI_SHAPE_REPOSITORIESfor source :cite:Damasceno2012is now sorted to match the order described in the paper.
Deprecated
- The
PrismAntiprismFamilyandPyramidDipyramidFamilyhave been deprecated in favor of the new families added above, which are faster, more consistent, and present a simplified interface.
The deprecated code was retained for backwards compatibility, but is no longer included in the documentation.
Release v0.8.0
Release v0.8.0 - 2023-02-21
Added
- New
edge_lengthsmethod. combine_simplices,find_simplex_equations,_find_face_centroids,find_coplanar_simplices,_find_face_centroids, andcalculate_signed_volumemethods for the ConvexPolyhedron class.simplices,equations, andface_centroidsproperties for the ConvexPolyhedron class.- Additional pytests for surface area, volume, centroid, moment of inertia, and equations properties.
- New
to_hoomdandto_jsonexport methods for use with simulation tools
Changed
- Pre-commit now uses ruff instead of flake8, pydocstyle, pyupgrade and isort.
- CI now uses GitHub Actions.
- Docs ported to furo theme.
- Reimplemented
find_equations,_volume,surface_area,centroid,_compute_inertia_tensor,rescale, andget_face_areamethods for convex polyhedra using NumPy vectorized operations and polyhedron simplices. - [breaking]
ConvexPolyhedron._surface_triangulationnow returns sorted simplices, rather than running polytri. This can change the order of vertices and/or triangles. - [breaking]
facesmay return faces in a different order than previously. Faces are still sorted withsort_faces, and will still be ordered such that curl and divergence theorems work properly. volume,surface_area, andcentroidproperties now return stored values, rather than computing the quantity at each call.rescalenow computes the centroid to ensure the correct value is available whencentroidis called.- Optimized pytest configurations for more efficient use of local and remote resources.
Release v0.7.0
Release v0.7.0 - 2023-09-18
Fixed
- Numerical precision issues in tests.
- GSD spec correctly outputs for
Polyhedronobjects. - Error in
__repr__for polyhedra with multiple face degrees. - ReadTheDocs build errors resulting from
condamemory usage.
Changed
- The minimum required Python version is now 3.8.
- The minimum required NumPy version is now 1.19.
- [breaking] Sped up point in polygon and point in polyhedron using NumPy.
- Migrated to pyproject.toml.
Added
- New
edgesandedge_vectorsproperties for polyhedra. - New shape families for Archimedean, Catalan, and Johnson shapes.
- New shape families for regular pyramids and dipyramids, and a selection of regular prisms and antiprisms.