Skip to content

Conversation

@nzfeng
Copy link
Collaborator

@nzfeng nzfeng commented May 23, 2025

This PR:

  • Exposes the signed heat method implementation for triangle meshes (addressing python binding for Signed Heat Method #22)
  • Exposes the signed heat method implementation for point clouds
  • Adds all the heat solvers for general polygon meshes, in a new class called PolygonMeshHeatSolver
  • Adds support for polygon meshes; in particular,
    • a new function read_polygon_mesh() in io.py returns a nested list encoding polygon faces of arbitrary degree (since a NumPy array is no longer possible in this case)
    • validate_mesh() in core.py is amended to account for this possible data structure change.
  • Adds Python binding to the marching triangles implementation in geometry-central
  • Adds a new edges() function in mesh.py to return the edges of a mesh
  • Updates test/sample.py to also test/demo these new functionalities
  • Updates the documentation in the README

README.md Outdated
# potpourri3d

A Python library of various algorithms and utilities for 3D triangle meshes and point clouds. Managed by [Nicholas Sharp](https://nmwsharp.com), with new tools added lazily as needed. Currently, mainly bindings to C++ tools from [geometry-central](http://geometry-central.net/).
A Python library of various algorithms and utilities for 3D polygon meshes and point clouds. Managed by [Nicholas Sharp](https://nmwsharp.com), with new tools added lazily as needed. Currently, mainly bindings to C++ tools from [geometry-central](http://geometry-central.net/).
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: can we say "3D triangle meshes & polygonal meshes" (I don't want to give the impression that all the methods here specifically target polygons since some of them still don't)

@nzfeng nzfeng merged commit 957b6d0 into nmwsharp:master Jun 18, 2025
4 checks passed
@seekever
Copy link

So cool!!!

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.

3 participants