Skip to content

Commit 31b0c40

Browse files
committed
improve docs and change log
1 parent 56c173a commit 31b0c40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1818
* Added `Data.guid` to JSON serialization.
1919
* Added `Data.guid` to pickle state.
2020
* Added `Assembly.find_by_key` to locate parts by key.
21-
* Added `Mesh.mesh_dual` with additional option to include boundary faces.
2221

2322
### Changed
2423

@@ -27,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2726
* Fixed bug in `compas.robots.Configuration`.
2827
* Rebuild part index after deserialization in `Assembly`.
2928
* Fixed bug in `compas.artists.colordict.ColorDict`.
29+
* Change `Mesh.mesh_dual` with option of including the boundary.
3030

3131
### Removed
3232

src/compas/datastructures/mesh/duality.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def mesh_dual(mesh, cls=None, include_boundary=False):
2121
cls : Type[:class:`~compas.datastructures.Mesh`], optional
2222
The type of the dual mesh.
2323
Defaults to the type of the provided mesh object.
24-
include_boundary: str, optional
24+
include_boundary: bool, optional
2525
Whether to include boundary faces for the dual mesh
26-
Default mode is False, don't create faces on boundaries.
26+
If True, create faces on boundaries including all original mesh boundary vertices.
2727
2828
Returns
2929
-------

0 commit comments

Comments
 (0)