Skip to content

Commit d9f35b5

Browse files
authored
Merge branch 'main' into main
2 parents a184377 + 9e77bc3 commit d9f35b5

File tree

145 files changed

+5668
-4542
lines changed

Some content is hidden

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

145 files changed

+5668
-4542
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.8.1
2+
current_version = 1.9.0
33
message = Bump version to {new_version}
44
commit = True
55
tag = True

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,5 @@ data/ctralie
141141

142142
# Grasshopper generated objects
143143
src/compas_ghpython/components/**/*.ghuser
144+
145+
dev

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,55 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## Unreleased
9+
10+
### Added
11+
912
* Added `Plane.offset`
1013
* Added `is_mesh_closed` property to `compas.datastructures.mesh_slice_plane`
14+
15+
### Changed
16+
17+
### Removed
18+
19+
20+
## [1.9.0] 2021-10-21
21+
1122
### Added
1223

1324
* Added `draw_vertexlabels`, `draw_edgelabels`, `draw_facelabels`, `draw_vertexnormals`, and `draw_facenormals` to `compas_blender.artists.MeshArtist`.
25+
* Added optional `triangulated` flag to `to_vertices_and_faces` of all shapes.
26+
* Added `compas.geometry.Geometry` base class.
27+
* Added `__add__`, `__sub__`, `__and__` to `compas.geometry.Shape` for boolean operations using binary operators.
28+
* Added `is_closed` to `compas.geometry.Polyhedron`.
29+
* Added `Plane.offset`.
30+
* Added `compas.artists.Artist`.
31+
* Added pluggable `compas.artists.new_artist`.
32+
* Added plugin `compas_rhino.artists.new_artist_rhino`.
33+
* Added plugin `compas_blender.artists.new_artist_blender`.
34+
* Added `compas.artist.DataArtistNotRegistered`.
35+
* Added `draw_node_labels` and `draw_edgelabels` to `compas_blender.artists.NetworkArtist`.
36+
* Added `compas_blender.artists.RobotModelArtist.clear`.
37+
* Added `compas_blender.geometry.booleans` as plugin for boolean pluggables.
38+
* Added version-based installation for Blender.
39+
* Added several shape artists to `compas_ghpython`: `BoxArtist`, `CapsuleArtist`, `ConeArtist`, `CylinderArtist`, `PolygonArtist`, `PolyhedronArtist`, `SphereArtist`, `TorusArtist` and `VectorArtist`.
40+
* Added support for CLR generic dictionaries to the `compas.data` decoders.
41+
* Added `Graph.node_sample`, `Graph.edge_sample`.
42+
* Added `Halfedge.vertex_sample`, `Halfedge.edge_sample`, `Halfedge.face_sample`.
43+
* Added `Halfface.vertex_sample`, `Halfface.edge_sample`, `Halfface.face_sample`, `Halfface.cell_sample`.
44+
* Added `Mesh.from_meshgrid`.
1445

1546
### Changed
1647

1748
* Fixed bug in `compas_blender.draw_texts`.
49+
* Changed `compas_rhino.artists.BaseArtist` to `compas_rhino.artists.RhinoArtist`.
50+
* Changed `compas_blender.artists.BaseArtist` to `compas_blender.artists.BlenderArtist`.
51+
* Changed default resolution for shape discretisation to 16 for both u and v where relevant.
52+
* Changed base class of `compas.geometry.Primitive` and `compas.geometry.Shape` to `compas.geometry.Geometry`.
53+
* `compas_blender.artists.RobotModelArtist.collection` can be assigned as a Blender collection or a name.
54+
* Generalized the parameter `color` of `compas_blender.draw_texts` and various label drawing methods.
55+
* Changed `compas.IPY` to `compas.RHINO` in `orientation_rhino`.
56+
* Changed `planarity` to `requires_extra` for pip installations.
57+
* Fixed bug in handling of ngonal meshes in `compas_ghpython` artists / drawing functions.
1858

1959
### Removed
2060

9.26 KB
Loading
-30.7 KB
Loading
-48 KB
Loading

docs/_templates/autosummary/base.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/_templates/autosummary/class.rst

Lines changed: 0 additions & 28 deletions
This file was deleted.

docs/_templates/autosummary/module.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/api/compas.artists.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
.. automodule:: compas.artists

0 commit comments

Comments
 (0)