Skip to content

Commit 1f20e7b

Browse files
committed
Merge branch 'main' into assembly-suggestions
2 parents 9e06643 + d2f7d6c commit 1f20e7b

File tree

204 files changed

+11256
-6522
lines changed

Some content is hidden

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

204 files changed

+11256
-6522
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.12.2
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
@@ -35,7 +35,7 @@ jobs:
3535

3636
outputs:
3737
commit_type: ${{ steps.docs.outputs.commit_type }}
38-
current_patch: ${{ steps.docs.outputs.current_patch }}
38+
current_version: ${{ steps.docs.outputs.current_version }}
3939

4040
docVersions:
4141
needs: build
@@ -49,7 +49,7 @@ jobs:
4949

5050
- uses: compas-dev/[email protected]
5151
with:
52-
current_patch: ${{ needs.build.outputs.current_patch }}
52+
current_version: ${{ needs.build.outputs.current_version }}
5353

5454
- name: Deploy docs
5555
if: success()

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v1
1515
- name: Changelog check
16-
uses: Zomzog/changelog-checker@v1.1.0
16+
uses: Zomzog/changelog-checker@v1.2.0
1717
with:
1818
fileName: CHANGELOG.md
19+
checkNotification: Simple
1920
env:
2021
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 178 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,196 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

