Compas

Latest version: v2.9.1

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 21

2.9.1

Added

* Added method `frame_at` to `compas.geometry.BrepFace`.
* Added method `frame_at` to `compas_rhino.geometry.RhinoBrepFace`.
* Added property `is_reversed` to `compas.geometry.BrepFace`.
* Added property `is_reversed` to `compas_rhino.geometry.RhinoBrepFace`.

Changed

* Fixed publish to YAK via CI workflow.
* Added selector for `test` and `prod` to CI workflow.
* Fixed `AttributeError` in `compas.data.DataEncoder.default` due to `np.float_` no longer being available in `numpy>=2`.

Removed

2.9.0

Added

* Added `DevTools` with support for automatic reloading of local python modules.
* Added implementation for `compas_rhino.geometry.RhinoBrep.from_step`.
* Added CPython implementations of GH components for Rhino8.
* Added import to new `yakerize` task from `compas_invocations2`.
* Added import to new `publish_yak` task from `compas_invocations2`.

Changed

* Moved `unload_modules` to be a static method of `DevTools`. The `unload_modules` function is an alias to this.
* Fixed unexpected behavior in `compas.geometry.bbox_numpy.minimum_area_rectangle_xy`.
* Changed `requirements.txt` to allow `numpy>=2`.
* Fixed bug in `compas.geometry.Polygon.points` setter by removing duplicate points if they exist.
* Fixed bug in `compas.geometry.Polygon.plane` by aligning the normal of the bestfit plane with the approximate normal of the polygon faces.
* Changed the order of face vertices in `compas.geometry.Surface.to_vertices_and_faces` to a counter clockwise cycling direction and outward facing normals for curved surfaces.
* Deprecated the `-v8.0` flag in `compas_rhino.install`. Install to Rhino8 by following: https://compas.dev/compas/latest/userguide/cad.rhino8.html.
* Fixed `Info` Grasshopper component for cpython to handle non-bootstrapped environments.

Removed

2.8.1

Added

Changed

* Fixed `NotImplementedError` when calling `compas_rhino.conversions.surface_to_compas` on NURBS Surface.
* Fixed `NotImplementedError` when calling `compas_rhino.conversions.surface_to_compas` on Surface.
* Changed point comparison (`compas.geometry.Point.__eq__`) to use `TOL.is_allclose` instead of raw coordinate comparison.
* Changed vector comparison (`compas.geometry.Vector.__eq__`) to use `TOL.is_allclose` instead of raw coordinate comparison.
* Fixed bug in frame comparison (`compas.geometry.Frame.__eq__`).
* Fixed bug in `compas.geometry.oriented_bounding_box_numpy`.
* Fixed cannot copy `Line` using `deepcopy`.

Removed

2.8.0

Added

* Added implementation of `RhinoBrep.fillet()` and `RhinoBrep.filleted()` to `compas_rhino`.
* Added `Frame.invert` and `Frame.inverted`.
* Added `Frame.flip` and `Frame.flipped` as alias for invert and inverted.
* Added `Vector.flip` and `Vector.flipped` as alias for invert and inverted.

Changed

* Fixed `native_edge` property of `RhinoBrepEdge`.
* Expose the parameters `radius` and `nmax` from `compas.topology._face_adjacency` to `compas.topology.face_adjacency` and further propagate them to `unify_cycles` and `Mesh.unify_cycles`.
* Modify `face_adjacency` to avoid using `compas.topology._face_adjacency` by default when there are more than 100 faces, unless one of the parameters `radius`, `nmax` is passed.
* Changed `unify_cycles` to use the first face in the list as root if no root is provided.

Removed

2.7.0

Added

* Added attribute `start_vertex` to `compas.geometry.BrepTrim`.
* Added attribute `end_vertex` to `compas.geometry.BrepTrim`.
* Added attribute `vertices` to `compas.geometry.BrepTrim`.
* Added attribute `start_vertex` to `compas_rhino.geometry.RhinoBrepTrim`.
* Added attribute `start_vertex` to `compas_rhino.geometry.RhinoBrepTrim`.
* Added attribute `vertices` to `compas_rhino.geometry.RhinoBrepTrim`.

Changed

* Fixed `PluginNotInstalledError` when using `Brep.from_boolean_*` in Rhino.
* Added support for `Polyline` as input for `compas_rhino.Brep.from_extrusion`.

Removed

2.6.1

Added

Changed

* Fixed bug in `compas_rhino.scene.RhinoMeshObject.clear()`.

Removed

Page 1 of 21

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.