Skip to content

Commit b236bb0

Browse files
committed
Merge branch 'main' into blndr_norm
2 parents 2f488d2 + 6a42f21 commit b236bb0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+726
-502
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.7.1
2+
current_version = 1.8.1
33
message = Bump version to {new_version}
44
commit = True
55
tag = True

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v2
1919

20-
- uses: compas-dev/compas-actions.docs@v1.0.0
20+
- uses: compas-dev/compas-actions.docs@v1.2.0
2121
id: docs
2222
with:
2323
dest: deploy
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
ref: gh-pages
4949

50-
- uses: compas-dev/compas-actions.docversions@v1.0.0
50+
- uses: compas-dev/compas-actions.docversions@v1.2.0
5151
with:
5252
current_patch: ${{ needs.build.outputs.current_patch }}
5353

AUTHORS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@
3131
- Robin Godwyll <<[email protected]>> [@robin-gdwl](https://github.com/robin-gdwl)
3232
- Mattis Koh <<[email protected]>> [@mattiskoh](https://github.com/mattiskoh)
3333
- Andrea Ghensi <<[email protected]>> [@sanzoghenzo](https://github.com/sanzoghenzo)
34+
- Nizar Taha <<[email protected]>> [@nizartaha](https://github.com/nizartaha)

CHANGELOG.md

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

1010
### Added
1111

12+
### Changed
13+
14+
### Removed
15+
16+
17+
## [1.8.1] 2021-09-08
18+
19+
### Added
20+
21+
### Changed
22+
23+
### Removed
24+
25+
26+
## [1.8.0] 2021-09-08
27+
28+
### Added
29+
1230
* Added pluggable function `trimesh_slice` in `compas_rhino`.
1331
* Added equality comparison for pointclouds.
1432
* Added `compas.data.is_sequence_of_uint`.
1533
* Added general plotter for geometry objects and data structures based on the artist registration mechanism.
1634
* Added support for multimesh files to OBJ reader/writer.
1735
* Added support for attaching and detaching meshes in `compas.robots.RobotModelArtist` and drawing them.
1836
* Added `meshes` method to artists of `compas.robots.RobotModel`.
37+
* Added `FrameArtist` class to `compas_blender`.
1938

2039
### Changed
2140

@@ -27,9 +46,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2746
* Changed `compas_rhino.drawing.draw_breps` to assume provided polygon is closed and automatically add missing corner to polycurve constructor.
2847
* Changed conversion of edges and faces to uniques keys for the data dicts to use the string representation of a sorted tuple of identifiers.
2948
* Added `dtype` to JSON decoding error message.
49+
* Moved `compas.datastructures.mesh.core.halfedge.HalfEdge` to `compas.datastructures.halfedge.halfedge.HalfEdge`
50+
* Moved `compas.datastructures.network.core.graph.Graph` to `compas.datastructures.graph.graph.Graph`.
3051

3152
### Removed
3253

54+
* Removed `compas.datastructures.mesh.core.mesh.BaseMesh`.
55+
56+
* Removed `compas.datastructures.BaseNetwork`.
57+
3358
## [1.7.1] 2021-06-14
3459

3560
### Added

data.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def patched_m2r2_setup(app):
3838
copyright = "Block Research Group - ETH Zurich"
3939
author = "Tom Van Mele"
4040

41-
release = "1.7.1"
41+
release = "1.8.1"
4242
version = ".".join(release.split(".")[0:2])
4343

4444
master_doc = "index"

docs/gettingstarted/blender.rst

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,26 @@ Blender ships with its own embedded version of Python. Therefore, the simplest
99
Python by the Python of a `conda` environment that already has COMPAS installed.
1010

1111
It is important that the version of Python installed in the `conda` environment matches
12-
the version of Python that was originally shipped with Blender. For Blender 2.8x and 2.9x
13-
this is Python 3.7x.
12+
the version of Python that was originally shipped with Blender. For Blender 2.83 LTS
13+
the version of the bundled Python is 3.7, and for 2.93 LTS it is 3.9.
14+
15+
.. note::
16+
17+
To find out which Python is shipped with your Blender installation, just open Blender
18+
and have a look at the Interactive Python Console that is part of the UI
19+
under the Scripting tab.
20+
1421

1522
Installation
1623
============
1724

25+
These instructions are for the latest Blender 2.83 LTS which ships with Python 3.7
1826
If you don't have an environment yet with Python 3.7 and COMPAS you can create one with ``conda``.
1927

2028
.. code-block:: bash
2129
2230
conda config --add channels conda-forge
23-
conda create -n blender python=3.7 COMPAS
31+
conda create -n blender python=3.7 COMPAS --yes
2432
2533
Configuring Blender to use the newly installed environment is slightly different per OS.
2634

@@ -50,11 +58,10 @@ Configuring Blender to use the newly installed environment is slightly different
5058
.. code-block:: bash
5159
5260
conda activate blender
53-
python -m compas_blender.install "%PROGRAMFILES%\\Blender Foundation\\Blender 2.91\\2.91"
61+
python -m compas_blender.install "%PROGRAMFILES%\\Blender Foundation\\Blender 2.83\\2.83"
5462
55-
Note that the path ``%PROGRAMFILES%\\Blender Foundation\\Blender 2.91\\2.91`` might be different
56-
if you have another version of Blender intalled.
57-
Check your version of Blender and change the path accordingly.
63+
Note that the path ``%PROGRAMFILES%\\Blender Foundation\\Blender 2.83\\2.83`` might be different on your system.
64+
Check your Blender installation and change the path accordingly.
5865

5966
.. raw:: html
6067

@@ -64,11 +71,10 @@ Check your version of Blender and change the path accordingly.
6471
.. code-block:: bash
6572
6673
conda activate blender
67-
python -m compas_blender.install /Applications/blender.app/Contents/Resources/2.91
74+
python -m compas_blender.install /Applications/blender.app/Contents/Resources/2.83
6875
69-
Note that the path ``/Applications/blender.app/Contents/Resources/2.91`` might be different
70-
if you have another version of Blender intalled.
71-
Check your version of Blender and change the path accordingly.
76+
Note that the path ``/Applications/blender.app/Contents/Resources/2.83`` might be different on your system.
77+
Check your Blender installation and change the path accordingly.
7278

7379
.. raw:: html
7480

@@ -78,9 +84,10 @@ Check your version of Blender and change the path accordingly.
7884
.. code-block:: bash
7985
8086
conda activate blender
81-
python -m compas_blender.install ~/Blender/2.91
87+
python -m compas_blender.install ~/Blender/2.83
8288
83-
Note that the path ``~/Blender/2.91`` might be different for your setup.
89+
Note that the path ``~/Blender/2.83`` might be different on your system.
90+
Check your Blender installation and change the path accordingly.
8491

8592
.. raw:: html
8693

@@ -183,7 +190,7 @@ Just add the following to your ``.bash_profile`` or ``.bashrc``.
183190

184191
.. code-block:: bash
185192
186-
export PATH="~/Blender/2.91:$PATH"
193+
export PATH="~/Blender/2.83:$PATH"
187194
188195
Note that this path might be different on your system.
189196

@@ -274,7 +281,7 @@ Collections
274281
Limitations
275282
===========
276283

277-
``compas_blender`` is not yet as well developed as, ``compas_rhino`` and ``compas_ghpython``.
284+
``compas_blender`` is not yet as well developed as ``compas_rhino`` and ``compas_ghpython``.
278285
For example, COMPAS geometry objects do not yet have a corresponding artist in ``compas_blender``.
279286
Artists are currently only available for data structures and robots.
280287

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ schema
1818
jsonschema
1919
scipy >= 1.1
2020
sympy
21+
typing_extensions
2122
watchdog

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def read(*names, **kwargs):
2525

2626
setup(
2727
name='COMPAS',
28-
version='1.7.1',
28+
version='1.8.1',
2929
description='The COMPAS framework',
3030
long_description=long_description,
3131
long_description_content_type='text/markdown',

src/compas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
__license__ = 'MIT License'
9191
__email__ = '[email protected]'
9292

93-
__version__ = '1.7.1'
93+
__version__ = '1.8.1'
9494

9595
version = LooseVersion(compas.__version__)
9696
versionstring = version.vstring.split('-')[0]

0 commit comments

Comments
 (0)