Releases: compas-dev/compas
Releases · compas-dev/compas
COMPAS 2.2.0
Added
- Added
maxiterparameter tocompas.geometry.icp_numpy. - Added
resolution_uandresolution_vtocompas.geometry.Shapeto control discretisation resolution. - Added
vertices,edges,faces,trianglestocompas.geometry.Shape. - Added
points,lines,polygonstocompas.geometry.Shape. - Added abstract
compute_vertices,compute_edges,compute_faces,compute_trianglestocompas.geometry.Shape. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Box. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Capsule. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Cone. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Cylinder. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Sphere. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Torus. - Added
compas_blender.scene.ShapeObject. - Added
compas.geometry.vector.__radd__. - Added
compas.geometry.vector.__rsub__. - Added
compas.geometry.vector.__rmul__. - Added
compas.geometry.vector.__rtruediv__. - Added
VolMesh.cell_lines,VolMesh.cell_polygons. - Added
VolMesh.vertex_edges. - Added
VolMesh.from_meshes. - Added
VolMesh.from_polyhedrons.
Changed
- Changed
compas_ghpython/utilities/drawing.pyto removeSystemdependency. - Fixed bug in
compas.geometry.ic_numpy, which was caused by returning only the last transformation of the iteration process. - Changed
compas.geometry.Geometry.scaledto usecompas.geometry.Geometry.scaleon a copy. - Changed
compas.geometry.Geometry.translatedto usecompas.geometry.Geometry.translateon a copy. - Changed
compas.geometry.Geometry.rotatedto usecompas.geometry.Geometry.rotateon a copy. - Changed
VolMesh._planeback to point to a cell for every triplet of vertices. - Fixed
VolMesh.add_halfface,VolMesh.add_cell,VolMesh.vertex_halffaces,VolMesh.vertex_cells,VolMesh.edge_halffaces,VolMesh.halfface_cell,VolMesh.halfface_opposite_cell,VolMesh.halfface_opposite_halfface,VolMesh.cell_neighbors. - Changed ordering of
Volmesh.edges()to be deterministic. - Changed ordering and direction of
Volmesh.vertex_edges()to be deterministic. - Changed check for empty vertices and faces to use
is Noneto add support fornumpyarrays. - Changed order of
uandvofcompas.geometry.SphericalSurfaceto the match the excpected parametrisation. - Changed
compas.geometry.Shape.to_vertices_and_facesto useShape.verticesandShape.facesorShape.triangles. - Changed default of
compas.scene.descriptors.color.ColorAttributetoNoneto support native coloring in CAD contexts. - Changed
compas.colors.ColorDict.__data__andcompas.colors.ColorDict.__from_data__to properly support serialisation. - Moved
compas_blender.utilities.drawingtocompas_blender.drawingwith backward compatible imports and deprecation warning. - Moved
compas_ghpython.utilities.drawingtocompas_ghpython.drawingwith backward compatible imports and deprecation warning. - Moved
compas_rhino.utilities.drawingtocompas_rhino.drawingwith backward compatible imports and deprecation warning. - Changed
draw_nodesanddraw_edgesofcompas_blender.scene.GraphObject,compas_ghpython.scene.GraphObject, andcompas_rhino.scene.GraphObjectto use only attributes instead of parameters. - Changed
draw_vertices,draw_edgesanddraw_facesofcompas_blender.scene.MeshObject,compas_ghpython.scene.MeshObject, andcompas_rhino.scene.MeshObjectto use only attributes instead of parameters. - Changed
draw_vertices,draw_edgesanddraw_facesofcompas_blender.scene.VolMeshObject,compas_ghpython.scene.VolMeshObject, andcompas_rhino.scene.VolMeshObjectto use only attributes instead of parameters. - Changed registration of
Capsule,Cone,Cylinder,Sphere,TorustoShapeObjectincompas_blender.scene. - Updated
compas.geometry.vector.__mul__to allow element-wise multiplication with another vector. - Updated
compas.geometry.vector.__truediv__to allow element-wise division with another vector. - Fixed bug in registration
shapelyboolean plugins. - Temporarily restrict
numpyto versions lower than2.x.
Removed
- Removed
Systemdependency incompas_ghpython/utilities/drawing.py. - Removed GH plugin for
compas.scene.clearsince it clashed with the Rhino version.
COMPAS 2.1.1
Added
- Added
compas.geometry.Line.point_from_startandcompas.geometry.Line.point_from_end. - Added
compas.geometry.Line.flipandcompas.geometry.Line.flipped. - Added an
compas.geometry.Frame.interpolate_frame(s)method - Added
compas.colors.Color.contrast. - Added
compas.geometry.Brep.from_plane. - Added
compas.tolerance.Tolerance.angulardeflection. - Added
compas.tolerance.Tolerance.update_from_dict. - Added
compas.scene.SceneObject.sceneattribute.
Changed
- Changed and update the
compas_view2examples intocompas_viewer. - Changed and updated the
compas_view2examples intocompas_viewer. - Changed
compas.scene.Sceneto inherent fromcompas.datastructrues.Tree. - Changed
compas.scene.SceneObjectto inherent fromcompas.datastructrues.TreeNode. - Changed
compas.geoemetry._core.predicates_3bug fix inis_coplanarwhile loop when there are 4 points. - Changed to implementation of
Mesh.unify_cyclesto use the corresponding function ofcompas.topology.orientation. - Fixed bug in
compas.topology.orientation.unify_cycles. - Fixed bug in
Mesh.thickened. - Fixed various bugs in
compas.geometry.Quaternion. - Changed repo config to
pyproject.toml. - Fixed broken import in
copas.geometry.trimesh_smoothing_numpy. - Changed
RhinoBrep.trimmedto return single result or raiseBrepTrimmingErrorinstead of returning a list. - Changed order of imports according to
isortand changed line length to179. - Changed use of
compas.geometry.allclosetocompas.tolerance.TOL.is_allclose. - Changed use of
compas.geometry.closetocompas.tolerance.TOL.is_close. - Changed imports of itertools to
compas.itertoolsinstead ofcompas.utilities. - Changed
compas.tolerance.Toleranceto a singleton, to ensure having only library-wide tolerance values. - Updated
compas_rhino.conversions.point_to_compasto allow forRhino.Geometry.Pointas input. - Changed
compas.datastructures.Tree.print_hierarchytocompas.datastructures.Tree.__str__. - Fixed
compas.geometry.bbox_numpy.minimum_volume_boxto avoidnumpy.linalg.LinAlgError.
Removed
- Removed
compas.scene.SceneObjectNode, functionalities merged intocompas.scene.SceneObject. - Removed
compas.scene.SceneTree, functionalities merged intocompas.scene.Scene. - Removed default implementation of
compas.geometry.trimesh_geodistancesince nonexistent. - Removed
compas.utilities.geometric_keyand replaced it bycompas.tolerance.TOL.geometric_key. - Removed
compas.utilities.geometric_key_xyand replaced it bycompas.tolerance.TOL.geometric_key_xy. - Removed indexed attribute access from all geometry classes except
Point,Vector,Line,Polygon,Polyline. - Removed
compas.datastructures.Tree.print_hierarchy.
COMPAS 2.1.0
Added
- Added optional argument
cap_endstoBrep.from_extrusion(). - Added implementation in
RhinoBrep.from_extrusion(). - Added
max_depthtocompas.datastructures.Tree.print_hierarchy(). - Added
compas.datastructures.Tree.to_graph().
Changed
- Changed
compas.datastructures.TreeNodeto skip serialisingattributes,nameandchildrenif being empty. - Changed
compas.datastructures.TreeNode.__repr__to omitnameifNone. - Fix bug in
compas_rhino.geometry.NurbsCurve.from_parametersandcompas_rhino.geometry.NurbsCurve.from_pointsrelated to the value of the parameterdegree. - Changed
compas.scene.descriptors.ColorDictAttributeto accept acompas.colors.ColorDictas value. - Changed
compas_rhino.scene.RhinoMeshObject.drawto preprocess vertex and face color dicts into lists. - Changed
compas_rhino.conversions.vertices_and_faces_to_rhinoto handle vertex color information correctly.
Removed
COMPAS 2.0.4
Added
Changed
- Fixed bug in
compas_rhino.scene.
Removed
COMPAS 2.0.3
Added
- Added
compas.linalg. - Added
compas.matrices. - Added
compas.itertools. - Added
compas_rhino.scene.helpers. - Added
compas.scene.SceneObject.contrastcolor.
Changed
- Fixed bug in
compas.geometry.oriented_bounding_box_numpyto support points in plane. - Changed
compas_rhino.scene.RhinoSceneObjectto pass on positional arguments. - Changed
compas_rhino.scene.RhinoBoxObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoBrepObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCapsuleObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCircleObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoConeObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCurveObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCylinderObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoEllipseObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoFrameObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoGraphObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoLineObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoMeshObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPlaneObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPointObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolygonObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolyhedronObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolylineObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoSphereObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoSurfaceObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoTorusObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoVectorObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoVolMeshObject.drawto use attributes only.
Removed
- Removed
compas.geometry.linalg. - Removed
compas.topology.matrices. - Removed
compas.utilities.itertools.
COMPAS 2.0.2
Added
- Added Blender paths for Windows.
- Added
compas_rhino.print_python_path. - Added
compas_blender.print_python_path.
Changed
- Fixed bug in
compas.tolerange.Tolerance.format_number()related to IronPython environment.
Removed
COMPAS 2.0.1
Added
- Added pluggable
compas.geometry.surfaces.nurbs.new_nurbssurface_from_native. - Added
compas.geometry.NurbsSurface.from_native. - Added plugin
compas_rhino.geometry.surfaces.new_nurbssurface_from_plane.
Changed
- Fixed bug in
compas_blender.clear. - Fixed bug in
compas_rhino.conversions.surface_to_compas. - Fixed bug in
compas_rhino.conversions.surface_to_compas_mesh. - Fixed bug in
compas_rhino.conversions.surface_to_compas_quadmesh. - Fixed bug in plugin
compas_rhino.geometry.curves.new_nurbscurve_from_native. - Fixed bug in plugin
compas_rhino.geometry.surfaces.new_nurbssurface_from_native.
Removed
- Removed plugin
compas_rhino.geometry.surfaces.new_surface_from_plane.
COMPAS 2.0.0
Added
- Added
groupattribute 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,disjointattributes tocompas_rhino.scene.MeshObject. - Added
_guids_nodes,_guids_edges,_guids_nodelabels,_guids_edgelables,_guids_spheres,_guids_pipesattributes tocompas_rhino.scene.GraphObject. - Added
_guids_vertices,_guids_edges,_guids_faces,_guids_cells,_guids_vertexlabels,_guids_edgelables,_guids_facelabels,_guids_celllabels,disjointattributes tocompas_rhino.scene.MeshObject. - Added test for
compas.scene.Sceneserialisation.
Changed
- Changed
compas.scene.Mesh'sshow_vertices,show_edges,show_facesto optionally accept a sequence of keys. - Changed
compas.scene.Graph'sshow_nodes,show_edgesto optionally accept a sequence of keys. - Changed
compas.scene.VolMesh'sshow_vertices,show_edges,show_faces,show_cellsto 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_drawpluggable tocompas.scene.Scene.draw. - Added
after_drawpluggable 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.Toleranceinto singleton. - Changed
compas_rhino.geometry.curves.nursb.RhinoNurbsCurveto use private data API. - Changed
compas_rhino.geometry.surfaces.nursb.RhinoNurbsSurfaceto use private data API. - Changed
compas.scene.Scene.redrawtodraw. - Fixed
register_scene_objectsnot 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
ImportErrorwhen whenscipy==1.12.0is installed.