COMPAS 2.0.0-beta.2
github-actions
released this
12 Jan 16:40
·
784 commits
to main
since this release
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
.