Skip to content

Commit fe23d0e

Browse files
authored
Merge pull request #1178 from compas-dev/cell_network
Cell network data structure
2 parents 4fe88e2 + 10090c8 commit fe23d0e

File tree

6 files changed

+1295
-0
lines changed

6 files changed

+1295
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
102102
* Added `polyhedron_to_rhino` to `compas_rhino.conversions`.
103103
* Added `from_mesh` plugin to `compas_rhino.geometry.RhinoBrep`.
104104
* Added `compas.geometry.Plane.worldYZ` and `compas.geometry.Plane.worldZX`.
105+
* Added `compas.datastructures.CellNetwork`.
105106
* Added `compas_rhino.conversions.brep_to_compas_box`.
106107
* Added `compas_rhino.conversions.brep_to_compas_cone`.
107108
* Added `compas_rhino.conversions.brep_to_compas_cylinder`.

docs/reference/compas.datastructures.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Classes
1616
:nosignatures:
1717

1818
Datastructure
19+
CellNetwork
1920
Graph
2021
HalfEdge
2122
HalfFace
@@ -185,3 +186,10 @@ Assembly
185186
:toctree: generated/
186187
:nosignatures:
187188

189+
190+
CellNetwork
191+
-------
192+
193+
.. autosummary::
194+
:toctree: generated/
195+
:nosignatures:

src/compas/datastructures/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@
157157
from .assembly.assembly import Assembly
158158
from .assembly.part import Feature, GeometricFeature, ParametricFeature, Part
159159

160+
from .cell_network.cell_network import CellNetwork
161+
160162
BaseNetwork = Network
161163
BaseMesh = Mesh
162164
BaseVolMesh = VolMesh
@@ -167,6 +169,7 @@
167169
"Graph",
168170
# Networks
169171
"BaseNetwork",
172+
"CellNetwork",
170173
"Network",
171174
"network_complement",
172175
"network_count_crossings",

src/compas/datastructures/cell_network/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)