Skip to content

Commit d32150c

Browse files
committed
Merge branch 'main' into assembly
2 parents 9e06643 + eb6b5dc commit d32150c

File tree

204 files changed

+11338
-6517
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

+11338
-6517
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: 3 additions & 3 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
@@ -47,9 +47,9 @@ jobs:
4747
with:
4848
ref: gh-pages
4949

50-
- uses: compas-dev/[email protected].0
50+
- uses: compas-dev/[email protected].1
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: 189 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,207 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111

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

23201
### Changed
24202

25203
* Fixed bug in `compas_blender.draw_texts`.
204+
* Changed `compas_rhino.artists.BaseArtist` to `compas_rhino.artists.RhinoArtist`.
205+
* Changed `compas_blender.artists.BaseArtist` to `compas_blender.artists.BlenderArtist`.
26206
* Changed default resolution for shape discretisation to 16 for both u and v where relevant.
27207
* Changed base class of `compas.geometry.Primitive` and `compas.geometry.Shape` to `compas.geometry.Geometry`.
28208
* `compas_blender.artists.RobotModelArtist.collection` can be assigned as a Blender collection or a name.
29209
* Generalized the parameter `color` of `compas_blender.draw_texts` and various label drawing methods.
30210
* Changed `compas.IPY` to `compas.RHINO` in `orientation_rhino`.
31211
* Changed `planarity` to `requires_extra` for pip installations.
212+
* Fixed bug in handling of ngonal meshes in `compas_ghpython` artists / drawing functions.
32213

33214
### Removed
34215

@@ -52,6 +233,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
52233
* Added general plotter for geometry objects and data structures based on the artist registration mechanism.
53234
* Added support for multimesh files to OBJ reader/writer.
54235
* Added support for attaching and detaching meshes in `compas.robots.RobotModelArtist` and drawing them.
236+
* Added `compas.geometry.NurbsCurve`.
237+
* Added `compas.geometry.NurbsSurface`.
238+
* Added `compas_rhino.conversions`.
239+
* Added `compas_rhino.geometry.RhinoBox`.
240+
* Added `compas_rhino.geometry.RhinoCone`.
241+
* Added `compas_rhino.geometry.RhinoCylinder`.
242+
* Added `compas_rhino.geometry.RhinoPolyline`.
243+
* Added `compas_rhino.geometry.RhinoSphere`.
55244
* Added basic implementation of `compas.datastructures.Assembly`.
56245
* Added `meshes` method to artists of `compas.robots.RobotModel`.
57246
* Added `FrameArtist` class to `compas_blender`.
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)