Releases: compas-dev/compas
Releases · compas-dev/compas
v1.17.10
Added
Changed
- Fixed
ImportError
when whenscipy==1.12.0
is installed.
Removed
COMPAS 2.0.0-beta.3
Added
- Added
compas.dtastructures.Network
as alias ofcompas.datastructures.Graph
. - Added
compas.data.Data.name
and included it in serialisation in casecompas.data.Data._name is not None
.
Changed
- Merged
compas.datastructures.Halfedge
intocompas.datastructures.Mesh
. - Merged
compas.datastructures.Network
intocompas.datastructures.Graph
. - Merged
compas.datastructures.Halfface
intocompas.datastructures.VolMesh
. - Fixed
RhinoBrep
doesn't get capped after trimming. - Changed
compas.data.Data.data
tocompas.data.Data.__data__
. - Changed
compas.data.Data.dtype
tocompas.data.Data.__dtype__
. - Changed
compas.data.Data.from_data
tocompas.data.Data.__from_data__
.
Removed
- Removed
compas.datastructures.Network
. - Removed
compas.datastructures.Halfedge
. - Removed
compas.datastructures.Halfface
. - Removed
compas.data.Data.attributes
. - Removed
compas.data.Datastructure.attributes
. - Removed
attributes
fromcompas.datastructures.Assembly.data
. - Removed
attributes
fromcompas.datastructures.CellNetwork.data
. - Removed
attributes
fromcompas.datastructures.Graph.data
. - Removed
attributes
fromcompas.datastructures.Mesh.data
. - Removed
attributes
fromcompas.datastructures.Tree.data
. - Removed
attributes
fromcompas.datastructures.VolMesh.data
. - Removed
compas.data.Data.to_data
. - Removed
compas.rpc.XFunc
.
COMPAS 2.0.0-beta.2
Added
- Added
viewerinstance
incompas.scene.Scene
to support viewers context detection. - Added
compas_rhino8
as starting point for Rhino8 support. - Added
compas.scene.SceneObjectNode
. - Added
compas.scene.SceneTree
. - Added
compas.scene.SceneObject.node
. - Added
compas.scene.SceneObject.frame
. - Added
compas.scene.SceneObject.worldtransformation
. - Added
compas.scene.SceneObject.parent
. - Added
compas.scene.SceneObject.children
. - Added
compas.scene.SceneObject.add()
. - Added tutorial for
compas.datastructures.Tree
. - Added Serialisation capability to
compas.scene.Scene
. - Added
show
flag tocompas.scene.SceneObject
. - Added
show_points
flag tocompas.scene.GeometryObject
. - Added
show_lines
flag tocompas.scene.GeometryObject
. - Added
show_surfaces
flag tocompas.scene.GeometryObject
. - Added
show_vertices
flag tocompas.scene.MeshObject
. - Added
show_edges
flag tocompas.scene.MeshObject
. - Added
show_faces
flag tocompas.scene.MeshObject
. - Added
show_nodes
flag tocompas.scene.NetworkObject
. - Added
show_edges
flag tocompas.scene.NetworkObject
. - Added
show_vertices
flag tocompas.scene.VolMeshObject
. - Added
show_edges
flag tocompas.scene.VolMeshObject
. - Added
show_faces
flag tocompas.scene.VolMeshObject
. - Added
show_cells
flag tocompas.scene.VolMeshObject
. - Added
compas.data.Data.to_jsonstring
andcompas.data.Data.from_jsonstring
. - Added
compas.data.Data.attributes
. - Added optional param
working_directory
tocompas.rpc.Proxy
to be able to start services defined in random locations. - Added
compas.datastructures.Datastructure.transform
andcompas.datastructures.Datastructure.transformed
. - Added
compas.datastructures.Datastructure.transform_numpy
andcompas.datastructures.Datastructure.transformed_numpy
. - Added
compas.datastructures.Halfedge.flip_cycles
. - Added
compas.datastructures.Halfedge.is_connected
,compas.datastructures.Halfedge.connected_vertices
,compas.datastructures.Halfedge.connected_faces
. - Added
compas.datastructures.Mesh.join
. - Added
compas.datastructures.Mesh.weld
andcompas.datastructures.Mesh.remove_duplicate_vertices
. - Added
compas.datastructures.Mesh.quads_to_triangles
. - Added
compas.datastructures.Mesh.unify_cycles
. - Added
compas.datastructures.Mesh.aabb
andcompas.datastructures.Mesh.obb
. - Added
compas.datastructures.Mesh.offset
andcompas.datastructures.Mesh.thickened
. - Added
compas.datastructures.Mesh.exploded
. - Added
compas.datastructures.Mesh.adjacency_matrix
,compas.datastructures.Mesh.connectivity_matrix
,compas.datastructures.Mesh.degree_matrix
,compas.datastructures.Mesh.laplacian_matrix
. - Added
compas.topology.vertex_adjacency_from_edges
,compas.topology.vertex_adjacency_from_faces
,compas.topology.edges_from_faces
,compas.topology.faces_from_edges
. - Added
compas.datastructures.Network.split_edge
,compas.datastructures.Network.join_edges
. - Added
compas.datastructures.Network.smooth
. - Added
compas.datastructures.Network.is_crossed
,compas.datastructures.Network.is_xy
,compas.datastructures.Network.is_planar
,compas.datastructures.Network.is_planar_embedding
,compas.datastructures.Network.count_crossings
,compas.datastructures.Network.find_crossings
,compas.datastructures.Network.embed_in_plane
. - Added
compas.datastructures.Network.find_cycles
. - Added
compas.datastructures.Network.shortest_path
. - Added
compas.datastructures.Network.transform
. - Added
compas.datastructures.Graph.is_connected
. - Added
compas.datastructures.Graph.adjacency_matrix
,compas.datastructures.Graph.connectivity_matrix
,compas.datastructures.Graph.degree_matrix
,compas.datastructures.Graph.laplacian_matrix
.
Changed
- Changed the
__str__
ofcompas.geometry.Point
andcompas.geometry.Vector
to use a limited number of decimals (determined byTolerance.PRECISION
). Note:__repr__
will instead maintain full precision. - Changed
docs
Workflow to only be triggered on review approval in pull requests. - Changed
draw
implementations ofcompas.scene.SceneObject
to always use theworldtransformation
of theSceneObject
. - Fixed typo in name
Rhino.Geometry.MeshingParameters
incompas_rhino.geometry.RhinoBrep.to_meshes()
. - Fixed
TypeErrorException
when serializing aMesh
which has been converted from Rhino. - Fixed color conversions in
compas_rhion.conversions.mesh_to_compas
. - Changed
compas.data.Data.name
to be stored incompas.data.Data.attributes
. - Changed
compas.data.Data.__jsondump__
to includecompas.data.Data.attributes
if the dict is not empty. - Changed
compas.data.Data.__jsonload__
to updatecompas.data.Data.attributes
if the attribute dict is provided. - Changed
compas.datastructures.Graph
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Network
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Halfedge
to take additional**kwargs
, instead of onlyname=None
specifically. - Changed
compas.datastructures.Mesh
to take additional**kwargs
, instead of onlyname=None
specifically. - Moved registration of
ping
andremote_shutdown
of the RPC server tocompas.rpc.Server.__init__()
. - Moved
FileWatcherService
tocompas.rpc.services.watcher
so it can be reused. - Changed
compas.datastructures.Mesh.subdivide
tocompas.datastructures.Mesh.subdivided
. - Moved
compas.numerical.pca_numpy
tocompas.geometry.pca_numpy
. - Moved
compas.numerical.scalafield_contours
tocompas.geometry.scalarfield_contours
. - Moved
compas.numerical.matrices
tocompas.topology.matrices
. - Moved
compas.numerical.linalg
tocompas.geometry.linalg
. - Changed
watchdog
dependency to be only required for platforms other thanemscripten
. - Changed
compas.geometry.earclip_polygon
algorithm because the current one does not handle several cases.
Removed
- Removed
compas_rhino.forms
. Forms will be moved tocompas_ui
. - Removed
compas.datastructures.Datastructure.attributes
andcompas.datastructures.Datastructure.name
(moved tocompas.data.Data
). - Removed
attributes
fromcompas.datastructures.Graph.data
. - Removed
attributes
fromcompas.datastructures.Network.data
. - Removed
attributes
fromcompas.datastructures.Halfedge.data
. - Removed
attributes
fromcompas.datastructures.Mesh.data
. - Removed
compas.datastructures.mesh_bounding_box
andcompas.datastructures.mesh_bounding_box_xy
. - Removed
compas.datastructures.mesh_oriented_bounding_box_numpy
andcompas.datastructures.mesh_oriented_bounding_box_xy_numpy
. - Removed
compas.datastructures.mesh_delete_duplicate_vertices
. - Removed
compas.datastructures.mesh_is_connected
andcompas.datastructures.mesh_connected_components
. - Removed
compas.datastructures.mesh_isolines_numpy
andcompas.datastructures.mesh_contours_numpy
. - Removed
compas.datastructures.trimesh_gaussian_curvature
. - Removed
compas.datastructures.trimesh_descent
. - Removed
compas.datastructures.mesh_disconnected_vertices
,compas.datastructures.mesh_disconnected_faces
andcompas.datastructures.mesh_explode
. - Removed
compas.datastructures.mesh_geodesic_distances_numpy
. - Removed
compas.datastructures.trimesh_face_circle
. - Removed
compas.datastructures.mesh_weld
,compas.datastructures.meshes_join
,compas.datastructures.meshes_join_and_weld
. - Removed
compas.datastructures.mesh_offset
andcompas.datastructures.mesh_thicken
. - Removed
compas.datastructures.mesh_face_adjacency
andcompas.datastructures.mesh_unify_cycles
. - Removed
compas.datastructures.mesh_transform
,compas.datastructures.mesh_transformed
,compas.datastructures.mesh_transform_numpy
,compas.datastructures.mesh_transformed_numpy
. - Removed
compas.datastructures.mesh_quads_to_triangles
. - Removed
compas.datastructures.volmesh_bounding_box
. - Removed
compas.datastructures.volmesh_transform
andcompas.datastructures.volmesh_transformed
. - Removed
compas.topology.unify_cycles_numpy
andcompas.topology.face_adjacency_numpy
. - Removed
compas.topology.unify_cycles_rhino
andcompas.topology.face_adjacency_rhino
. - Removed
compas.datastructures.network_is_connected
. - Removed
compas.datastructures.network_complement
. - Removed
compas.datastructures.network_disconnected_nodes
,compas.datastructures.network_disconnected_edges
,compas.datastructures.network_explode
. - Removed
compas.datastructures.network_adjacency_matrix
,compas.datastructures.network_connectivity_matrix
,compas.datastructures.network_degree_matrix
,compas.datastructures.network_laplacian_matrix
. - Removed
compas.datastructures.network_transform
,compas.datastructures.network_transformed
. - Removed
compas.datastructures.network_shortest_path
. - Removed
compas.numerical
.
COMPAS 2.0.0-beta.1
Added
- Added
compas.geometry.Box.to_brep()
. - Added
compas.geometry.Cone.to_brep()
. - Added
compas.geometry.Cylinder.to_brep()
. - Added
compas.geometry.Sphere.to_brep()
. - Added
compas.geometry.Torus.to_brep()
. - Added
compas.brep.Brep.from_iges()
. - Added
compas.brep.Brep.to_iges()
. - Added
compas.tolerance
. - Added
compas.tolerance.Tolerance
. - Added
compas.tolerance.Tolerance.ABSOLUTE
andcompas.tolerance.Tolerance.absolute
. - Added
compas.tolerance.Tolerance.RELATIVE
andcompas.tolerance.Tolerance.relative
. - Added
compas.tolerance.Tolerance.ANGULAR
andcompas.tolerance.Tolerance.angular
. - Added
compas.tolerance.Tolerance.APPROXIMATION
andcompas.tolerance.Tolerance.approximation
. - Added
compas.tolerance.Tolerance.PRECISION
andcompas.tolerance.Tolerance.precision
. - Added
compas.tolerance.Tolerance.LINEARDEFLECTION
andcompas.tolerance.Tolerance.lineardeflection
. - Added
compas.tolerance.Tolerance.is_zero
. - Added
compas.tolerance.Tolerance.is_positive
. - Added
compas.tolerance.Tolerance.is_negative
. - Added
compas.tolerance.Tolerance.is_between
. - Added
compas.tolerance.Tolerance.is_angle_zero
. - Added
compas.tolerance.Tolerance.is_close
. - Added
compas.tolerance.Tolerance.is_allclose
. - Added
compas.tolerance.Tolerance.is_angles_close
. - Added
compas.tolerance.Tolerance.geometric_key
. - Added
compas.tolerance.Tolerance.format_number
. - Added
compas.tolerance.Tolerance.precision_from_tolerance
. - Added
compas.scene.Scene
. - Added
compas.json_loadz()
andcompas.json_dumpz()
to support ZIP compressed JSON files. - Added
compas.datastructures.assembly.delete_part()
. - Added
compas.datastructures.assembly.delete_connection()
. - Added
compas.geometry.Brep.from_breps()
. - Added
compas.geometry.Brep.from_planes()
. - Added
compas.geometry.Brep.to_iges()
. - Added
compas.geometry.Brep.to_meshes()
. - Added
compas.geometry.Brep.to_polygons()
. - Added
compas.geometry.Brep.to_stl()
. - Added
compas.geometry.Brep.heal()
. - Added
compas.geometry.Brep.edge_faces()
. - Added
compas.geometry.Brep.edge_loop()
. - Added
compas.geometry.Brep.fillet()
. - Added
compas.geometry.Brep.filleted()
. - Added
compas.geometry.BrepFilletError
. - Added
compas.geometry.Brep.is_shell
. - Added
compas.geometry.Brep.contains()
. - Added
compas.geometry.BrepFace.adjacent_faces()
. - Added
compas_rhino.geometry.RhinoBrep.is_manifold
. - Added
compas_rhino.geometry.RhinoBrep.contains()
. - Added
compas_rhino.geometry.RhinoBrepFace.adjacent_faces()
. - Added
compas_rhino.geometry.RhinoBrepFace.as_brep()
. - Added
compas.geometry.BrepEdge.orientation
. - Added
compas.geometry.BrepEdge.type
. - Added
compas.geometry.BrepEdge.length
. - Added
compas.geometry.BrepFace.type
. - Added
compas.geometry.BrepFace.add_loop()
. - Added
compas.geometry.BrepFace.add_loops()
. - Added
compas.geometry.BrepFace.to_polygon()
with generic implementation. - Added
compas.geometry.BrepFace.try_get_nurbssurface()
. - Added
compas_rhino.geometry.RhinoBrepFace.area
. - Added
compas_rhino.geometry.RhinoBrepFace.centroid
. - Added
compas_rhino.geometry.RhinoBrepFace.edges
. - Added
compas_rhino.geometry.RhinoBrepFace.is_cone
. - Added
compas_rhino.geometry.RhinoBrepFace.is_cylinder
. - Added
compas_rhino.geometry.RhinoBrepFace.is_torus
. - Added
compas_rhino.geometry.RhinoBrepFace.is_sphere
. - Added
compas_rhino.geometry.RhinoBrepFace.nurbssurface
. - Added
compas_rhino.geometry.RhinoBrepFace.vertices
. - Added
compas_rhino.geometry.RhinoBrepLoop.trims
. - Added
compas_rhino.geometry.RhinoBrepEdge.length
. - Added
compas_rhino.geometry.RhinoBrepEdge.centroid
. - Added
compas.geometry.BrepFace.native_face
. - Added
compas.geometry.BrepEdge.native_edge
. - Added
compas.geometry.BrepLoop.native_loop
. - Added
compas.geometry.BrepTrim.native_trim
. - Added
compas.geometry.BrepVertex.native_vertex
. - Added
compas_rhino.geometry.RhinoBrepFace.native_face
. - Added
compas_rhino.geometry.RhinoBrepEdge.native_edge
. - Added
compas_rhino.geometry.RhinoBrepLoop.native_loop
. - Added
compas_rhino.geometry.RhinoBrepTrim.native_trim
. - Added
compas_rhino.geometry.RhinoBrepVertex.native_vertex
. - Added
color
,opacity
attributes tocompas.scene.SceneObject
. - Added
pointcolor
,linecolor
,surfacecolor
,pointsize
,linewidth
attributes tocompas.scene.GeometryObject
. - Added
compas_rhino.geometry.brep.RhinoBrep.to_meshes()
. - Added
compas_blender.
Changed
- Changed
compas.geometry.NurbsSurface.u_space
tospace_u
. - Changed
compas.geometry.NurbsSurface.v_space
tospace_v
. - Changed
compas.geometry.NurbsSurface.u_isocurve
toisocurve_u
. - Changed
compas.geometry.NurbsSurface.v_isocurve
toisocurve_v
. - Changed
compas.brep.Brep.from_step_file
tofrom_step
. - Moved
compas.brep
tocompas.geometry.brep
. - Updated
compas-actions.docs
workflow tov3
. Artists
classes are renamed toSceneObject
classes and now undercompas.scene
,compas_rhino.scene
,compas_ghpython.scene
,compas_blender.scene
.- Context related functions like
register
,build
,redraw
andclear
are moved tocompas.scene.context
fromcompas.scene.SceneObject
. - Changed plugin selection to fall back to a default implementation if possible.
- Fixed
AttributeError
_edges
incompas_rhino.geometry.RhinoBrepLoop.edges
. - Fixed
compas_rhino.geometry.RhinoBrep
serialization. - Naming convention for
ColorDictAttributes
incompas.scene.MeshObject
,compas.scene.NetworkObject
andcompas.scene.VolmeshObject
is changed e.g. fromvertex_color
tovertexcolor
. - The building of correct type of
SceneObject
is moved backed to__new__
ofSceneObject
itself. - Changed
compas_blender.install
to use symlinks. - Moved
URDF
parsing fromcompas.files
to thecompas_robots
extension (compas_robots.files.URDF
).
Removed
- Removed
compas_rhino.geometry.RhinoBrepFace.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepEdge.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepLoop.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepTrim.data.setter
. - Removed
compas_rhino.geometry.RhinoBrepVertex.data.setter
. - Removed
compas.PRECISION
. - Removed
compas.set_precision
.
v1.17.9
Added
Changed
Removed
COMPAS 2.0.0-alpha.2
Added
- Added
Frame.axes
- Added
compas.datastructures.TreeNode
andcompas.datastructures.Tree
classes. - Added
EllipseArtist
tocompas_rhino
andcompas_ghpython
.
Changed
- Changed
Network.is_planar
to rely onNetworkX
insteadplanarity
for planarity checking. - Removed
planarity
from requirements. - Fixed argument order at
compas.geometry.cone.circle
. - Pinned
jsonschema
version to >=4.17, <4.18 to avoid Rust toolchain - Fixed
box_to_compas
incompas_rhino.conversions
to correctly take in the center of the box as the center point of the frame. - Removed
cython
from requirements. - Made X and Y axis optional in the constructor of
Frame
. - Moved
compas.geometry.brep
tocompas.brep
. - Changed
networkx
version to>=3.0
to ensure support foris_planar
. - Moved
compas.geometry.curves.nurbs_.py
andcompas.geometry.surfaces.nurbs_.py
tocompas_nurbs
.
Removed
v1.17.8
Added
Changed
- Pinned
jsonschema
version to >=4.17, <4.18 to avoid Rust toolchain
Removed
v1.17.7
Added
Changed
- Fixed
SyntaxError
when importing COMPAS in GHPython.
Removed
COMPAS 2.0.0-alpha.1
Added
- Added
create_id
tocompas_ghpython.utilities
. (moved fromcompas_fab
) - Added representation for features in
compas.datastructures.Part
. - Added
split
andsplit_by_length
tocompas.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_index
andcompas.datastructures.Graph.index_node
. - Added
compas.datastructures.Graph.edge_index
andcompas.datastructures.Graph.index_edge
. - Added
compas.datastructures.Halfedge.vertex_index
andcompas.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_polygon
pluggable. - Added
compas.geometry.boolean_intersection_polygon_polygon
pluggable. - Added
compas.geometry.boolean_difference_polygon_polygon
pluggable. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygon
pluggable. - Added
compas.geometry.boolean_union_polygon_polygon
Shapely-based plugin. - Added
compas.geometry.boolean_intersection_polygon_polygon
Shapely-based plugin. - Added
compas.geometry.boolean_difference_polygon_polygon
Shapely-based plugin. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygon
Shapely-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_rhino
tocompas_rhino.conversions
. - Added
vertices_and_faces_to_rhino
tocompas_rhino.conversions
. - Added
polyhedron_to_rhino
tocompas_rhino.conversions
. - Added
from_mesh
plugin tocompas_rhino.geometry.RhinoBrep
. - Added
compas.geometry.Plane.worldYZ
andcompas.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.DefaultNurbsCurve
as try-last, Python-only plugin forcompas.geometry.NurbsCurve
. - Added
compas.geometry.DefaultNurbsSurface
as 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.HERE
constant in IronPython for Mac. - Fixed unbound method usage of
.cross()
onPlane
,Vector
andFrame
. - Fixed Grasshopper
draw_polylines
method to returnPolylineCurve
instead ofPolyline
because the latter shows as only points. - Fixed bug in the
is_polygon_in_polygon_xy
that was not correctly generating all the edges of the second polygon before checking for intersections. - Fixed
area_polygon
that was, in some cases, returning a negative area. - Fixed uninstall post-process.
- Fixed support for
System.Decimal
data type on json serialization. - Fixed
offset_polygon
raising a TypeError when inputing a Polygon instead of a list of Points. - Simplified
compas.datastructures.Part
for more generic usage. - Changed
GLTFMesh.from_mesh
to read texture coordinates, vertex normals and colors if available and add toGLTFMesh
- Fixed bug in
VolMeshArtist.draw_cells
for Rhino, Blender and Grasshopper. - Changed edge parameter of
compas.datastructures.Halfedge.edge_faces
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_face
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.is_edge_on_boundary
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_after
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_before
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangent
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangents
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_coordinates
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_length
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_vector
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_point
to 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edg...
COMPAS 1.17.6
Added
- Added
create_id
tocompas_ghpython.utilities
. (moved fromcompas_fab
)
Changed
- Fixed bug that caused a new-line at the end of the
compas.HERE
constant in IronPython for Mac. - Fixed Grasshopper
draw_polylines
method to returnPolylineCurve
instead ofPolyline
because the latter shows as only points. - Fixed uninstall post-process.
- Fixed
area_polygon
that was, in some cases, returning a negative area - Fixed support for
System.Decimal
data type on json serialization. - Fixed
AttributeError
in Plotter'sPolylineArtist
andSegementArtist
. - Fixed wrong key type when de-serializing
Graph
with integer keys leading to node not found. - Fixed bug in
VolMeshArtist.draw_cells
for Rhino, Blender and Grasshopper. - Fixed bug in the
is_polygon_in_polygon_xy
that was not correctly generating all the edges of the second polygon before checking for intersections.