Compas

Latest version: v2.1.1

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

Scan your dependencies

Page 1 of 19

2.1.1

Added

* Added `compas.geometry.Line.point_from_start` and `compas.geometry.Line.point_from_end`.
* Added `compas.geometry.Line.flip` and `compas.geometry.Line.flipped`.
* Added an `compas.geometry.Frame.interpolate_frame(s)` method
* Added `compas.colors.Color.contrast`.
* Added `compas.geometry.Brep.from_plane`.
* Added `compas.tolerance.Tolerance.angulardeflection`.
* Added `compas.tolerance.Tolerance.update_from_dict`.
* Added `compas.scene.SceneObject.scene` attribute.

Changed

* Changed and update the `compas_view2` examples into `compas_viewer`.
* Changed and updated the `compas_view2` examples into `compas_viewer`.
* Changed `compas.scene.Scene` to inherent from `compas.datastructrues.Tree`.
* Changed `compas.scene.SceneObject` to inherent from `compas.datastructrues.TreeNode`.
* Changed `compas.geoemetry._core.predicates_3` bug fix in `is_coplanar` while loop when there are 4 points.
* Changed to implementation of `Mesh.unify_cycles` to use the corresponding function of `compas.topology.orientation`.
* Fixed bug in `compas.topology.orientation.unify_cycles`.
* Fixed bug in `Mesh.thickened`.
* Fixed various bugs in `compas.geometry.Quaternion`.
* Changed repo config to `pyproject.toml`.
* Fixed broken import in `copas.geometry.trimesh_smoothing_numpy`.
* Changed `RhinoBrep.trimmed` to return single result or raise `BrepTrimmingError` instead of returning a list.
* Changed order of imports according to `isort` and changed line length to `179`.
* Changed use of `compas.geometry.allclose` to `compas.tolerance.TOL.is_allclose`.
* Changed use of `compas.geometry.close` to `compas.tolerance.TOL.is_close`.
* Changed imports of itertools to `compas.itertools` instead of `compas.utilities`.
* Changed `compas.tolerance.Tolerance` to a singleton, to ensure having only library-wide tolerance values.
* Updated `compas_rhino.conversions.point_to_compas` to allow for `Rhino.Geometry.Point` as input.
* Changed `compas.datastructures.Tree.print_hierarchy` to `compas.datastructures.Tree.__str__`.
* Fixed `compas.geometry.bbox_numpy.minimum_volume_box` to avoid `numpy.linalg.LinAlgError`.

Removed

* Removed `compas.scene.SceneObjectNode`, functionalities merged into `compas.scene.SceneObject`.
* Removed `compas.scene.SceneTree`, functionalities merged into `compas.scene.Scene`.
* Removed default implementation of `compas.geometry.trimesh_geodistance` since nonexistent.
* Removed `compas.utilities.geometric_key` and replaced it by `compas.tolerance.TOL.geometric_key`.
* Removed `compas.utilities.geometric_key_xy` and replaced it by `compas.tolerance.TOL.geometric_key_xy`.
* Removed indexed attribute access from all geometry classes except `Point`, `Vector`, `Line`, `Polygon`, `Polyline`.
* Removed `compas.datastructures.Tree.print_hierarchy`.

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.
* Changed `compas_rhino.conversions.average_color` return type `compas.colors.Color` instead of tuple.

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`.

Page 1 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.