Skip to content

Commit dca0e37

Browse files
committed
Merge branch 'main' into remove-maps
2 parents c46bdb5 + 4aff080 commit dca0e37

File tree

5 files changed

+4
-19
lines changed

5 files changed

+4
-19
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2626
* Fixed bug in `Mesh.thickened`.
2727
* Fixed various bugs in `compas.geometry.Quaternion`.
2828
* Changed repo config to `pyproject.toml`.
29+
* Fixed broken import in `copas.geometry.trimesh_smoothing_numpy`.
2930
* Changed `RhinoBrep.trimmed` to return single result or raise `BrepTrimmingError` instead of returning a list.
3031
* Changed order of imports according to `isort` and changed line length to `179`.
3132
* Changed use of `compas.geometry.allclose` to `compas.tolerance.TOL.is_allclose`.
@@ -36,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3637

3738
* Removed `compas.scene.SceneObjectNode`, functionalities merged into `compas.scene.SceneObject`.
3839
* Removed `compas.scene.SceneTree`, functionalities merged into `compas.scene.Scene`.
40+
* Removed default implementation of `compas.geometry.trimesh_geodistance` since nonexistent.
3941
* Removed `compas.utilities.maps` since functionality is replaced by `compas.tolerance`.
4042

4143
## [2.1.0] 2024-03-01

src/compas/geometry/triangulation_delaunay.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from compas.plugins import pluggable
62

73

src/compas/geometry/trimesh_geodistance.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from compas.plugins import pluggable
62

73

@@ -33,12 +29,7 @@ def trimesh_geodistance(M, source, method="exact"):
3329
>>>
3430
3531
"""
36-
from .trimesh_geodistance_numpy import trimesh_geodesic_distances_numpy
37-
38-
if method == "exact":
39-
raise NotImplementedError
40-
41-
return trimesh_geodesic_distances_numpy(M, [source])
32+
raise NotImplementedError
4233

4334

4435
trimesh_geodistance.__pluggable__ = True

src/compas/geometry/trimesh_remeshing.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
from __future__ import absolute_import
2-
from __future__ import division
3-
from __future__ import print_function
4-
51
from compas.plugins import pluggable
62

73

src/compas/geometry/trimesh_smoothing_numpy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from numpy import array
22

3-
from ._algebra import trimesh_cotangent_laplacian_matrix
3+
from .trimesh_matrices_numpy import trimesh_cotangent_laplacian_matrix
44

55

66
def trimesh_smooth_laplacian_cotangent(trimesh, fixed, kmax=10):

0 commit comments

Comments
 (0)