Skip to content

Releases: compas-dev/compas

COMPAS 1.8.0

08 Sep 13:16
Compare
Choose a tag to compare

Added

  • Added pluggable function trimesh_slice in compas_rhino.
  • Added equality comparison for pointclouds.
  • Added compas.data.is_sequence_of_uint.
  • Added general plotter for geometry objects and data structures based on the artist registration mechanism.
  • Added support for multimesh files to OBJ reader/writer.
  • Added support for attaching and detaching meshes in compas.robots.RobotModelArtist and drawing them.
  • Added meshes method to artists of compas.robots.RobotModel.
  • Added FrameArtist class to compas_blender.

Changed

  • compas.robots.Axis is now normalized upon initialization.
  • Fixed a bug in compas.numerical.dr_numpy when using numpy array as inputs.
  • Allowed for varying repository file structures in compas.robots.GithubPackageMeshLoader.
  • Fixed data schema of compas.geometry.Polyline, compas.geometry.Polygon, compas.geometry.Pointcloud.
  • Fixed Configuration.from_data to be backward-compatible with JSON data generated before compas 1.3.0.
  • Changed compas_rhino.drawing.draw_breps to assume provided polygon is closed and automatically add missing corner to polycurve constructor.
  • Changed conversion of edges and faces to uniques keys for the data dicts to use the string representation of a sorted tuple of identifiers.
  • Added dtype to JSON decoding error message.
  • Moved compas.datastructures.mesh.core.halfedge.HalfEdge to compas.datastructures.halfedge.halfedge.HalfEdge
  • Moved compas.datastructures.network.core.graph.Graph to compas.datastructures.graph.graph.Graph.

Removed

  • Removed compas.datastructures.mesh.core.mesh.BaseMesh.

  • Removed compas.datastructures.BaseNetwork.

COMPAS 1.7.1

14 Jun 21:20
Compare
Choose a tag to compare

Added

Changed

  • Fixed bundling of ghuser components

Removed

COMPAS 1.7.0

14 Jun 11:30
Compare
Choose a tag to compare

Added

  • Added pluggable function trimesh_gaussian_curvature in compas_rhino.
  • Added pluggable function trimesh_mean_curvature in compas_rhino.
  • Added pluggable function trimesh_principal_curvature in compas_rhino.
  • Added copy and deepcopy functionality to compas.robots.Configuration.
  • Added grasshopper component for drawing a frame.
  • Added draw_origin and draw_axes

Changed

  • Allow str or int as joint type in compas.robots.Joint constructor.
  • compas_ghpython.artists.FrameArtist.draw now draws a Rhino Plane.
  • Fixed bugs in compas.geometry.bestfit_circle_numpy.
  • Changed directory where ghuser components are installed.
  • Added ghuser components directory to those removed by the clean task.
  • Clean up the ghuser directory before building ghuser components.
  • Fixed bug in compas.geometry.distance.closest_point_on_segment_xy.
  • Fixed bug in Rhino implementations of trimesh curvature functions.

Removed

COMPAS 1.6.3

26 May 16:49
Compare
Choose a tag to compare

Added

  • Added compas.topology.astar_lightest_path.
  • Added jsonschema definitions for primitives and transformations.
  • Added schema implementation to primitives and transformations.
  • Added jsonschema implementation to primitives and transformations.
  • Added compas.data.is_int3, compas.data.is_float3, compas_data.is_float4x4.

Changed

  • Extended compas.topology.astar_shortest_path to work on compas.datastructures.Mesh and compas.datastructures.Network.
  • Fixed compas.data.Data.to_jsonstring.
  • Changed compas.data.Data.data.setter to raise NotImplementedError.
  • Changed annotations of compas_blender.artists.BaseArtist.
  • Fixed __repr__ for primitives, shapes, transformations.

Removed

  • Removed duplicate cases from compas.data.DataEncoder.

COMPAS 1.6.2

12 May 14:10
Compare
Choose a tag to compare

Added

Changed

Removed

COMPAS 1.6.1

12 May 13:49
Compare
Choose a tag to compare

Added

Changed

Removed

COMPAS 1.5.0

20 Apr 09:06
Compare
Choose a tag to compare

Added

  • Added support for file-like objects, path strings and URLs to most of the methods previously accepting only file paths, eg. compas.datastructures.Datastructure, compas.json_dump, compas.json_load, etc.
  • Added pretty parameter to compas.json_dump and compas.json_dumps.
  • Added compas.data.Data as base object for all data objects (geometry, data structures, ...).

Changed

  • Moved compas.utilities.DataEncoder to compas.data.
  • Moved compas.utilities.DataDecoder to compas.data.
  • Changed base object of compas.datastructures.Datastructure to compas.data.Data.
  • Changed base object of compas.geometry.Primitive to compas.data.Data.
  • Renamed Base to Data for all data based classes.
  • Fixed calculation of triangle normals.
  • Fixed calculation of triangle areas.

Removed

COMPAS 1.4.0

09 Apr 13:12
Compare
Choose a tag to compare

Added

  • Added Python 3.9 support.
  • Added crease handling to catmull-clark subdivision scheme.
  • Added compas_ghpython.get_grasshopper_userobjects_path to retrieve User Objects target folder.
  • Added direction option for mesh thickening.
  • Added check for closed meshes.
  • Added 'loop' and 'frames' to schemes of compas.datastructures.mesh.subdivision.mesh_subdivide.

Changed

  • Fixed box scaling.
  • Fixed a bug in Polyline.divide_polyline_by_length related to a floating point rounding error.
  • Fixed bug in RobotModel.zero_configuration.
  • Fixed bug in compas.geometry.normals.
  • Fixed bug in compas.datastructures.mesh.subdivision.mesh_subdivide_frames.

Removed

COMPAS 1.3.0

26 Mar 16:11
Compare
Choose a tag to compare

Added

  • Added a invert and inverted method compas.geometry.Vector.
  • Added unetary __neg__ operator for compas.geometry.Vector.
  • Added compas.robots.Configuration, moved from compas_fab.

Changed

  • Fixed rhino packages installation to remove duplicates

Removed

COMPAS 1.2.1

19 Mar 08:37
Compare
Choose a tag to compare

Added

Changed

Removed

  • Fixed API removals from 1.0.0 -> 1.2.0