12+
* Added basic implementation of `compas.datastructures.Assembly`.
13+
14+
### Changed
15+
16+
* Updated `pr-checks` workflow for checking Changelog entry.
17+
* Fixed return value of attributes of empty `compas_rhino.geometry.RhinoNurbsCurve`.
18+
* Fixed error in parameter list of `compas_rhino.geometry.curves.new_nurbscurve`.
19+
* Fixed error in parameter list of `compas_rhino.geometry.curves.new_nurbscurve_from_interpolation`.
20+
* Fixed error in parameter list of `compas_rhino.geometry.curves.new_nurbscurve_from_step`.
21+
22+
### Removed
23+
24+
25+
## [1.12.2] 2021-11-30
26+
27+
### Added
28+
29+
### Changed
30+
31+
* Moved import of `subprocess` to top of file `compas._os.py`.
32+
33+
### Removed
34+
35+
36+
## [1.12.1] 2021-11-29
37+
38+
### Added
39+
40+
### Changed
41+
42+
* Fixed bug in `compas_rhino.conversions.RhinoPoint.from_geometry`.
43+
44+
### Removed
45+
46+
47+
## [1.12.0] 2021-11-17
48+
49+
### Added
50+
51+
* Added `CircleArtist`, `LineArtist`, `PointArtist`, `PolygonArtist`, `PolylineArtist`, and `VectorArtist` to `compas_blender`.
52+
* Added `draw_circles` and `draw_planes` to `compas_blender`.
53+
* Added `compas_rhino.geometry.curves` plugins for `compas.geometry.curves` pluggables.
54+
* Added `compas_rhino.geometry.RhinoNurbsCurve`.
55+
* Added `to_compas_quadmesh` to `compas_rhino.conversions.RhinoSurface`.
56+
57+
### Changed
58+
59+
* Replaced implementation of `RGBColour` and `Float` with deprecation warning in `compas.utilities.descriptors`.
60+
* Moved all Rhino geometry and objects wrappers to `compas_rhino.conversions`.
61+
* Fixed bug in `compas_rhino.conversions.RhinoSurface.from_geometry`.
62+
* Changed `compas_rhino.conversions.RhinoLine.from_geometry` to accept line curves.
63+
* Fixed bug in `compas_rhino.geometry.RhinoNurbsCurve.closest_point`.
64+
* Modify `to_compas_mesh` in `compas_rhino.conversions.RhinoSurface` to use brep loops.
65+
66+
### Removed
67+
68+
69+
## [1.11.1] 2021-11-09
70+
71+
### Added
72+
73+
### Changed
74+
75+
* Changed `compas_rhino.uninstall` to also remove broken symlinks if no specific packages are provided for un-installation.
76+
* Changed `compas_rhino.install` to also remove broken symlinks.
77+
78+
### Removed
79+
80+
81+
## [1.11.0] 2021-11-08
82+
83+
### Added
84+
85+
* Added halfedge loops in `compas.datastructures.Halfedge.halfedge_loop`.
86+
* Added halfedge strips in `compas.datastructures.Halfedge.halfedge_strip`.
87+
* Added `compas.datastructures.mesh_split_strip` and `compas.datastructures.Mesh.split_strip`.
88+
* Added boundingbox to `compas_rhino.conduits.BaseConduit`
89+
90+
### Changed
91+
92+
* Fixed bug in combination of `compas_rhino.artists.MeshArtist.draw_mesh` and `compas_rhino.utilities.drawing.draw_mesh`.
93+
* Fixed bug in continuous loops in `compas.datastructures.Halfedge.edge_loop`.
94+
* Fixed bug in continuous strips in `compas.datastructures.Halfedge.edge_strip`.
95+
* Changed abstract method `compas.artists.MeshArtist.draw_mesh` to implemented method in `compas_plotters.artists.MeshArtist.draw_mesh`.
96+
97+
### Removed
98+
99+
100+
## [1.10.0] 2021-11-04
101+
102+
### Added
103+
104+
* Added `compas.geometry.Curve` and `compas.geometry.NurbsCurve`.
105+
* Added `compas.geometry.Surface` and `compas.geometry.NurbsSurface`.
106+
* Added pluggables for `compas.geometry.NurbsCurve.__new__`, `compas.geometry.NurbsCurve.from_parameters`, `compas.geometry.NurbsCurve.from_points`, `compas.geometry.NurbsCurve.from_interpolation`, `compas.geometry.NurbsCurve.from_step`.
107+
* Added pluggables for `compas.geometry.NurbsSurface.__new__`, `compas.geometry.NurbsSurface.from_parameters`, `compas.geometry.NurbsSurface.from_points`, `compas.geometry.NurbsSurface.from_fill`, `compas.geometry.NurbsSurface.from_step`.
108+
* Added missing implementations for abstract clear methods of `compas_rhino.artists.volmeshartist`.
109+
110+
* Added `compas_rhino.geometry.RhinoBox`, `compas_rhino.geometry.RhinoCircle`, `compas_rhino.geometry.RhinoCone`, `compas_rhino.geometry.RhinoCurve`, `compas_rhino.geometry.RhinoCylinder`, `compas_rhino.geometry.RhinoEllipse`, `compas_rhino.geometry.RhinoLine`, `compas_rhino.geometry.RhinoMesh`, `compas_rhino.geometry.RhinoPlane`, `compas_rhino.geometry.RhinoPoint`, `compas_rhino.geometry.RhinoPolyline`, `compas_rhino.geometry.RhinoSphere`, `compas_rhino.geometry.RhinoSurface`, `compas_rhino.geometry.RhinoVector` as wrappers for working with Rhino geometry through geometry conversions or coercion of doc objects.
111+
* Added `compas_rhino.conversions` from COMPAS geometry to Rhino geometry and vice versa, for primitives, shapes, curves, surfaces, meshes.
112+
* Added `compas_rhino.coercion` from Rhino doc objects to Rhino geometry compatible with COMPAS geometry.
113+
114+
### Changed
115+
116+
* Fixed bug in directions of `compas.datastructures.Mesh.from_meshgrid`.
117+
* Fixed bug in Rhino mesh face drawing.
118+
* Fixed bug related to legacy uninstall on Rhino for Mac.
119+
120+
### Removed
121+
122+
123+
## [1.9.3] 2021-11-02
124+
125+
### Added
126+
127+
### Changed
128+
129+
* Changed default path for Rhino 7 legacy install cleanup to Rhino7.app in `compas_rhino.__init__.py`.
130+
* Changed z-coordinate of `compas.datastructures.Mesh.from_meshgrid` to `0.0` instead of `0`.
131+
132+
### Removed
133+
134+
135+
## [1.9.2] 2021-11-02
136+
137+
### Added
138+
139+
* Added `draw_mesh` method to `compas_ghpython.artists.MeshArtist` to match all other mesh artists.
140+
141+
### Changed
142+
143+
* Changed new artist registration to check if subclass.
144+
* Fixed `RobotModelArtist` for blender: missing abstract method impl and handle init order.
145+
146+
### Removed
147+
148+
149+
## [1.9.1] 2021-10-22
150+
151+
### Added
152+
153+
* Added `Plane.offset`.
154+
* Added `is_mesh_closed` property to `compas.datastructures.mesh_slice_plane`.
155+
156+
### Changed
157+
158+
* Fixed backward compatibility problem with artists by adding back `Artist.build` and `Artist.build_as`.
159+
* Fixed backward compatibility problem with artists by adding `compas_rhino.artists.BaseArtist` alias for `compas_rhino.artists.RhinoArtist`.
160+
161+
### Removed
162+
163+
164+
## [1.9.0] 2021-10-21
165+
166+
### Added
167+
12168
* Added `draw_vertexlabels`, `draw_edgelabels`, `draw_facelabels`, `draw_vertexnormals`, and `draw_facenormals` to `compas_blender.artists.MeshArtist`.
13169
* Added optional `triangulated` flag to `to_vertices_and_faces` of all shapes.
14170
* Added `compas.geometry.Geometry` base class.
15171
* Added `__add__`, `__sub__`, `__and__` to `compas.geometry.Shape` for boolean operations using binary operators.
16172
* Added `is_closed` to `compas.geometry.Polyhedron`.
17173
* Added `Plane.offset`.
174+
* Added `compas.artists.Artist`.
175+
* Added pluggable `compas.artists.new_artist`.
176+
* Added plugin `compas_rhino.artists.new_artist_rhino`.
177+
* Added plugin `compas_blender.artists.new_artist_blender`.
178+
* Added `compas.artist.DataArtistNotRegistered`.
18179
* Added `draw_node_labels` and `draw_edgelabels` to `compas_blender.artists.NetworkArtist`.
19180
* Added `compas_blender.artists.RobotModelArtist.clear`.
20181
* Added `compas_blender.geometry.booleans` as plugin for boolean pluggables.
21182
* Added version-based installation for Blender.
183+
* Added several shape artists to `compas_ghpython`: `BoxArtist`, `CapsuleArtist`, `ConeArtist`, `CylinderArtist`, `PolygonArtist`, `PolyhedronArtist`, `SphereArtist`, `TorusArtist` and `VectorArtist`.
184+
* Added support for CLR generic dictionaries to the `compas.data` decoders.
185+
* Added `Graph.node_sample`, `Graph.edge_sample`.
186+
* Added `Halfedge.vertex_sample`, `Halfedge.edge_sample`, `Halfedge.face_sample`.
187+
* Added `Halfface.vertex_sample`, `Halfface.edge_sample`, `Halfface.face_sample`, `Halfface.cell_sample`.
188+
* Added `Mesh.from_meshgrid`.
22189

