COMPAS 2.0.0-alpha.1
Pre-release
Pre-release
·
1506 commits
to main
since this release
Added
- Added
create_idtocompas_ghpython.utilities. (moved fromcompas_fab) - Added representation for features in
compas.datastructures.Part. - Added
splitandsplit_by_lengthtocompas.geometry.Polyline. - Added
compas.rpc.XFunc. - Added attribute
compas.color.Color.DATASCHEMA. - Added attribute
compas.data.Data.DATASCHEMA. - Added attribute
compas.datastructures.Graph.DATASCHEMA. - Added attribute
compas.datastructures.Halfedge.DATASCHEMA. - Added attribute
compas.datastructures.Halfface.DATASCHEMA. - Added attribute
compas.geometry.Arc.DATASCHEMA. - Added attribute
compas.geometry.Bezier.DATASCHEMA. - Added attribute
compas.geometry.Box.DATASCHEMA. - Added attribute
compas.geometry.Capsule.DATASCHEMA. - Added attribute
compas.geometry.Circle.DATASCHEMA. - Added attribute
compas.geometry.Cone.DATASCHEMA. - Added attribute
compas.geometry.Cylinder.DATASCHEMA. - Added attribute
compas.geometry.Ellipse.DATASCHEMA. - Added attribute
compas.geometry.Frame.DATASCHEMA. - Added attribute
compas.geometry.Line.DATASCHEMA. - Added attribute
compas.geometry.NurbsCurve.DATASCHEMA. - Added attribute
compas.geometry.NurbsSurface.DATASCHEMA. - Added attribute
compas.geometry.Plane.DATASCHEMA. - Added attribute
compas.geometry.Point.DATASCHEMA. - Added attribute
compas.geometry.Pointcloud.DATASCHEMA. - Added attribute
compas.geometry.Polygon.DATASCHEMA. - Added attribute
compas.geometry.Polyhedron.DATASCHEMA. - Added attribute
compas.geometry.Polyline.DATASCHEMA. - Added attribute
compas.geometry.Sphere.DATASCHEMA. - Added attribute
compas.geometry.Torus.DATASCHEMA. - Added attribute
compas.geometry.Quaternion.DATASCHEMA. - Added attribute
compas.geometry.Vector.DATASCHEMA. - Added implementation of property
compas.color.Color.data. - Added
compas.data.Data.validate_data. - Added
compas.data.Data.__jsondump__. - Added
compas.data.Data.__jsonload__. - Added
compas.data.schema.dataclass_dataschema. - Added
compas.data.schema.dataclass_typeschema. - Added
compas.data.schema.dataclass_jsonschema. - Added
compas.data.schema.compas_jsonschema. - Added
compas.data.schema.compas_dataclasses. - Added
compas.datastructures.Graph.to_jsondata. - Added
compas.datastructures.Graph.from_jsondata. - Added
compas.datastructures.Halfedge.halfedge_loop_vertices. - Added
compas.datastructures.Halfedge.halfedge_strip_faces. - Added
compas.datastructures.Mesh.vertex_point. - Added
compas.datastructures.Mesh.vertices_points. - Added
compas.datastructures.Mesh.set_vertex_point. - Added
compas.datastructures.Mesh.edge_start. - Added
compas.datastructures.Mesh.edge_end. - Added
compas.datastructures.Mesh.edge_line. - Added
compas.datastructures.Mesh.face_points. - Added
compas.datastructures.Mesh.face_polygon. - Added
compas.datastructures.Mesh.face_circle. - Added
compas.datastructures.Mesh.face_frame. - Added
compas.datastructures.Graph.node_indexandcompas.datastructures.Graph.index_node. - Added
compas.datastructures.Graph.edge_indexandcompas.datastructures.Graph.index_edge. - Added
compas.datastructures.Halfedge.vertex_indexandcompas.datastructures.Halfedge.index_vertex. - Added
compas.geometry.Hyperbola. - Added
compas.geometry.Parabola. - Added
compas.geometry.PlanarSurface. - Added
compas.geometry.CylindricalSurface. - Added
compas.geometry.SphericalSurface. - Added
compas.geometry.ConicalSurface. - Added
compas.geometry.ToroidalSurface. - Added
compas.geometry.trimesh_descent_numpy. - Added
compas.geometry.trimesh_gradient_numpy. - Added
compas.geometry.boolean_union_polygon_polygonpluggable. - Added
compas.geometry.boolean_intersection_polygon_polygonpluggable. - Added
compas.geometry.boolean_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_union_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_intersection_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_difference_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonShapely-based plugin. - Added
compas.geometry.Pointcloud.from_ply. - Added
compas.geometry.Curve.to_points. - Added
compas.geometry.Curve.to_polyline. - Added
compas.geometry.Curve.to_polygon. - Added
compas.geometry.Surface.to_vertices_and_faces. - Added
compas.geometry.Surface.to_triangles. - Added
compas.geometry.Surface.to_quads. - Added
compas.geometry.Surface.to_mesh. - Added
compas.geometry.Curve.point_at. - Added
compas.geometry.Curve.tangent_at. - Added
compas.geometry.Curve.normal_at. - Added
compas.geometry.Surface.point_at. - Added
compas.geometry.Surface.normal_at. - Added
compas.geometry.Surface.frame_at. - Added
mesh_to_rhinotocompas_rhino.conversions. - Added
vertices_and_faces_to_rhinotocompas_rhino.conversions. - Added
polyhedron_to_rhinotocompas_rhino.conversions. - Added
from_meshplugin tocompas_rhino.geometry.RhinoBrep. - Added
compas.geometry.Plane.worldYZandcompas.geometry.Plane.worldZX. - Added
compas.datastructures.CellNetwork. - Added
compas_rhino.conversions.brep_to_compas_box. - Added
compas_rhino.conversions.brep_to_compas_cone. - Added
compas_rhino.conversions.brep_to_compas_cylinder. - Added
compas_rhino.conversions.brep_to_compas_sphere. - Added
compas_rhino.conversions.brep_to_rhino. - Added
compas_rhino.conversions.capsule_to_rhino_brep. - Added
compas_rhino.conversions.cone_to_rhino_brep. - Added
compas_rhino.conversions.curve_to_rhino. - Added
compas_rhino.conversions.cylinder_to_rhino_brep. - Added
compas_rhino.conversions.extrusion_to_compas_box. - Added
compas_rhino.conversions.extrusion_to_rhino_cylinder. - Added
compas_rhino.conversions.extrusion_to_rhino_torus. - Added
compas_rhino.conversions.polyline_to_rhino_curve. - Added
compas_rhino.conversions.surface_to_compas. - Added
compas_rhino.conversions.surface_to_compas_mesh. - Added
compas_rhino.conversions.surface_to_compas_quadmesh. - Added
compas_rhino.conversions.surface_to_rhino. - Added
compas_rhino.conversions.torus_to_rhino_brep. - Added
compas_rhino.artists._helpers.attributes. - Added
compas_rhino.artists._helpers.ngon. - Added
compas.geometry.find_span. - Added
compas.geometry.construct_knotvector. - Added
compas.geometry.knotvector_to_knots_and_mults. - Added
compas.geometry.knots_and_mults_to_knotvector. - Added
compas.geometry.compute_basisfuncs. - Added
compas.geometry.compute_basisfuncsderivs. - Added
compas.geometry.DefaultNurbsCurveas try-last, Python-only plugin forcompas.geometry.NurbsCurve. - Added
compas.geometry.DefaultNurbsSurfaceas try-last, Python-only plugin forcompas.geometry.NurbsSurface. - Added color count to constructor functions of
compas.colors.ColorMap.
Changed
- Temporarily skip testing for python 3.7 due to a bug related to MacOS 13.
- Fixed bug that caused a new-line at the end of the
compas.HEREconstant in IronPython for Mac. - Fixed unbound method usage of
.cross()onPlane,VectorandFrame. - Fixed Grasshopper
draw_polylinesmethod to returnPolylineCurveinstead ofPolylinebecause the latter shows as only points. - Fixed bug in the
is_polygon_in_polygon_xythat was not correctly generating all the edges of the second polygon before checking for intersections. - Fixed
area_polygonthat was, in some cases, returning a negative area. - Fixed uninstall post-process.
- Fixed support for
System.Decimaldata type on json serialization. - Fixed
offset_polygonraising a TypeError when inputing a Polygon instead of a list of Points. - Simplified
compas.datastructures.Partfor more generic usage. - Changed
GLTFMesh.from_meshto read texture coordinates, vertex normals and colors if available and add toGLTFMesh - Fixed bug in
VolMeshArtist.draw_cellsfor Rhino, Blender and Grasshopper. - Changed edge parameter of
compas.datastructures.Halfedge.edge_facesto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_faceto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.is_edge_on_boundaryto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_afterto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_beforeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentsto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_coordinatesto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_lengthto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_vectorto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_pointto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_midpointto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_directionto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.is_collapse_legalto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_collapse_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_collapse_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_insert_vertex_on_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_split_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_split_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_swap_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed
compas.datastructures.Mesh.vertex_laplacianto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.neighborhood_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.vertex_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_vectorto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_directionto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_pointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.edge_midpointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.face_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_centerto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_planeto returncompas.geometry.Plane. - Changed JSON validation to Draft202012.
- Changed
compas.data.Data.to_jsonto includecompact=Falseparameter. - Changed
compas.data.Data.to_jsonstringto includecompact=Falseparameter. - Changed
compas.data.json_dumpto includecompact=Falseparameter. - Changed
compas.data.json_dumpsto includecompact=Falseparameter. - Changed
compas.data.DataEncoderandcompas.data.DataDecoderto supportto_jsondataandfrom_jsondata. - Moved all API level docstrings from the
__init__.pyto the correspoding.rstfile in the docs. - Fixed
AttributeErrorin Plotter'sPolylineArtistandSegementArtist. - Fixed wrong key type when de-serializing
Graphwith integer keys leading to node not found. - Changed base class for
compas.geometry.Transformationtocompas.data.Data. - Moved all core transformation functions to
compas.geometry._core. - Changed base class of
compas.geometry.Arctocompas.geometry.Curve. - Changed base class of
compas.geometry.Beziertocompas.geometry.Curve. - Changed base class of
compas.geometry.Circletocompas.geometry.Curve. - Changed base class of
compas.geometry.Ellipsetocompas.geometry.Curve. - Changed base class of
compas.geometry.Linetocompas.geometry.Curve. - Changed base class of
compas.geometry.Polylinetocompas.geometry.Curve. - Changed
compas.geometry.oriented_bounding_box_numpyto minimize volume. - Fixed data interface
compas.datastructures.Assemblyandcompas.datastructures.Part. - Changed data property of
compas.datastructures.Graphto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halfedgeto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halffaceto contain only JSON compatible data. - Changed
__repr__ofcompas.geometry.Pointandcompas.geometry.Vectorto not use limited precision (compas.PRECISION) to ensure proper object reconstruction througheval(repr(point)). - Changed
compas.datastructures.Graph.delete_edgeto delete invalid (u, u) edges and not delete edges in opposite directions (v, u) - Fixed bug in
compas.datastructures.Mesh.insert_vertex. - Fixed bug in
compas.geometry.angle_vectors_signed. - Changed
compas.artists.MeshArtistdefault colors. - Changed internal _plane storage of the
compas.datastructures.Halffacefrom_plane[u][v][w]to_plane[u][v][fkey] - Fixed
SyntaxErrorwhen importing COMPAS in GHPython.
Removed
- Removed all
__all__beyond second level package. - Removed deprecated
compas.utilities.coercing. - Removed deprecated
compas.utilities.encoders. - Removed deprecated
compas.utilities.xfunc. - Removed
compas.datastructures.Halfedge.get_any_vertex. - Removed
compas.datastructures.Halfedge.get_any_vertices. - Removed
compas.datastructures.Halfedge.get_any_face. - Removed "schemas" folder and all contained
.jsonfiles fromcompas.data. - Removed
compas.data.Data.jsondefinititions. - Removed
compas.data.Data.jsonvalidator. - Removed
compas.data.Data.validate_json. - Removed
compas.data.Data.validate_jsondata. - Removed
compas.data.Data.validate_jsonstring. - Removed
compas.data.Data.__getstate__. - Removed
compas.data.Data.__setstate__. - Removed setter of property
compas.data.Data.dataand similar setters in all data classes. - Removed properties
compas.data.Data.DATASCHEMAandcompas.data.Data.JSONSCHEMANAME. - Removed properties
compas.datastructures.Graph.DATASCHEMAandcompas.datastructures.Graph.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfedge.DATASCHEMAandcompas.datastructures.Halfedge.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfface.DATASCHEMAandcompas.datastructures.Halfface.JSONSCHEMANAME. - Removed properties
compas.geometry.Arc.DATASCHEMAandcompas.geometry.Arc.JSONSCHEMANAME. - Removed properties
compas.geometry.Bezier.DATASCHEMAandcompas.geometry.Bezier.JSONSCHEMANAME. - Removed properties
compas.geometry.Box.DATASCHEMAandcompas.geometry.Box.JSONSCHEMANAME. - Removed properties
compas.geometry.Capsule.DATASCHEMAandcompas.geometry.Capsule.JSONSCHEMANAME. - Removed properties
compas.geometry.Circle.DATASCHEMAandcompas.geometry.Circle.JSONSCHEMANAME. - Removed properties
compas.geometry.Cone.DATASCHEMAandcompas.geometry.Cone.JSONSCHEMANAME. - Removed properties
compas.geometry.Cylinder.DATASCHEMAandcompas.geometry.Cylinder.JSONSCHEMANAME. - Removed properties
compas.geometry.Ellipse.DATASCHEMAandcompas.geometry.Ellipse.JSONSCHEMANAME. - Removed properties
compas.geometry.Frame.DATASCHEMAandcompas.geometry.Frame.JSONSCHEMANAME. - Removed properties
compas.geometry.Line.DATASCHEMAandcompas.geometry.Line.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsCurve.DATASCHEMAandcompas.geometry.NurbsCurve.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsSurface.DATASCHEMAandcompas.geometry.NurbsSurface.JSONSCHEMANAME. - Removed properties
compas.geometry.Plane.DATASCHEMAandcompas.geometry.Plane.JSONSCHEMANAME. - Removed properties
compas.geometry.Point.DATASCHEMAandcompas.geometry.Point.JSONSCHEMANAME. - Removed properties
compas.geometry.Pointcloud.DATASCHEMAandcompas.geometry.Pointcloud.JSONSCHEMANAME. - Removed properties
compas.geometry.Polygon.DATASCHEMAandcompas.geometry.Polygon.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyhedron.DATASCHEMAandcompas.geometry.Polyhedron.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyline.DATASCHEMAandcompas.geometry.Polyline.JSONSCHEMANAME. - Removed properties
compas.geometry.Sphere.DATASCHEMAandcompas.geometry.Sphere.JSONSCHEMANAME. - Removed properties
compas.geometry.Torus.DATASCHEMAandcompas.geometry.Torus.JSONSCHEMANAME. - Removed properties
compas.geometry.Quaternion.DATASCHEMAandcompas.geometry.Quaternion.JSONSCHEMANAME. - Removed properties
compas.geometry.Vector.DATASCHEMAandcompas.geometry.Vector.JSONSCHEMANAME. - Removed
compas.datastructures.Graph.key_indexandcompas.datastructures.Graph.index_key. - Removed
compas.datastructures.Graph.uv_indexandcompas.datastructures.Graph.index_uv. - Removed
compas.datastructures.Halfedge.key_indexandcompas.datastructures.Halfedge.index_key. - Removed
compas.numerical.drandcompas.numerical.dr_numpy(moved to separatecompas_dr). - Removed
compas.numerical.fd_numpyto (moved to separatecompas_fd). - Removed
compas.numerical.topop_numpy(moved to separatecompas_topopt). - Removed
compas.numerical.mmaandcompas.numerical.lma. - Removed
compas.numerical.descent,compas.numerical.devo, andcompas.numerical.ga. - Removed
compas.numerical.utilities. - Removed class attribute
CONTEXTfromcompas.artists.Artist. - Removed class attribute
AVAILABLE_CONTEXTSformcompas.artists.Artist. - Removed
compas.geometry.Primitive. - Removed classmethod
compas.color.Color.from_data. - Removed
validate_datafromcompas.data.validators. - Removed
json_validatefromcompas.data.json. - Removed
compas_rhino.conversions.Box. - Removed
compas_rhino.conversions.Circle. - Removed
compas_rhino.conversions.Cone. - Removed
compas_rhino.conversions.Curve. - Removed
compas_rhino.conversions.Cylinder. - Removed
compas_rhino.conversions.Ellipse. - Removed
compas_rhino.conversions.Line. - Removed
compas_rhino.conversions.Mesh. - Removed
compas_rhino.conversions.Plane. - Removed
compas_rhino.conversions.Point. - Removed
compas_rhino.conversions.Polyline. - Removed
compas_rhino.conversions.Vector. - Removed
compas_rhino.artists.NetworkArtist.draw_nodelabels. - Removed
compas_rhino.artists.NetworkArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.MeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_celllabels. - Removed
compas.robots. - Removed
compas.artists.robotmodelartist. - Removed
compas_blender.artists.robotmodelartist. - Removed
compas_ghpython.artists.robotmodelartist. - Removed
compas_rhino.artists.robotmodelartist.