diff --git a/CHANGELOG.md b/CHANGELOG.md index 93605d69b35..79aab32d48b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fixed bug in `Mesh.thickened`. * Fixed various bugs in `compas.geometry.Quaternion`. * Changed repo config to `pyproject.toml`. +* Fixed broken import in `copas.geometry.trimesh_smoothing_numpy`. * Changed `RhinoBrep.trimmed` to return single result or raise `BrepTrimmingError` instead of returning a list. * Changed order of imports according to `isort` and changed line length to `179`. @@ -33,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Removed `compas.scene.SceneObjectNode`, functionalities merged into `compas.scene.SceneObject`. * Removed `compas.scene.SceneTree`, functionalities merged into `compas.scene.Scene`. +* Removed default implementation of `compas.geometry.trimesh_geodistance` since nonexistent. ## [2.1.0] 2024-03-01 diff --git a/src/compas/geometry/triangulation_delaunay.py b/src/compas/geometry/triangulation_delaunay.py index 2bf626bf6b5..5a547f555ed 100644 --- a/src/compas/geometry/triangulation_delaunay.py +++ b/src/compas/geometry/triangulation_delaunay.py @@ -1,7 +1,3 @@ -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function - from compas.plugins import pluggable diff --git a/src/compas/geometry/trimesh_geodistance.py b/src/compas/geometry/trimesh_geodistance.py index bfa58e44c90..3c1862fe5ff 100644 --- a/src/compas/geometry/trimesh_geodistance.py +++ b/src/compas/geometry/trimesh_geodistance.py @@ -1,7 +1,3 @@ -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function - from compas.plugins import pluggable @@ -33,12 +29,7 @@ def trimesh_geodistance(M, source, method="exact"): >>> """ - from .trimesh_geodistance_numpy import trimesh_geodesic_distances_numpy - - if method == "exact": - raise NotImplementedError - - return trimesh_geodesic_distances_numpy(M, [source]) + raise NotImplementedError trimesh_geodistance.__pluggable__ = True diff --git a/src/compas/geometry/trimesh_remeshing.py b/src/compas/geometry/trimesh_remeshing.py index ab24279066b..9408afddfa6 100644 --- a/src/compas/geometry/trimesh_remeshing.py +++ b/src/compas/geometry/trimesh_remeshing.py @@ -1,7 +1,3 @@ -from __future__ import absolute_import -from __future__ import division -from __future__ import print_function - from compas.plugins import pluggable diff --git a/src/compas/geometry/trimesh_smoothing_numpy.py b/src/compas/geometry/trimesh_smoothing_numpy.py index dcd7c61ac0b..702c0666083 100644 --- a/src/compas/geometry/trimesh_smoothing_numpy.py +++ b/src/compas/geometry/trimesh_smoothing_numpy.py @@ -1,6 +1,6 @@ from numpy import array -from ._algebra import trimesh_cotangent_laplacian_matrix +from .trimesh_matrices_numpy import trimesh_cotangent_laplacian_matrix def trimesh_smooth_laplacian_cotangent(trimesh, fixed, kmax=10):