Skip to content

Commit

Permalink
Merge pull request #1178 from compas-dev/cell_network
Browse files Browse the repository at this point in the history
Cell network data structure
  • Loading branch information
romanarust authored Sep 27, 2023
2 parents 4fe88e2 + 10090c8 commit fe23d0e
Show file tree
Hide file tree
Showing 6 changed files with 1,295 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Added `polyhedron_to_rhino` to `compas_rhino.conversions`.
* Added `from_mesh` plugin to `compas_rhino.geometry.RhinoBrep`.
* Added `compas.geometry.Plane.worldYZ` and `compas.geometry.Plane.worldZX`.
* Added `compas.datastructures.CellNetwork`.
* Added `compas_rhino.conversions.brep_to_compas_box`.
* Added `compas_rhino.conversions.brep_to_compas_cone`.
* Added `compas_rhino.conversions.brep_to_compas_cylinder`.
Expand Down
8 changes: 8 additions & 0 deletions docs/reference/compas.datastructures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Classes
:nosignatures:

Datastructure
CellNetwork
Graph
HalfEdge
HalfFace
Expand Down Expand Up @@ -185,3 +186,10 @@ Assembly
:toctree: generated/
:nosignatures:


CellNetwork
-------

.. autosummary::
:toctree: generated/
:nosignatures:
3 changes: 3 additions & 0 deletions src/compas/datastructures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@
from .assembly.assembly import Assembly
from .assembly.part import Feature, GeometricFeature, ParametricFeature, Part

from .cell_network.cell_network import CellNetwork

BaseNetwork = Network
BaseMesh = Mesh
BaseVolMesh = VolMesh
Expand All @@ -167,6 +169,7 @@
"Graph",
# Networks
"BaseNetwork",
"CellNetwork",
"Network",
"network_complement",
"network_count_crossings",
Expand Down
Empty file.
Loading

0 comments on commit fe23d0e

Please sign in to comment.