Skip to content

Commit f6e9a79

Browse files
committed
Merge remote-tracking branch 'origin/main' into main
2 parents 9b6e3f9 + 6ff2f35 commit f6e9a79

File tree

19 files changed

+743
-14
lines changed

19 files changed

+743
-14
lines changed

.github/workflows/ironpython.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ jobs:
2121
- name: "[RPC tests] Install CPython dependencies"
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install cython --config-settings="--build-option=--no-cython-compile"
2524
- name: "[RPC tests] Install COMPAS on CPython"
2625
run: |
2726
pip install --no-cache-dir .

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
tasks:
2-
- init: pip3 install cython --install-option="--no-cython-compile" && pip3 install .
2+
- init: pip3 install .

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Added `compas.datastructures.TreeNode` and `compas.datastructures.Tree` classes.
13+
* Added `EllipseArtist` to `compas_rhino` and `compas_ghpython`.
14+
1215
### Changed
1316

1417
* Changed `Network.is_planar` to rely on `NetworkX` instead `planarity` for planarity checking.
1518
* Removed `planarity` from requirements.
1619
* Fixed argument order at `compas.geometry.cone.circle`.
20+
* Pinned `jsonschema` version to >=4.17, <4.18 to avoid Rust toolchain
21+
* Fixed `box_to_compas` in `compas_rhino.conversions` to correctly take in the center of the box as the center point of the frame.
22+
* Removed `cython` from requirements.
1723

1824
### Removed
1925

docs/devguide/workflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To set up a developer environment
1212

1313
.. code-block:: bash
1414
15-
conda create -n compas-dev python=3.8 cython --yes
15+
conda create -n compas-dev python=3.11 --yes
1616
conda activate compas-dev
1717
1818
3. Install development dependencies:

docs/reference/compas_ghpython.artists.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Classes
2525
ConeArtist
2626
CurveArtist
2727
CylinderArtist
28+
EllipseArtist
2829
FrameArtist
2930
LineArtist
3031
MeshArtist

docs/reference/compas_rhino.artists.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Classes
1919
ConeArtist
2020
CurveArtist
2121
CylinderArtist
22+
EllipseArtist
2223
FrameArtist
2324
LineArtist
2425
MeshArtist

docs/userguide/configuration/blender.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Alternatively, you can create a new environment and simply install entire COMPAS
177177

178178
.. code-block:: bash
179179
180-
conda create -n blender python=3.9 cython --yes
180+
conda create -n blender python=3.9 --yes
181181
conda activate blender
182182
pip install compas
183183
python -m compas_blender.install

docs/userguide/installation.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ Install COMPAS using ``pip`` from the Python Package Index.
6161

6262
.. code-block:: bash
6363
64-
pip install cython --install-option="--no-cython-compile"
6564
pip install compas
6665
6766
Install an editable version from local source.

requirements.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# flake8: noqa
2-
cython
32
imageio <= 2.6; python_version < '3.5'
43
imageio >= 2.7; python_version >= '3.5'
5-
jsonschema
4+
jsonschema >= 4.17, < 4.18
65
matplotlib >= 2.2, < 3.0; python_version >= '2.7' and python_version < '3.0'
76
matplotlib >= 2.2, < 3.1; python_version >= '3.5' and python_version <= '3.7' and sys_platform == 'win32'
87
matplotlib >= 3.1; python_version >= '3.8' and sys_platform == 'win32'

src/compas/datastructures/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@
159159

160160
from .cell_network.cell_network import CellNetwork
161161

162+
from .tree.tree import Tree, TreeNode
163+
162164
BaseNetwork = Network
163165
BaseMesh = Mesh
164166
BaseVolMesh = VolMesh
@@ -277,6 +279,9 @@
277279
"Feature",
278280
"GeometricFeature",
279281
"ParametricFeature",
282+
# Trees
283+
"Tree",
284+
"TreeNode",
280285
]
281286

282287
if not compas.IPY:

0 commit comments

Comments
 (0)