Releases: compas-dev/compas
Releases · compas-dev/compas
COMPAS 2.14.1
Added
Changed
- Fixed bug in
compas_rhino.scene.meshobject.RhinoMeshObjectrelated to missing object name.
Removed
COMPAS 2.14.0
Added
- Implemented
to_pointsmethod incompas.datastructures.Mesh, which before raised aNotImplementedError. - Implemented
compute_aabbmethod incompas.datastructures.Datastructure, which before raised aNotImplementedError. Made use of thecompas.geometry.bbox.bounding_boxfunction. - Implemented
compute_obbmethod incompas.datastructures.Datastructure, which before raised aNotImplementedError. Made use of thecompas.geometry.bbox_numpy.oriented_bounding_box_numpyfunction. - Added
vertices_to_pointsmethod incompas.datastructures.CellNetwork. - Added
to_pointsmethod incompas.datastructures.VolMesh. - Added test function
test_vertices_to_pointsintest_cell_network.py. - Added test function
test_to_pointsintest_graph.py. - Added test function
test_to_pointsintest_volmesh.py. - Added test functions
test_to_points,test_compute_aabb, andtest_compute_obbintest_mesh.py. - Added setters for
SceneObject.worldtransformationandSceneObject.frame, which automatically handles the parent transformations. - Added missing property
centroidincompas_rhino.geometry.RhinoBrep. - Added missing property
curvesincompas_rhino.geometry.RhinoBrep. - Added missing property
is_closedincompas_rhino.geometry.RhinoBrep. - Added missing property
is_orientableincompas_rhino.geometry.RhinoBrep. - Added missing property
is_surfaceincompas_rhino.geometry.RhinoBrep. - Added missing property
is_validincompas_rhino.geometry.RhinoBrep. - Added missing property
orientationincompas_rhino.geometry.RhinoBrep. - Added missing property
surfacesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_sweepincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_coneincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_planeincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_brepfacesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_brepsincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_torusincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_polygonsincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_pipeincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_igesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.to_stepincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.to_viewmesh()incompas_rhino.geometry.RhinoBrep.
Changed
- Fixed bug (inconsistency) in return value of
compas.geometry.triangulation_delaunay.delaunay_triangulation. Only the faces of the triangulation should be returned.
Removed
- Removed property
is_compoundfromcompas.geometry.Brepas OCC specific. - Removed property
is_compoundsolidfromcompas.geometry.Brepas OCC specific. - Removed property
solidsfromcompas.geometry.Brepas OCC specific. - Removed property
shellsfromcompas.geometry.Brepas OCC specific.
COMPAS 2.13.0
Added
- Added
compas.scene.Scene.add_group()for adding group. - Added
compas.scene.Group.add_from_list()for adding a list of items to a group. - Added implementation for
compas.geometry.SphericalSurface.isocurve_u. - Added implementation for
compas.geometry.SphericalSurface.isocurve_v. - Added implementation for
compas.geometry.CylindricalSurface.isocurve_u. - Added implementation for
compas.geometry.CylindricalSurface.isocurve_v.
Changed
- Fixed error in
circle_to_compasfrom Rhino. - Fixed Rhino to Rhino brep serialization.
- Upated
compas.scene.Group.add()to pass on group kwargs as default for child items. - Fixed bug in context detection, which wrongly defaults to
Viewerinstead ofNone. - Fixed bug in calculation of
compas.geometry.Polyhedron.edgesif geometry is computed using numpy. - Fixed bug in
Grpah.from_pointcloudwhich uses degree parameter wrongly.
Removed
COMPAS 2.12.0
Added
- Added
inheritancefield to__jsondump__ofcompas.datastructures.Datastructureto allow for deserialization to closest available superclass of custom datastructures.
Changed
Removed
COMPAS 2.11.0
Added
- Added
Grouptocompas.scene. - Added
compas.geometry.Brep.cap_planar_holes. - Added
compas_rhino.geometry.RhinoBrep.cap_planar_holes. - Added
compas.geometry.angle_vectors_projected. - Added
compas.geometry.Brep.from_curves. - Added
compas_rhino.geometry.RhinoBrep.from_curves.
Changed
- Changed
SceneObject.frameto read-only result ofFrame.from_transformation(SceneObject.worldtransformation), representing the local coordinate system of the scene object in world coordinates. - Changed
SceneObject.worldtransformationto the multiplication of all transformations from the scene object to the root of the scene tree, there will no longer be an additional transformation in relation to the object's frame. - Fixed call to
astar_shortest_pathinGraph.shortest_path. - Fixed a bug when printing an empty
Tree. - Fixed a bug in
Groupfor IronPython where the decoding declaration was missing. - Fixed a bug where a
Groupwithout name could not be added to the scene.
Removed
COMPAS 2.10.0
Added
- Added
fliptocompas.geometry.Brep. - Added implementation of
fliptocompas_rhino.geometry.RhinoBrep.
Changed
- Fixed unexpected behavior for method
Plane.is_parallelfor opposite normals.
Removed
COMPAS 2.9.1
Added
- Added method
frame_attocompas.geometry.BrepFace. - Added method
frame_attocompas_rhino.geometry.RhinoBrepFace. - Added property
is_reversedtocompas.geometry.BrepFace. - Added property
is_reversedtocompas_rhino.geometry.RhinoBrepFace.
Changed
- Fixed publish to YAK via CI workflow.
- Added selector for
testandprodto CI workflow. - Fixed
AttributeErrorincompas.data.DataEncoder.defaultdue tonp.float_no longer being available innumpy>=2.
Removed
COMPAS 2.9.0
Added
- Added
DevToolswith 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
yakerizetask fromcompas_invocations2. - Added import to new
publish_yaktask fromcompas_invocations2.
Changed
- Moved
unload_modulesto be a static method ofDevTools. Theunload_modulesfunction is an alias to this. - Fixed unexpected behavior in
compas.geometry.bbox_numpy.minimum_area_rectangle_xy. - Changed
requirements.txtto allownumpy>=2. - Fixed bug in
compas.geometry.Polygon.pointssetter by removing duplicate points if they exist. - Fixed bug in
compas.geometry.Polygon.planeby 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_facesto a counter clockwise cycling direction and outward facing normals for curved surfaces. - Deprecated the
-v8.0flag incompas_rhino.install. Install to Rhino8 by following: https://compas.dev/compas/latest/userguide/cad.rhino8.html. - Fixed
InfoGrasshopper component for cpython to handle non-bootstrapped environments.
Removed
COMPAS 2.8.1
Added
Changed
- Fixed
NotImplementedErrorwhen callingcompas_rhino.conversions.surface_to_compason NURBS Surface. - Fixed
NotImplementedErrorwhen callingcompas_rhino.conversions.surface_to_compason Surface. - Changed point comparison (
compas.geometry.Point.__eq__) to useTOL.is_allcloseinstead of raw coordinate comparison. - Changed vector comparison (
compas.geometry.Vector.__eq__) to useTOL.is_allcloseinstead 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
Lineusingdeepcopy.
Removed
COMPAS 2.8.0
Added
- Added implementation of
RhinoBrep.fillet()andRhinoBrep.filleted()tocompas_rhino. - Added
Frame.invertandFrame.inverted. - Added
Frame.flipandFrame.flippedas alias for invert and inverted. - Added
Vector.flipandVector.flippedas alias for invert and inverted.
Changed
- Fixed
native_edgeproperty ofRhinoBrepEdge. - Expose the parameters
radiusandnmaxfromcompas.topology._face_adjacencytocompas.topology.face_adjacencyand further propagate them tounify_cyclesandMesh.unify_cycles. - Modify
face_adjacencyto avoid usingcompas.topology._face_adjacencyby default when there are more than 100 faces, unless one of the parametersradius,nmaxis passed. - Changed
unify_cyclesto use the first face in the list as root if no root is provided.