Releases: compas-dev/compas
Releases · compas-dev/compas
COMPAS 1.8.0
Added
- Added pluggable function
trimesh_slice
incompas_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 ofcompas.robots.RobotModel
. - Added
FrameArtist
class tocompas_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 beforecompas 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
tocompas.datastructures.halfedge.halfedge.HalfEdge
- Moved
compas.datastructures.network.core.graph.Graph
tocompas.datastructures.graph.graph.Graph
.
Removed
-
Removed
compas.datastructures.mesh.core.mesh.BaseMesh
. -
Removed
compas.datastructures.BaseNetwork
.
COMPAS 1.7.1
Added
Changed
- Fixed bundling of ghuser components
Removed
COMPAS 1.7.0
Added
- Added pluggable function
trimesh_gaussian_curvature
incompas_rhino
. - Added pluggable function
trimesh_mean_curvature
incompas_rhino
. - Added pluggable function
trimesh_principal_curvature
incompas_rhino
. - Added
copy
anddeepcopy
functionality tocompas.robots.Configuration
. - Added grasshopper component for drawing a frame.
- Added
draw_origin
anddraw_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
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 oncompas.datastructures.Mesh
andcompas.datastructures.Network
. - Fixed
compas.data.Data.to_jsonstring
. - Changed
compas.data.Data.data.setter
to raiseNotImplementedError
. - 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
Added
Changed
Removed
COMPAS 1.6.1
Added
Changed
Removed
COMPAS 1.5.0
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 tocompas.json_dump
andcompas.json_dumps
. - Added
compas.data.Data
as base object for all data objects (geometry, data structures, ...).
Changed
- Moved
compas.utilities.DataEncoder
tocompas.data
. - Moved
compas.utilities.DataDecoder
tocompas.data
. - Changed base object of
compas.datastructures.Datastructure
tocompas.data.Data
. - Changed base object of
compas.geometry.Primitive
tocompas.data.Data
. - Renamed
Base
toData
for all data based classes. - Fixed calculation of triangle normals.
- Fixed calculation of triangle areas.
Removed
COMPAS 1.4.0
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
Added
- Added a
invert
andinverted
methodcompas.geometry.Vector
. - Added unetary
__neg__
operator forcompas.geometry.Vector
. - Added
compas.robots.Configuration
, moved fromcompas_fab
.
Changed
- Fixed rhino packages installation to remove duplicates
Removed
COMPAS 1.2.1
Added
Changed
Removed
- Fixed API removals from 1.0.0 -> 1.2.0