Skip to content

Commit fb6d060

Browse files
committed
Merge remote-tracking branch 'origin/main' into hashtree
2 parents 4155138 + 05ef043 commit fb6d060

File tree

198 files changed

+3799
-234616
lines changed

Some content is hidden

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

198 files changed

+3799
-234616
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 = 2.0.0-alpha.2
2+
current_version = 2.0.0-beta.1
33
message = Bump version to {new_version}
44
commit = True
55
tag = True

AUTHORS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@
3737
- Nickolas Maslarinos <<maslarinosnickolas@gmail.com>> [@nmaslarinos](https://github.com/nmaslarinos)
3838
- Katerina Toumpektsi <<e.toumpeksti@gmail.com>> [@katarametin](https://github.com/katarametin)
3939
- Joelle Baehr-Bruyere <<joelle.baehr-bruyere@epfl.ch>> [@baehrjo](https://github.com/baehrjo)
40-
- Adam Anouar <<aanouar@student.ethz.ch>> [@AdamAnouar](https://github.com/AdamAnouar)
40+
- Adam Anouar <<aanouar@student.ethz.ch>> [@AdamAnouar](https://github.com/AdamAnouar)
41+
- Joseph Kenny <<kenny@arch.ethz.ch>> [@jckenny59](https://github.com/jckenny59)

CHANGELOG.md

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

1010
### Added
1111

12+
* Added `compas_rhino8` as starting point for Rhino8 support.
13+
* Added tutorial for `compas.datastructures.Tree`.
14+
15+
### Changed
16+
17+
* Changed the `__str__` of `compas.geometry.Point` and `compas.geometry.Vector` to use a limited number of decimals (determined by `Tolerance.PRECISION`). Note: `__repr__` will instead maintain full precision.
18+
19+
### Removed
20+
21+
* Removed `compas_rhino.forms`. Forms will be moved to `compas_ui`.
22+
23+
24+
## [2.0.0-beta.1] 2023-12-20
25+
26+
### Added
27+
1228
* Added `compas.geometry.Box.to_brep()`.
1329
* Added `compas.geometry.Cone.to_brep()`.
1430
* Added `compas.geometry.Cylinder.to_brep()`.
1531
* Added `compas.geometry.Sphere.to_brep()`.
1632
* Added `compas.geometry.Torus.to_brep()`.
1733
* Added `compas.brep.Brep.from_iges()`.
1834
* Added `compas.brep.Brep.to_iges()`.
35+
* Added `compas.tolerance`.
36+
* Added `compas.tolerance.Tolerance`.
37+
* Added `compas.tolerance.Tolerance.ABSOLUTE` and `compas.tolerance.Tolerance.absolute`.
38+
* Added `compas.tolerance.Tolerance.RELATIVE` and `compas.tolerance.Tolerance.relative`.
39+
* Added `compas.tolerance.Tolerance.ANGULAR` and `compas.tolerance.Tolerance.angular`.
40+
* Added `compas.tolerance.Tolerance.APPROXIMATION` and `compas.tolerance.Tolerance.approximation`.
41+
* Added `compas.tolerance.Tolerance.PRECISION` and `compas.tolerance.Tolerance.precision`.
42+
* Added `compas.tolerance.Tolerance.LINEARDEFLECTION` and `compas.tolerance.Tolerance.lineardeflection`.
43+
* Added `compas.tolerance.Tolerance.is_zero`.
44+
* Added `compas.tolerance.Tolerance.is_positive`.
45+
* Added `compas.tolerance.Tolerance.is_negative`.
46+
* Added `compas.tolerance.Tolerance.is_between`.
47+
* Added `compas.tolerance.Tolerance.is_angle_zero`.
48+
* Added `compas.tolerance.Tolerance.is_close`.
49+
* Added `compas.tolerance.Tolerance.is_allclose`.
50+
* Added `compas.tolerance.Tolerance.is_angles_close`.
51+
* Added `compas.tolerance.Tolerance.geometric_key`.
52+
* Added `compas.tolerance.Tolerance.format_number`.
53+
* Added `compas.tolerance.Tolerance.precision_from_tolerance`.
1954
* Added `compas.scene.Scene`.
2055
* Added `compas.json_loadz()` and `compas.json_dumpz()` to support ZIP compressed JSON files.
2156
* Added `compas.datastructures.assembly.delete_part()`.
@@ -69,6 +104,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
69104
* Added `compas_rhino.geometry.RhinoBrepLoop.native_loop`.
70105
* Added `compas_rhino.geometry.RhinoBrepTrim.native_trim`.
71106
* Added `compas_rhino.geometry.RhinoBrepVertex.native_vertex`.
107+
* Added `color`, `opacity` attributes to `compas.scene.SceneObject`.
108+
* Added `pointcolor`, `linecolor`, `surfacecolor`, `pointsize`, `linewidth` attributes to `compas.scene.GeometryObject`.
109+
* Added `compas_rhino.geometry.brep.RhinoBrep.to_meshes()`.
110+
* Added `compas_blender.`
111+
* Added `compas.geometry.Brep.trimmed()`.
112+
* Added `compas.geometry.RhinoBrep.slice()`.
72113

73114
### Changed
74115

@@ -80,18 +121,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
80121
* Moved `compas.brep` to `compas.geometry.brep`.
81122
* Updated `compas-actions.docs` workflow to `v3`.
82123
* `Artists` classes are renamed to `SceneObject` classes and now under `compas.scene`, `compas_rhino.scene`, `compas_ghpython.scene`, `compas_blender.scene`.
83-
* Context related functions like `register`, `build`, `redraw` and `clear` are moved to `compas.scene.context` from `compas.scene.SceneObject`.
124+
* Context related functions like `register`, `build`, `redraw` and `clear` are moved to `compas.scene.context` from `compas.scene.SceneObject`.
84125
* Changed plugin selection to fall back to a default implementation if possible.
85126
* Fixed `AttributeError` `_edges` in `compas_rhino.geometry.RhinoBrepLoop.edges`.
86127
* Fixed `compas_rhino.geometry.RhinoBrep` serialization.
128+
* Naming convention for `ColorDictAttributes` in `compas.scene.MeshObject`, `compas.scene.NetworkObject` and `compas.scene.VolmeshObject` is changed e.g. from `vertex_color` to `vertexcolor`.
129+
* The building of correct type of `SceneObject` is moved backed to `__new__` of `SceneObject` itself.
130+
* Changed `compas_blender.install` to use symlinks.
131+
* Moved `URDF` parsing from `compas.files` to the `compas_robots` extension (`compas_robots.files.URDF`).
132+
* Changed signature of `compas.geometry.Brep.slice()`
87133

88134
### Removed
89135

90-
* Added `compas_rhino.geometry.RhinoBrepFace.data.setter`.
91-
* Added `compas_rhino.geometry.RhinoBrepEdge.data.setter`.
92-
* Added `compas_rhino.geometry.RhinoBrepLoop.data.setter`.
93-
* Added `compas_rhino.geometry.RhinoBrepTrim.data.setter`.
94-
* Added `compas_rhino.geometry.RhinoBrepVertex.data.setter`.
136+
* Removed `compas_rhino.geometry.RhinoBrepFace.data.setter`.
137+
* Removed `compas_rhino.geometry.RhinoBrepEdge.data.setter`.
138+
* Removed `compas_rhino.geometry.RhinoBrepLoop.data.setter`.
139+
* Removed `compas_rhino.geometry.RhinoBrepTrim.data.setter`.
140+
* Removed `compas_rhino.geometry.RhinoBrepVertex.data.setter`.
141+
* Removed `compas.PRECISION`.
142+
* Removed `compas.set_precision`.
95143

96144
## [2.0.0-alpha.2] 2023-11-07
97145

@@ -406,7 +454,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
406454
* Removed `compas_rhino.artists.VolMeshArtist.draw_edgelabels`.
407455
* Removed `compas_rhino.artists.VolMeshArtist.draw_facelabels`.
408456
* Removed `compas_rhino.artists.VolMeshArtist.draw_celllabels`.
409-
* Removed `compas.robots`.
457+
* Removed `compas.robots`, replaced with `compas_robots` package.
410458
* Removed `compas.artists.robotmodelartist`.
411459
* Removed `compas_blender.artists.robotmodelartist`.
412460
* Removed `compas_ghpython.artists.robotmodelartist`.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2021 compas-dev
3+
Copyright (c) 2017-2023 COMPAS Association
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal
50.3 KB
Loading
40.1 KB
Loading
27 KB
Loading
36 KB
Loading
36.5 KB
Loading
36.9 KB
Loading

0 commit comments

Comments
 (0)