Releases: compas-dev/compas
Releases · compas-dev/compas
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.
Removed
COMPAS 2.7.0
Added
- Added attribute
start_vertextocompas.geometry.BrepTrim. - Added attribute
end_vertextocompas.geometry.BrepTrim. - Added attribute
verticestocompas.geometry.BrepTrim. - Added attribute
start_vertextocompas_rhino.geometry.RhinoBrepTrim. - Added attribute
start_vertextocompas_rhino.geometry.RhinoBrepTrim. - Added attribute
verticestocompas_rhino.geometry.RhinoBrepTrim.
Changed
- Fixed
PluginNotInstalledErrorwhen usingBrep.from_boolean_*in Rhino. - Added support for
Polylineas input forcompas_rhino.Brep.from_extrusion.
Removed
COMPAS 2.6.1
Added
Changed
- Fixed bug in
compas_rhino.scene.RhinoMeshObject.clear().
Removed
COMPAS 2.6.0
Added
- Added key conversion map to
compas.colors.ColorDictto 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
NoneTypeerror when callingcompas.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_halffacebecause of general nonsensicalness, and because it is (and probably always has been) completely broken.
COMPAS 2.5.0
Added
- Added instructions for creating new data types to the dev guide.
- Added
compact=False,minimal=Falsetocompas.data.Data.to_json()tocompas.data.Data.to_jsonstring(). - Added
copy_guid=Falsetocompas.data.Data.copy(). If true, the copy has the same guid as the original. - Added implementation of
Brep.from_loft()tocompas_rhino.
Changed
- Fixed
RuntimeErrorwhen usingcompas_rhino.unload_modulesin CPython`. - Fixed bug in
Box.scaledcausing aTypeErrordue to incorrect parameter forwarding. - Changed argument names of
Box.scale()tox,y,z, instead offactorand madeyandzoptional to keep positional arguments backwards compatible. - Fixed import errors in
compas_rhino.conduitsfor Rhino 8. - Fixed doctest failures.
- Fixed bug in serialization when
compas.datastructures.attributes.AttributeViewis used. - Fixed bug in the serialisation of empty scenes.
- Fixed bug in serialisation process due to
nameattribute appearing in json representation after copy even if not present before copy.
Removed
COMPAS 2.4.3
Added
Changed
- Fixed support for
compas_gpythonin Rhino 8 Grasshopper CPython components. - Fixed
Graph.from_edgesalways returningNone.
Removed
- Removed deprecated module
compas_ghpython.utilities. For drawing functions, usecompas_ghpython.drawingdirectly.
COMPAS 2.4.2
Added
- Added
compas.scene.Scene.find_by_nameto find the first scene object with the given name. - Added
compas.scene.Scene.find_by_itemtypeto find the first scene object with a data item of the given type.
Changed
- Fixed args for
SceneObjecton GrasshopperDrawcomponent. - Replaced use of
Rhino.Geometry.VertexColors.SetColorswith a for loop andSetColorincompas_ghpytonsince the former requires aSystem.Array. - Fixed
Mesh.face_circle.
Removed
COMPAS 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
COMPAS 2.4.0
Added
- Added
compas.scene.Scene.redraw. - Added
compas.scene.Scene.context_objectsrepresenting all objects drawn in the visualisation context by the scene. - Added
compas.scene.Scene.clear_contextwith optionalguidsto clear some or all objects from the visualisation context. - Added
clear_sceneandclear_contextparameters tocompas.scene.Scene.clearto differentiate between removing objects from the scene internally or removing corresponding objects from the viz context, or both (default). - Added
compas_rhino.conversions.extrusion_to_compas_boxas direct conversion of extrusion breps.
Changed
- Changed the
__str__ofcompas.geometry.Frame,compas.geometry.Plane,compas.geometry.Polygon,compas.geometry.Polyhedron,compas.geometry.Quaternionto use a limited number of decimals (determined byTolerance.PRECISION). Note:__repr__will instead maintain full precision. - Changed the
__str__ofcompas.geometry.Pointcloudto print total number of points instead of the long list of points. Note:__repr__will still print all the points with full precision. - Fixed bug in
Pointcloud.from_box(). - Changed
compas.scene.MeshObjectto not use vertex coordinate caching because it is too fragile. - Changed
compas_rhino.scene.RhinoMeshObjectto keep track of element-guid pairs in dicts. - Changed
compas.scene.Scene._guidsto a default value of[]. - Fixed bug due to missing import in
compas_rhino.scene.graphobject. - Changed
compas_rhino.scene.RhinoMeshObject.draw_vertexnormalsto use the same selection of vertices asdraw_vertices. - Changed
compas_rhino.scene.RhinoMeshObject.draw_vertexnormalsto use the corresponding vertex color if no color is specified. - Changed
compas_rhino.scene.RhinoMeshObject.draw_facenormalsto use the same selection of vertices asdraw_faces. - Changed
compas_rhino.scene.RhinoMeshObject.draw_facenormalsto use the corresponding face color if no color is specified.