Releases: compas-dev/compas
Releases · compas-dev/compas
COMPAS 2.0.0
Added
- Added
group
attribute tocompas_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 tocompas_rhino.scene.MeshObject
. - Added
_guids_nodes
,_guids_edges
,_guids_nodelabels
,_guids_edgelables
,_guids_spheres
,_guids_pipes
attributes tocompas_rhino.scene.GraphObject
. - Added
_guids_vertices
,_guids_edges
,_guids_faces
,_guids_cells
,_guids_vertexlabels
,_guids_edgelables
,_guids_facelabels
,_guids_celllabels
,disjoint
attributes tocompas_rhino.scene.MeshObject
. - Added test for
compas.scene.Scene
serialisation.
Changed
- Changed
compas.scene.Mesh
'sshow_vertices
,show_edges
,show_faces
to optionally accept a sequence of keys. - Changed
compas.scene.Graph
'sshow_nodes
,show_edges
to optionally accept a sequence of keys. - Changed
compas.scene.VolMesh
'sshow_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
.
COMPAS 2.0.0-beta.4
Added
- Added
compas_rhino.objects
. - Added
compas_rhino.layers
. - Added
compas_rhino.install_with_pip
. - Added
before_draw
pluggable tocompas.scene.Scene.draw
. - Added
after_draw
pluggable tocompas.scene.Scene.draw
. - Added description in tutorial about
compas.scene.context
. - Added
compas_blender.data
. - Added
compas_blender.collections
. - Added
compas_blender.objects
. - Added
compas_rhino.ui
. - Added
compas_rhino.unload_modules
. - Added
compas_ghpython.unload_modules
. - Added
compas_ghpython.sets
. - Added
compas_ghpython.timer
.
Changed
- Changed
compas.tolerance.Tolerance
into singleton. - Changed
compas_rhino.geometry.curves.nursb.RhinoNurbsCurve
to use private data API. - Changed
compas_rhino.geometry.surfaces.nursb.RhinoNurbsSurface
to use private data API. - Changed
compas.scene.Scene.redraw
todraw
. - Fixed
register_scene_objects
not called when there is a context given in kwargs ofSceneObject
.
Removed
- Removed
compas_blender.geometry.curves
. - Removed
compas_rhino.utilities.objects
. - Removed
compas_rhino.utilities.layers
. - Removed
compas_rhino.utilities.constructors
. - Removed
compas_rhino.utilities.document
. - Removed
compas_rhino.utilities.geometry
. - Removed
compas_rhino.utilities.misc
. - Removed
compas_blender.utilities.data
. - Removed
compas_blender.utilities.collections
. - Removed
compas_blender.utilities.objects
. - Removed
compas_ghpython.utilities.sets
. - Removed
compas_ghpython.utilities.timer
.
v1.17.10
Added
Changed
- Fixed
ImportError
when whenscipy==1.12.0
is installed.
Removed
COMPAS 2.0.0-beta.3
Added
- Added
compas.dtastructures.Network
as alias ofcompas.datastructures.Graph
. - Added
compas.data.Data.name
and included it in serialisation in casecompas.data.Data._name is not None
.
Changed
- Merged
compas.datastructures.Halfedge
intocompas.datastructures.Mesh
. - Merged
compas.datastructures.Network
intocompas.datastructures.Graph
. - Merged
compas.datastructures.Halfface
intocompas.datastructures.VolMesh
. - Fixed
RhinoBrep
doesn't get capped after trimming. - Changed
compas.data.Data.data
tocompas.data.Data.__data__
. - Changed
compas.data.Data.dtype
tocompas.data.Data.__dtype__
. - Changed
compas.data.Data.from_data
tocompas.data.Data.__from_data__
.
Removed
- Removed
compas.datastructures.Network
. - Removed
compas.datastructures.Halfedge
. - Removed
compas.datastructures.Halfface
. - Removed
compas.data.Data.attributes
. - Removed
compas.data.Datastructure.attributes
. - Removed
attributes
fromcompas.datastructures.Assembly.data
. - Removed
attributes
fromcompas.datastructures.CellNetwork.data
. - Removed
attributes
fromcompas.datastructures.Graph.data
. - Removed
attributes
fromcompas.datastructures.Mesh.data
. - Removed
attributes
fromcompas.datastructures.Tree.data
. - Removed
attributes
fromcompas.datastructures.VolMesh.data
. - Removed
compas.data.Data.to_data
. - Removed
compas.rpc.XFunc
.
COMPAS 2.0.0-beta.2
Added
- Added
viewerinstance
incompas.scene.Scene
to support viewers context detection. - Added
compas_rhino8
as starting point for Rhino8 support. - Added
compas.scene.SceneObjectNode
. - Added
compas.scene.SceneTree
. - Added
compas.scene.SceneObject.node
. - Added
compas.scene.SceneObject.frame
. - Added
compas.scene.SceneObject.worldtransformation
. - Added
compas.scene.SceneObject.parent
. - Added
compas.scene.SceneObject.children
. - Added
compas.scene.SceneObject.add()
. - Added tutorial for
compas.datastructures.Tree
. - Added Serialisation capability to
compas.scene.Scene
. - Added
show
flag tocompas.scene.SceneObject
. - Added
show_points
flag tocompas.scene.GeometryObject
. - Added
show_lines
flag tocompas.scene.GeometryObject
. - Added
show_surfaces
flag tocompas.scene.GeometryObject
. - Added
show_vertices
flag tocompas.scene.MeshObject
. - Added
show_edges
flag tocompas.scene.MeshObject
. - Added
show_faces
flag tocompas.scene.MeshObject
. - Added
show_nodes
flag tocompas.scene.NetworkObject
. - Added
show_edges
flag tocompas.scene.NetworkObject
. - Added
show_vertices
flag tocompas.scene.VolMeshObject
. - Added
show_edges
flag tocompas.scene.VolMeshObject
. - Added
show_faces
flag tocompas.scene.VolMeshObject
. - Added
show_cells
flag tocompas.scene.VolMeshObject
. - Added
compas.data.Data.to_jsonstring
andcompas.data.Data.from_jsonstring
. - Added
compas.data.Data.attributes
. - Added optional param
working_directory
tocompas.rpc.Proxy
to be able to start services defined in random locations. - Added
compas.datastructures.Datastructure.transform
andcompas.datastructures.Datastructure.transformed
. - Added
compas.datastructures.Datastructure.transform_numpy
andcompas.datastructures.Datastructure.transformed_numpy
. - Added
compas.datastructures.Halfedge.flip_cycles
. - Added
compas.datastructures.Halfedge.is_connected
,compas.datastructures.Halfedge.connected_vertices
,compas.datastructures.Halfedge.connected_faces
. - Added
compas.datastructures.Mesh.join
. - Added
compas.datastructures.Mesh.weld
andcompas.datastructures.Mesh.remove_duplicate_vertices
. - Added
compas.datastructures.Mesh.quads_to_triangles
. - Added
compas.datastructures.Mesh.unify_cycles
. - Added
compas.datastructures.Mesh.aabb
andcompas.datastructures.Mesh.obb
. - Added
compas.datastructures.Mesh.offset
andcompas.datastructures.Mesh.thickened
. - Added
compas.datastructures.Mesh.exploded
. - Added
compas.datastructures.Mesh.adjacency_matrix
,compas.datastructures.Mesh.connectivity_matrix
,compas.datastructures.Mesh.degree_matrix
,compas.datastructures.Mesh.laplacian_matrix
. - Added
compas.topology.vertex_adjacency_from_edges
,compas.topology.vertex_adjacency_from_faces
,compas.topology.edges_from_faces
,compas.topology.faces_from_edges
. - Added
compas.datastructures.Network.split_edge
,compas.datastructures.Network.join_edges
. - Added
compas.datastructures.Network.smooth
. - Added
compas.datastructures.Network.is_crossed
,compas.datastructures.Network.is_xy
,compas.datastructures.Network.is_planar
,compas.datastructures.Network.is_planar_embedding
,compas.datastructures.Network.count_crossings
,compas.datastructures.Network.find_crossings
,compas.datastructures.Network.embed_in_plane
. - Added
compas.datastructures.Network.find_cycles
. - Added
compas.datastructures.Network.shortest_path
. - Added
compas.datastructures.Network.transform
. - Added
compas.datastructures.Graph.is_connected
. - Added
compas.datastructures.Graph.adjacency_matrix
,compas.datastructures.Graph.connectivity_matrix
,compas.datastructures.Graph.degree_matrix
,compas.datastructures.Graph.laplacian_matrix
.
Changed
- Changed the
__str__
ofcompas.geometry.Point
andcompas.geometry.Vector
to use a limited number of decimals (determined byTolerance.PRECISION
). Note:__repr__
will instead maintain full precision. - Changed
docs
Workflow to only be triggered on review approval in pull requests. - Changed
draw
implementations ofcompas.scene.SceneObject
to always use theworldtransformation
of theSceneObject
. - Fixed typo in name
Rhino.Geometry.MeshingParameters
incompas_rhino.geometry.RhinoBrep.to_meshes()
. - Fixed
TypeErrorException
when serializing aMesh
which has been converted from Rhino. - Fixed color conversions in
compas_rhion.conversions.mesh_to_compas
. - Changed
compas.data.Data.name
to be stored incompas.data.Data.attributes
. - Changed
compas.data.Data.__jsondump__
to includecompas.data.Data.attributes
if the dict is not empty. - Changed
compas.data.Data.__jsonload__
to updatecompas.data.Data.attributes
if the attribute dict is provided. - Changed
compas.datastructures.Graph
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Network
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Halfedge
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Mesh
to take additional**kwargs
, instead of onlyname=None
specifically. - Moved registration of
ping
andremote_shutdown
of the RPC server tocompas.rpc.Server.__init__()
. - Moved
FileWatcherService
tocompas.rpc.services.watcher
so it can be reused. - Changed
compas.datastructures.Mesh.subdivide
tocompas.datastructures.Mesh.subdivided
. - Moved
compas.numerical.pca_numpy
tocompas.geometry.pca_numpy
. - Moved
compas.numerical.scalafield_contours
tocompas.geometry.scalarfield_contours
. - Moved
compas.numerical.matrices
tocompas.topology.matrices
. - Moved
compas.numerical.linalg
tocompas.geometry.linalg
. - Changed
watchdog
dependency to be only required for platforms other thanemscripten
. - Changed
compas.geometry.earclip_polygon
algorithm because the current one does not handle several cases.
Removed
- Removed
compas_rhino.forms
. Forms will be moved tocompas_ui
. - Removed
compas.datastructures.Datastructure.attributes
andcompas.datastructures.Datastructure.name
(moved tocompas.data.Data
). - Removed
attributes
fromcompas.datastructures.Graph.data
. - Removed
attributes
fromcompas.datastructures.Network.data
. - Removed
attributes
fromcompas.datastructures.Halfedge.data
. - Removed
attributes
fromcompas.datastructures.Mesh.data
. - Removed
compas.datastructures.mesh_bounding_box
andcompas.datastructures.mesh_bounding_box_xy
. - Removed
compas.datastructures.mesh_oriented_bounding_box_numpy
andcompas.datastructures.mesh_oriented_bounding_box_xy_numpy
. - Removed
compas.datastructures.mesh_delete_duplicate_vertices
. - Removed
compas.datastructures.mesh_is_connected
andcompas.datastructures.mesh_connected_components
. - Removed
compas.datastructures.mesh_isolines_numpy
andcompas.datastructures.mesh_contours_numpy
. - Removed
compas.datastructures.trimesh_gaussian_curvature
. - Removed
compas.datastructures.trimesh_descent
. - Removed
compas.datastructures.mesh_disconnected_vertices
,compas.datastructures.mesh_disconnected_faces
andcompas.datastructures.mesh_explode
. - Removed
compas.datastructures.mesh_geodesic_distances_numpy
. - Removed
compas.datastructures.trimesh_face_circle
. - Removed
compas.datastructures.mesh_weld
,compas.datastructures.meshes_join
,compas.datastructures.meshes_join_and_weld
. - Removed
compas.datastructures.mesh_offset
andcompas.datastructures.mesh_thicken
. - Removed
compas.datastructures.mesh_face_adjacency
andcompas.datastructures.mesh_unify_cycles
. - Removed
compas.datastructures.mesh_transform
,compas.datastructures.mesh_transformed
,compas.datastructures.mesh_transform_numpy
,compas.datastructures.mesh_transformed_numpy
. - Removed
compas.datastructures.mesh_quads_to_triangles
. - Removed
compas.datastructures.volmesh_bounding_box
. - Removed
compas.datastructures.volmesh_transform
andcompas.datastructures.volmesh_transformed
. - Removed
compas.topology.unify_cycles_numpy
andcompas.topology.face_adjacency_numpy
. - Removed
compas.topology.unify_cycles_rhino
andcompas.topology.face_adjacency_rhino
. - Removed
compas.datastructures.network_is_connected
. - Removed
compas.datastructures.network_complement
. - Removed
compas.datastructures.network_disconnected_nodes
,compas.datastructures.network_disconnected_edges
,compas.datastructures.network_explode
. - Removed
compas.datastructures.network_adjacency_matrix
,compas.datastructures.network_connectivity_matrix
,compas.datastructures.network_degree_matrix
,compas.datastructures.network_laplacian_matrix
. - Removed
compas.datastructures.network_transform
,compas.datastructures.network_transformed
. - Removed
compas.datastructures.network_shortest_path
. - Removed
compas.numerical
.
COMPAS 2.0.0-beta.1
Added
- Added
compas.geometry.Box.to_brep()
. - Added
compas.geometry.Cone.to_brep()
. - Added
compas.geometry.Cylinder.to_brep()
. - Added
compas.geometry.Sphere.to_brep()
. - Added
compas.geometry.Torus.to_brep()
. - Added
compas.brep.Brep.from_iges()
. - Added
compas.brep.Brep.to_iges()
. - Added
compas.tolerance
. - Added
compas.tolerance.Tolerance
. - Added
compas.tolerance.Tolerance.ABSOLUTE
andcompas.tolerance.Tolerance.absolute
. - Added
compas.tolerance.Tolerance.RELATIVE
andcompas.tolerance.Tolerance.relative
. - Added
compas.tolerance.Tolerance.ANGULAR
andcompas.tolerance.Tolerance.angular
. - Added
compas.tolerance.Tolerance.APPROXIMATION
andcompas.tolerance.Tolerance.approximation
. - Added
compas.tolerance.Tolerance.PRECISION
andcompas.tolerance.Tolerance.precision
. - Added
compas.tolerance.Tolerance.LINEARDEFLECTION
andcompas.tolerance.Tolerance.lineardeflection
. - Added
compas.tolerance.Tolerance.is_zero
. - Added
compas.tolerance.Tolerance.is_positive
. - Added
compas.tolerance.Tolerance.is_negative
. - Added
compas.tolerance.Tolerance.is_between
. - Added
compas.tolerance.Tolerance.is_angle_zero
. - Added
compas.tolerance.Tolerance.is_close
. - Added
compas.tolerance.Tolerance.is_allclose
. - Added
compas.tolerance.Tolerance.is_angles_close
. - Added
compas.tolerance.Tolerance.geometric_key
. - Added
compas.tolerance.Tolerance.format_number
. - Added
compas.tolerance.Tolerance.precision_from_tolerance
. - Added
compas.scene.Scene
. - Added
compas.json_loadz()
andcompas.json_dumpz()
to support ZIP compressed JSON files. - Added
compas.datastructures.assembly.delete_part()
. - Added
compas.datastructures.assembly.delete_connection()
. - Added
compas.geometry.Brep.from_breps()
. - Added
compas.geometry.Brep.from_planes()
. - Added
compas.geometry.Brep.to_iges()
. - Added
compas.geometry.Brep.to_meshes()
. - Added
compas.geometry.Brep.to_polygons()
. - Added
compas.geometry.Brep.to_stl()
. - Added
compas.geometry.Brep.heal()
. - Added
compas.geometry.Brep.edge_faces()
. - Added
compas.geometry.Brep.edge_loop()
. - Added
compas.geometry.Brep.fillet()
. - Added
compas.geometry.Brep.filleted()
. - Added
compas.geometry.BrepFilletError
. - Added
compas.geometry.Brep.is_shell
. - Added
compas.geometry.Brep.contains()
. - Added
compas.geometry.BrepFace.adjacent_faces()
. - Added
compas_rhino.geometry.RhinoBrep.is_manifold
. - Added
compas_rhino.geometry.RhinoBrep.contains()
. - Added
compas_rhino.geometry.RhinoBrepFace.adjacent_faces()
. - Added
compas_rhino.geometry.RhinoBrepFace.as_brep()
. - Added
compas.geometry.BrepEdge.orientation
. - Added
compas.geometry.BrepEdge.type
. - Added
compas.geometry.BrepEdge.length
. - Added
compas.geometry.BrepFace.type
. - Added
compas.geometry.BrepFace.add_loop()
. - Added
compas.geometry.BrepFace.add_loops()
. - Added
compas.geometry.BrepFace.to_polygon()
with generic implementation. - Added
compas.geometry.BrepFace.try_get_nurbssurface()
. - Added
compas_rhino.geometry.RhinoBrepFace.area
. - Added
compas_rhino.geometry.RhinoBrepFace.centroid
. - Added
compas_rhino.geometry.RhinoBrepFace.edges
. - Added
compas_rhino.geometry.RhinoBrepFace.is_cone
. - Added
compas_rhino.geometry.RhinoBrepFace.is_cylinder
. - Added
compas_rhino.geometry.RhinoBrepFace.is_torus
. - Added
compas_rhino.geometry.RhinoBrepFace.is_sphere
. - Added
compas_rhino.geometry.RhinoBrepFace.nurbssurface
. - Added
compas_rhino.geometry.RhinoBrepFace.vertices
. - Added
compas_rhino.geometry.RhinoBrepLoop.trims
. - Added
compas_rhino.geometry.RhinoBrepEdge.length
. - Added
compas_rhino.geometry.RhinoBrepEdge.centroid
. - Added
compas.geometry.BrepFace.native_face
. - Added
compas.geometry.BrepEdge.native_edge
. - Added
compas.geometry.BrepLoop.native_loop
. - Added
compas.geometry.BrepTrim.native_trim
. - Added
compas.geometry.BrepVertex.native_vertex
. - Added
compas_rhino.geometry.RhinoBrepFace.native_face
. - Added
compas_rhino.geometry.RhinoBrepEdge.native_edge
. - Added
compas_rhino.geometry.RhinoBrepLoop.native_loop
. - Added
compas_rhino.geometry.RhinoBrepTrim.native_trim
. - Added
compas_rhino.geometry.RhinoBrepVertex.native_vertex
. - Added
color
,opacity
attributes tocompas.scene.SceneObject
. - Added
pointcolor
,linecolor
,surfacecolor
,pointsize
,linewidth
attributes tocompas.scene.GeometryObject
. - Added
compas_rhino.geometry.brep.RhinoBrep.to_meshes()
. - Added
compas_blender.
Changed
- Changed
compas.geometry.NurbsSurface.u_space
tospace_u
. - Changed
compas.geometry.NurbsSurface.v_space
tospace_v
. - Changed
compas.geometry.NurbsSurface.u_isocurve
toisocurve_u
. - Changed
compas.geometry.NurbsSurface.v_isocurve
toisocurve_v
. - Changed
compas.brep.Brep.from_step_file
tofrom_step
. - Moved
compas.brep
tocompas.geometry.brep
. - Updated
compas-actions.docs
workflow tov3
. Artists
classes are renamed toSceneObject
classes and now undercompas.scene
,compas_rhino.scene
,compas_ghpython.scene
,compas_blender.scene
.- Context related functions like
register
,build
,redraw
andclear
are moved tocompas.scene.context
fromcompas.scene.SceneObject
. - Changed plugin selection to fall back to a default implementation if possible.
- Fixed
AttributeError
_edges
incompas_rhino.geometry.RhinoBrepLoop.edges
. - Fixed
compas_rhino.geometry.RhinoBrep
serialization. - Naming convention for
ColorDictAttributes
incompas.scene.MeshObject
,compas.scene.NetworkObject
andcompas.scene.VolmeshObject
is changed e.g. fromvertex_color
tovertexcolor
. - The building of correct type of
SceneObject
is moved backed to__new__
ofSceneObject
itself. - Changed
compas_blender.install
to use symlinks. - Moved
URDF
parsing fromcompas.files
to thecompas_robots
extension (compas_robots.files.URDF
).
Removed
- Removed
compas_rhino.geometry.RhinoBrepFace.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepEdge.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepLoop.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepTrim.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepVertex.data.setter
. - Removed
compas.PRECISION
. - Removed
compas.set_precision
.
v1.17.9
Added
Changed
Removed
COMPAS 2.0.0-alpha.2
Added
- Added
Frame.axes
- Added
compas.datastructures.TreeNode
andcompas.datastructures.Tree
classes. - Added
EllipseArtist
tocompas_rhino
andcompas_ghpython
.
Changed
- Changed
Network.is_planar
to rely onNetworkX
insteadplanarity
for planarity checking. - Removed
planarity
from requirements. - Fixed argument order at
compas.geometry.cone.circle
. - Pinned
jsonschema
version to >=4.17, <4.18 to avoid Rust toolchain - Fixed
box_to_compas
incompas_rhino.conversions
to correctly take in the center of the box as the center point of the frame. - Removed
cython
from requirements. - Made X and Y axis optional in the constructor of
Frame
. - Moved
compas.geometry.brep
tocompas.brep
. - Changed
networkx
version to>=3.0
to ensure support foris_planar
. - Moved
compas.geometry.curves.nurbs_.py
andcompas.geometry.surfaces.nurbs_.py
tocompas_nurbs
.
Removed
v1.17.8
Added
Changed
- Pinned
jsonschema
version to >=4.17, <4.18 to avoid Rust toolchain
Removed
v1.17.7
Added
Changed
- Fixed
SyntaxError
when importing COMPAS in GHPython.