Compas

Latest version: v2.1.0

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

Scan your dependencies

Page 1 of 19

2.1.0

Added

* Added optional argument `cap_ends` to `Brep.from_extrusion()`.
* Added implementation in `RhinoBrep.from_extrusion()`.
* Added `max_depth` to `compas.datastructures.Tree.print_hierarchy()`.
* Added `compas.datastructures.Tree.to_graph()`.

Changed

* Changed `compas.datastructures.TreeNode` to skip serialising `attributes`, `name` and `children` if being empty.
* Changed `compas.datastructures.TreeNode.__repr__` to omit `name` if `None`.
* Fix bug in `compas_rhino.geometry.NurbsCurve.from_parameters` and `compas_rhino.geometry.NurbsCurve.from_points` related to the value of the parameter `degree`.
* Changed `compas.scene.descriptors.ColorDictAttribute` to accept a `compas.colors.ColorDict` as value.
* Changed `compas_rhino.scene.RhinoMeshObject.draw` to preprocess vertex and face color dicts into lists.
* Changed `compas_rhino.conversions.vertices_and_faces_to_rhino` to handle vertex color information correctly.

Removed

2.0.4

Added

Changed

* Fixed bug in `compas_rhino.scene`.

Removed

2.0.3

Added

* Added `compas.linalg`.
* Added `compas.matrices`.
* Added `compas.itertools`.
* Added `compas_rhino.scene.helpers`.
* Added `compas.scene.SceneObject.contrastcolor`.

Changed

* Fixed bug in `compas.geometry.oriented_bounding_box_numpy` to support points in plane.
* Changed `compas_rhino.scene.RhinoSceneObject` to pass on positional arguments.
* Changed `compas_rhino.scene.RhinoBoxObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoBrepObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoCapsuleObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoCircleObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoConeObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoCurveObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoCylinderObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoEllipseObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoFrameObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoGraphObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoLineObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoMeshObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoPlaneObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoPointObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoPolygonObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoPolyhedronObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoPolylineObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoSphereObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoSurfaceObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoTorusObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoVectorObject.draw` to use attributes only.
* Changed `compas_rhino.scene.RhinoVolMeshObject.draw` to use attributes only.

Removed

* Removed `compas.geometry.linalg`.
* Removed `compas.topology.matrices`.
* Removed `compas.utilities.itertools`.

2.0.2

Added

* Added Blender paths for Windows.
* Added `compas_rhino.print_python_path`.
* Added `compas_blender.print_python_path`.

Changed

* Fixed bug in `compas.tolerange.Tolerance.format_number()` related to IronPython environment.

Removed

2.0.1

Added

* Added pluggable `compas.geometry.surfaces.nurbs.new_nurbssurface_from_native`.
* Added `compas.geometry.NurbsSurface.from_native`.
* Added plugin `compas_rhino.geometry.surfaces.new_nurbssurface_from_plane`.

Changed

* Fixed bug in `compas_blender.clear`.
* Fixed bug in `compas_rhino.conversions.surface_to_compas`.
* Fixed bug in `compas_rhino.conversions.surface_to_compas_mesh`.
* Fixed bug in `compas_rhino.conversions.surface_to_compas_quadmesh`.
* Fixed bug in plugin `compas_rhino.geometry.curves.new_nurbscurve_from_native`.
* Fixed bug in plugin `compas_rhino.geometry.surfaces.new_nurbssurface_from_native`.

Removed

* Removed plugin `compas_rhino.geometry.surfaces.new_surface_from_plane`.

2.0.0

Added

* Added `group` attribute to `compas_rhino.scene.RhinoSceneObject`.
* Added `_guid_mesh`, `_guids_vertices`, `_guids_edges`, `_guids_faces`, `_guids_vertexlabels`, `_guids_edgelables`, `_guids_facelabels`, `_guids_vertexnormals`, `_guids_facenormals`, `_guids_spheres`, `_guids_pipes`, `disjoint` attributes to `compas_rhino.scene.MeshObject`.
* Added `_guids_nodes`, `_guids_edges`, `_guids_nodelabels`, `_guids_edgelables`, `_guids_spheres`, `_guids_pipes` attributes to `compas_rhino.scene.GraphObject`.
* Added `_guids_vertices`, `_guids_edges`, `_guids_faces`, `_guids_cells`, `_guids_vertexlabels`, `_guids_edgelables`, `_guids_facelabels`, `_guids_celllabels`, `disjoint` attributes to `compas_rhino.scene.MeshObject`.
* Added test for `compas.scene.Scene` serialisation.

Changed

* Changed `compas.scene.Mesh`'s `show_vertices`, `show_edges`, `show_faces` to optionally accept a sequence of keys.
* Changed `compas.scene.Graph`'s `show_nodes`, `show_edges` to optionally accept a sequence of keys.
* Changed `compas.scene.VolMesh`'s `show_vertices`, `show_edges`, `show_faces`, `show_cells` to optionally accept a sequence of keys.
* Fixed missing implementation of `Sphere.base`.
* Fixed bug in `intersection_sphere_sphere`.

Removed

* Removed kwargs from `compas_rhino.scene.MeshObject.draw`.
* Removed kwargs from `compas_rhino.scene.GraphObject.draw`.
* Removed kwargs from `compas_rhino.scene.VolMeshObject.draw`.

Page 1 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.