23190
### Changed
24191

25192
* Fixed bug in `compas_blender.draw_texts`.
193+
* Changed `compas_rhino.artists.BaseArtist` to `compas_rhino.artists.RhinoArtist`.
194+
* Changed `compas_blender.artists.BaseArtist` to `compas_blender.artists.BlenderArtist`.
26195
* Changed default resolution for shape discretisation to 16 for both u and v where relevant.
27196
* Changed base class of `compas.geometry.Primitive` and `compas.geometry.Shape` to `compas.geometry.Geometry`.
28197
* `compas_blender.artists.RobotModelArtist.collection` can be assigned as a Blender collection or a name.
29198
* Generalized the parameter `color` of `compas_blender.draw_texts` and various label drawing methods.
30199
* Changed `compas.IPY` to `compas.RHINO` in `orientation_rhino`.
31200
* Changed `planarity` to `requires_extra` for pip installations.
201+
* Fixed bug in handling of ngonal meshes in `compas_ghpython` artists / drawing functions.
32202

33203
### Removed
34204

@@ -52,7 +222,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
52222
* Added general plotter for geometry objects and data structures based on the artist registration mechanism.
53223
* Added support for multimesh files to OBJ reader/writer.
54224
* Added support for attaching and detaching meshes in `compas.robots.RobotModelArtist` and drawing them.
55-
* Added basic implementation of `compas.datastructures.Assembly`.
225+
* Added `compas.geometry.NurbsCurve`.
226+
* Added `compas.geometry.NurbsSurface`.
227+
* Added `compas_rhino.conversions`.
228+
* Added `compas_rhino.geometry.RhinoBox`.
229+
* Added `compas_rhino.geometry.RhinoCone`.
230+
* Added `compas_rhino.geometry.RhinoCylinder`.
231+
* Added `compas_rhino.geometry.RhinoPolyline`.
232+
* Added `compas_rhino.geometry.RhinoSphere`.
56233
* Added `meshes` method to artists of `compas.robots.RobotModel`.
57234
* Added `FrameArtist` class to `compas_blender`.
58235

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.

0 commit comments

Comments
 (0)