Compas

Latest version: v2.6.1

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

Scan your dependencies

Page 1 of 21

2.6.1

Added

Changed

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

Removed

2.6.0

Added

* Added key conversion map to `compas.colors.ColorDict` to avoid serialisation problems with tuple keys when used in combination with edges.
* Added `Scene.find_all_by_itemtype`.

Changed

* Fixed bug in `VolMesh.delete_cell`.
* Fixed `NoneType` error when calling `compas.geometry.Sphere.edges`.
* Fixed bug in `VolMesh.vertex_halffaces`.
* Fixed bug in `VolMesh.vertex_cells`.
* Fixed bug in `VolMesh.is_halfface_on_boundary`.

Removed

* Removed `VolMesh.halfface_adjacent_halfface` because of general nonsensicalness, and because it is (and probably always has been) completely broken.

2.5.0

Added

* Added instructions for creating new data types to the dev guide.
* Added `compact=False`, `minimal=False` to `compas.data.Data.to_json()` to `compas.data.Data.to_jsonstring()`.
* Added `copy_guid=False` to `compas.data.Data.copy()`. If true, the copy has the same guid as the original.
* Added implementation of `Brep.from_loft()` to `compas_rhino`.

Changed

* Fixed `RuntimeError` when using `compas_rhino.unload_modules` in CPython`.
* Fixed bug in `Box.scaled` causing a `TypeError` due to incorrect parameter forwarding.
* Changed argument names of `Box.scale()` to `x`, `y`, `z`, instead of `factor` and made `y` and `z` optional to keep positional arguments backwards compatible.
* Fixed import errors in `compas_rhino.conduits` for Rhino 8.
* Fixed doctest failures.
* Fixed bug in serialization when `compas.datastructures.attributes.AttributeView` is used.
* Fixed bug in the serialisation of empty scenes.
* Fixed bug in serialisation process due to `name` attribute appearing in json representation after copy even if not present before copy.

Removed

2.4.3

Added

Changed

* Fixed support for `compas_gpython` in Rhino 8 Grasshopper CPython components.
* Changed installation instructions for Rhino 8 in the user guide.
* Fixed `Graph.from_edges` always returning `None`.

Removed

* Removed deprecated module `compas_ghpython.utilities`. For drawing functions, use `compas_ghpython.drawing` directly.

2.4.2

Added

* Added `compas.scene.Scene.find_by_name` to find the first scene object with the given name.
* Added `compas.scene.Scene.find_by_itemtype` to find the first scene object with a data item of the given type.

Changed

* Fixed args for `SceneObject` on Grasshopper `Draw` component.
* Replaced use of `Rhino.Geometry.VertexColors.SetColors` with a for loop and `SetColor` in `compas_ghpyton` since the former requires a `System.Array`.
* Fixed `Mesh.face_circle`.

Removed

2.4.1

Added

Changed

* Changed supported Blender versions to latest LTS versions (3.3, 3.6, 4.2).
* Fixed bug in `compas_rhino.conversions.cone_to_compas`.
* Fixed bug in `compas_rhino.conversions.cylinder_to_compas`.
* Fixed bug in `compas_rhino.scene.RhinoMeshObject.draw_vertexnormals` (scale not used).
* Fixed bug in `compas_rhino.scene.RhinoMeshObject.draw_facenormals` (scale not used).
* Changed scene object registration to stop printing messages.

Removed

Page 1 of 21

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.