Skip to content

Commit cebc537

Browse files
authored
Merge branch 'main' into polyline_new_methods
2 parents 5076254 + cdc3518 commit cebc537

File tree

334 files changed

+11286
-19576
lines changed

Some content is hidden

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

334 files changed

+11286
-19576
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.17.5
2+
current_version = 2.0.0-alpha.1
33
message = Bump version to {new_version}
44
commit = True
55
tag = True
@@ -8,10 +8,6 @@ tag = True
88
search = version="{current_version}"
99
replace = version="{new_version}"
1010

11-
[bumpversion:glob:schemas/*.json]
12-
search = "$compas": "{current_version}"
13-
replace = "$compas": "{new_version}"
14-
1511
[bumpversion:file:src/compas/__init__.py]
1612
search = __version__ = "{current_version}"
1713
replace = __version__ = "{new_version}"
@@ -24,10 +20,6 @@ replace = __version__ = "{new_version}"
2420
search = __version__ = "{current_version}"
2521
replace = __version__ = "{new_version}"
2622

27-
[bumpversion:file:src/compas_plotters/__init__.py]
28-
search = __version__ = "{current_version}"
29-
replace = __version__ = "{new_version}"
30-
3123
[bumpversion:file:src/compas_rhino/__init__.py]
3224
search = __version__ = "{current_version}"
3325
replace = __version__ = "{new_version}"

.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 .

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,3 +143,5 @@ src/compas_ghpython/components/**/*.ghuser
143143
dev
144144

145145
NOTES
146+
147+
src/compas_blender/conversions/__temp/

.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: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Added
11+
* Added `Frame.axes`
12+
13+
* Added `compas.datastructures.TreeNode` and `compas.datastructures.Tree` classes.
14+
* Added `EllipseArtist` to `compas_rhino` and `compas_ghpython`.
15+
16+
### Changed
17+
18+
* Changed `Network.is_planar` to rely on `NetworkX` instead `planarity` for planarity checking.
19+
* Removed `planarity` from requirements.
20+
* Fixed argument order at `compas.geometry.cone.circle`.
21+
* Pinned `jsonschema` version to >=4.17, <4.18 to avoid Rust toolchain
22+
* Fixed `box_to_compas` in `compas_rhino.conversions` to correctly take in the center of the box as the center point of the frame.
23+
* Removed `cython` from requirements.
24+
* Made X and Y axis optional in the constructor of `Frame`.
25+
26+
### Removed
27+
28+
29+
## [2.0.0-alpha.1] 2023-09-20
30+
1031
### Added
1132

1233
* Added `create_id` to `compas_ghpython.utilities`. (moved from `compas_fab`)
@@ -104,6 +125,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
104125
* Added `polyhedron_to_rhino` to `compas_rhino.conversions`.
105126
* Added `from_mesh` plugin to `compas_rhino.geometry.RhinoBrep`.
106127
* Added `compas.geometry.Plane.worldYZ` and `compas.geometry.Plane.worldZX`.
128+
* Added `compas.datastructures.CellNetwork`.
129+
* Added `compas_rhino.conversions.brep_to_compas_box`.
130+
* Added `compas_rhino.conversions.brep_to_compas_cone`.
131+
* Added `compas_rhino.conversions.brep_to_compas_cylinder`.
132+
* Added `compas_rhino.conversions.brep_to_compas_sphere`.
133+
* Added `compas_rhino.conversions.brep_to_rhino`.
134+
* Added `compas_rhino.conversions.capsule_to_rhino_brep`.
135+
* Added `compas_rhino.conversions.cone_to_rhino_brep`.
136+
* Added `compas_rhino.conversions.curve_to_rhino`.
137+
* Added `compas_rhino.conversions.cylinder_to_rhino_brep`.
138+
* Added `compas_rhino.conversions.extrusion_to_compas_box`.
139+
* Added `compas_rhino.conversions.extrusion_to_rhino_cylinder`.
140+
* Added `compas_rhino.conversions.extrusion_to_rhino_torus`.
141+
* Added `compas_rhino.conversions.polyline_to_rhino_curve`.
142+
* Added `compas_rhino.conversions.surface_to_compas`.
143+
* Added `compas_rhino.conversions.surface_to_compas_mesh`.
144+
* Added `compas_rhino.conversions.surface_to_compas_quadmesh`.
145+
* Added `compas_rhino.conversions.surface_to_rhino`.
146+
* Added `compas_rhino.conversions.torus_to_rhino_brep`.
147+
* Added `compas_rhino.artists._helpers.attributes`.
148+
* Added `compas_rhino.artists._helpers.ngon`.
149+
* Added `compas.geometry.find_span`.
150+
* Added `compas.geometry.construct_knotvector`.
151+
* Added `compas.geometry.knotvector_to_knots_and_mults`.
152+
* Added `compas.geometry.knots_and_mults_to_knotvector`.
153+
* Added `compas.geometry.compute_basisfuncs`.
154+
* Added `compas.geometry.compute_basisfuncsderivs`.
155+
* Added `compas.geometry.DefaultNurbsCurve` as try-last, Python-only plugin for `compas.geometry.NurbsCurve`.
156+
* Added `compas.geometry.DefaultNurbsSurface` as try-last, Python-only plugin for `compas.geometry.NurbsSurface`.
157+
* Added color count to constructor functions of `compas.colors.ColorMap`.
107158

108159
### Changed
109160

@@ -177,6 +228,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
177228
* Fixed bug in `compas.datastructures.Mesh.insert_vertex`.
178229
* Fixed bug in `compas.geometry.angle_vectors_signed`.
179230
* Fixed bug in `compas.geometry.Polyline.split_at_corners` where angles were sometimes wrongly calculated.
231+
* Changed `compas.artists.MeshArtist` default colors.
232+
* Changed internal _plane storage of the `compas.datastructures.Halfface` from `_plane[u][v][w]` to `_plane[u][v][fkey]`
233+
* Fixed `SyntaxError` when importing COMPAS in GHPython.
180234

181235
### Removed
182236

@@ -237,6 +291,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
237291
* Removed classmethod `compas.color.Color.from_data`.
238292
* Removed `validate_data` from `compas.data.validators`.
239293
* Removed `json_validate` from `compas.data.json`.
294+
* Removed `compas_rhino.conversions.Box`.
295+
* Removed `compas_rhino.conversions.Circle`.
296+
* Removed `compas_rhino.conversions.Cone`.
297+
* Removed `compas_rhino.conversions.Curve`.
298+
* Removed `compas_rhino.conversions.Cylinder`.
299+
* Removed `compas_rhino.conversions.Ellipse`.
300+
* Removed `compas_rhino.conversions.Line`.
301+
* Removed `compas_rhino.conversions.Mesh`.
302+
* Removed `compas_rhino.conversions.Plane`.
303+
* Removed `compas_rhino.conversions.Point`.
304+
* Removed `compas_rhino.conversions.Polyline`.
305+
* Removed `compas_rhino.conversions.Vector`.
306+
* Removed `compas_rhino.artists.NetworkArtist.draw_nodelabels`.
307+
* Removed `compas_rhino.artists.NetworkArtist.draw_edgelabels`.
308+
* Removed `compas_rhino.artists.MeshArtist.draw_vertexlabels`.
309+
* Removed `compas_rhino.artists.MeshArtist.draw_edgelabels`.
310+
* Removed `compas_rhino.artists.MeshArtist.draw_facelabels`.
311+
* Removed `compas_rhino.artists.VolMeshArtist.draw_vertexlabels`.
312+
* Removed `compas_rhino.artists.VolMeshArtist.draw_edgelabels`.
313+
* Removed `compas_rhino.artists.VolMeshArtist.draw_facelabels`.
314+
* Removed `compas_rhino.artists.VolMeshArtist.draw_celllabels`.
315+
* Removed `compas.robots`.
316+
* Removed `compas.artists.robotmodelartist`.
317+
* Removed `compas_blender.artists.robotmodelartist`.
318+
* Removed `compas_ghpython.artists.robotmodelartist`.
319+
* Removed `compas_rhino.artists.robotmodelartist`.
240320

241321
## [1.17.5] 2023-02-16
242322

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ COMPAS has dedicated packages for working with Rhino, Grasshopper, and Blender,
2121

2222
We are working on a new major release of the framework, COMPAS 2.0!
2323
Therefore, be aware that the current version of the repository already contains some changes that are incompatible with the version 1 releases.
24-
The documentation of the latest stable version (COMPAS 1.17.5) [is available here](https://compas.dev/compas/1.17.5).
24+
The documentation of the latest stable version (COMPAS 1.17.6) [is available here](https://compas.dev/compas/1.17.6).
2525

2626
## Installation
2727

docs/_images/_COMPAS.png

-152 KB
Binary file not shown.
1.13 MB
Loading
150 KB
Loading
110 KB
Loading

0 commit comments

Comments
 (0)