Skip to content

Releases: compas-dev/compas

COMPAS 1.10.0

04 Nov 09:37
Compare
Choose a tag to compare

Added

  • Added compas.geometry.Curve and compas.geometry.NurbsCurve.
  • Added compas.geometry.Surface and compas.geometry.NurbsSurface.
  • Added pluggables for compas.geometry.NurbsCurve.__new__, compas.geometry.NurbsCurve.from_parameters, compas.geometry.NurbsCurve.from_points, compas.geometry.NurbsCurve.from_interpolation, compas.geometry.NurbsCurve.from_step.
  • Added pluggables for compas.geometry.NurbsSurface.__new__, compas.geometry.NurbsSurface.from_parameters, compas.geometry.NurbsSurface.from_points, compas.geometry.NurbsSurface.from_fill, compas.geometry.NurbsSurface.from_step.
  • Added missing implementations for abstract clear methods of compas_rhino.artists.volmeshartist.

Changed

  • Fixed bug in directions of compas.datastructures.Mesh.from_meshgrid.
  • Fixed bug in Rhino mesh face drawing.
  • Fixed bug related to legacy uninstall on Rhino for Mac.

Removed

COMPAS 1.9.3

02 Nov 19:45
Compare
Choose a tag to compare

Added

Changed

  • Changed default path for Rhino 7 legacy install cleanup to Rhino7.app in compas_rhino.__init__.py.
  • Changed z-coordinate of compas.datastructures.Mesh.from_meshgrid to 0.0 instead of 0.

Removed

COMPAS 1.9.2

02 Nov 12:27
Compare
Choose a tag to compare

Added

  • Added draw_mesh method to compas_ghpython.artists.MeshArtist to match all other mesh artists.

Changed

  • Changed new artist registration to check if subclass.
  • Fixed RobotModelArtist for blender: missing abstract method impl and handle init order.

Removed

COMPAS 1.9.1

22 Oct 14:56
Compare
Choose a tag to compare

Added

  • Added Plane.offset
  • Added is_mesh_closed property to compas.datastructures.mesh_slice_plane

Changed

  • Fixed backward compatibility problem with artists by adding back Artist.build and Artist.build_as.
  • Fixed backward compatibility problem with artists by adding compas_rhino.artists.BaseArtist alias for compas_rhino.artists.RhinoArtist.

Removed

COMPAS 1.9.0

21 Oct 17:17
Compare
Choose a tag to compare

Added

  • Added draw_vertexlabels, draw_edgelabels, draw_facelabels, draw_vertexnormals, and draw_facenormals to compas_blender.artists.MeshArtist.
  • Added optional triangulated flag to to_vertices_and_faces of all shapes.
  • Added compas.geometry.Geometry base class.
  • Added __add__, __sub__, __and__ to compas.geometry.Shape for boolean operations using binary operators.
  • Added is_closed to compas.geometry.Polyhedron.
  • Added Plane.offset.
  • Added compas.artists.Artist.
  • Added pluggable compas.artists.new_artist.
  • Added plugin compas_rhino.artists.new_artist_rhino.
  • Added plugin compas_blender.artists.new_artist_blender.
  • Added compas.artist.DataArtistNotRegistered.
  • Added draw_node_labels and draw_edgelabels to compas_blender.artists.NetworkArtist.
  • Added compas_blender.artists.RobotModelArtist.clear.
  • Added compas_blender.geometry.booleans as plugin for boolean pluggables.
  • Added version-based installation for Blender.
  • Added several shape artists to compas_ghpython: BoxArtist, CapsuleArtist, ConeArtist, CylinderArtist, PolygonArtist, PolyhedronArtist, SphereArtist, TorusArtist and VectorArtist.
  • Added support for CLR generic dictionaries to the compas.data decoders.
  • Added Graph.node_sample, Graph.edge_sample.
  • Added Halfedge.vertex_sample, Halfedge.edge_sample, Halfedge.face_sample.
  • Added Halfface.vertex_sample, Halfface.edge_sample, Halfface.face_sample, Halfface.cell_sample.
  • Added Mesh.from_meshgrid.

Changed

  • Fixed bug in compas_blender.draw_texts.
  • Changed compas_rhino.artists.BaseArtist to compas_rhino.artists.RhinoArtist.
  • Changed compas_blender.artists.BaseArtist to compas_blender.artists.BlenderArtist.
  • Changed default resolution for shape discretisation to 16 for both u and v where relevant.
  • Changed base class of compas.geometry.Primitive and compas.geometry.Shape to compas.geometry.Geometry.
  • compas_blender.artists.RobotModelArtist.collection can be assigned as a Blender collection or a name.
  • Generalized the parameter color of compas_blender.draw_texts and various label drawing methods.
  • Changed compas.IPY to compas.RHINO in orientation_rhino.
  • Changed planarity to requires_extra for pip installations.
  • Fixed bug in handling of ngonal meshes in compas_ghpython artists / drawing functions.

Removed

COMPAS 1.8.1

08 Sep 19:56
Compare
Choose a tag to compare

Added

Changed

Removed

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.