Releases: compas-dev/compas
Releases · compas-dev/compas
COMPAS 2.11.0
Added
- Added
Group
tocompas.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.frame
to read-only result ofFrame.from_transformation(SceneObject.worldtransformation)
, representing the local coordinate system of the scene object in world coordinates. - Changed
SceneObject.worldtransformation
to 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_path
inGraph.shortest_path
. - Fixed a bug when printing an empty
Tree
. - Fixed a bug in
Group
for IronPython where the decoding declaration was missing. - Fixed a bug where a
Group
without name could not be added to the scene.
Removed
COMPAS 2.10.0
Added
- Added
flip
tocompas.geometry.Brep
. - Added implementation of
flip
tocompas_rhino.geometry.RhinoBrep
.
Changed
- Fixed unexpected behavior for method
Plane.is_parallel
for opposite normals.
Removed
COMPAS 2.9.1
Added
- Added method
frame_at
tocompas.geometry.BrepFace
. - Added method
frame_at
tocompas_rhino.geometry.RhinoBrepFace
. - Added property
is_reversed
tocompas.geometry.BrepFace
. - Added property
is_reversed
tocompas_rhino.geometry.RhinoBrepFace
.
Changed
- Fixed publish to YAK via CI workflow.
- Added selector for
test
andprod
to CI workflow. - Fixed
AttributeError
incompas.data.DataEncoder.default
due tonp.float_
no longer being available innumpy>=2
.
Removed
COMPAS 2.9.0
Added
- Added
DevTools
with 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
yakerize
task fromcompas_invocations2
. - Added import to new
publish_yak
task fromcompas_invocations2
.
Changed
- Moved
unload_modules
to be a static method ofDevTools
. Theunload_modules
function is an alias to this. - Fixed unexpected behavior in
compas.geometry.bbox_numpy.minimum_area_rectangle_xy
. - Changed
requirements.txt
to allownumpy>=2
. - Fixed bug in
compas.geometry.Polygon.points
setter by removing duplicate points if they exist. - Fixed bug in
compas.geometry.Polygon.plane
by 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_faces
to a counter clockwise cycling direction and outward facing normals for curved surfaces. - Deprecated the
-v8.0
flag incompas_rhino.install
. Install to Rhino8 by following: https://compas.dev/compas/latest/userguide/cad.rhino8.html. - Fixed
Info
Grasshopper component for cpython to handle non-bootstrapped environments.
Removed
COMPAS 2.8.1
Added
Changed
- Fixed
NotImplementedError
when callingcompas_rhino.conversions.surface_to_compas
on NURBS Surface. - Fixed
NotImplementedError
when callingcompas_rhino.conversions.surface_to_compas
on Surface. - Changed point comparison (
compas.geometry.Point.__eq__
) to useTOL.is_allclose
instead of raw coordinate comparison. - Changed vector comparison (
compas.geometry.Vector.__eq__
) to useTOL.is_allclose
instead 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
Line
usingdeepcopy
.
Removed
COMPAS 2.8.0
Added
- Added implementation of
RhinoBrep.fillet()
andRhinoBrep.filleted()
tocompas_rhino
. - Added
Frame.invert
andFrame.inverted
. - Added
Frame.flip
andFrame.flipped
as alias for invert and inverted. - Added
Vector.flip
andVector.flipped
as alias for invert and inverted.
Changed
- Fixed
native_edge
property ofRhinoBrepEdge
. - Expose the parameters
radius
andnmax
fromcompas.topology._face_adjacency
tocompas.topology.face_adjacency
and further propagate them tounify_cycles
andMesh.unify_cycles
. - Modify
face_adjacency
to avoid usingcompas.topology._face_adjacency
by default when there are more than 100 faces, unless one of the parametersradius
,nmax
is passed. - Changed
unify_cycles
to use the first face in the list as root if no root is provided.
Removed
COMPAS 2.7.0
Added
- Added attribute
start_vertex
tocompas.geometry.BrepTrim
. - Added attribute
end_vertex
tocompas.geometry.BrepTrim
. - Added attribute
vertices
tocompas.geometry.BrepTrim
. - Added attribute
start_vertex
tocompas_rhino.geometry.RhinoBrepTrim
. - Added attribute
start_vertex
tocompas_rhino.geometry.RhinoBrepTrim
. - Added attribute
vertices
tocompas_rhino.geometry.RhinoBrepTrim
.
Changed
- Fixed
PluginNotInstalledError
when usingBrep.from_boolean_*
in Rhino. - Added support for
Polyline
as 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.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 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_halfface
because 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=False
tocompas.data.Data.to_json()
tocompas.data.Data.to_jsonstring()
. - Added
copy_guid=False
tocompas.data.Data.copy()
. If true, the copy has the same guid as the original. - Added implementation of
Brep.from_loft()
tocompas_rhino
.
Changed
- Fixed
RuntimeError
when usingcompas_rhino.unload_modules
in CPython`. - Fixed bug in
Box.scaled
causing aTypeError
due to incorrect parameter forwarding. - Changed argument names of
Box.scale()
tox
,y
,z
, instead offactor
and madey
andz
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.