Skip to content

COMPAS 2.14.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 14:30
· 52 commits to main since this release

Added

  • Implemented to_points method in compas.datastructures.Mesh, which before raised a NotImplementedError.
  • Implemented compute_aabb method in compas.datastructures.Datastructure, which before raised a NotImplementedError. Made use of the compas.geometry.bbox.bounding_box function.
  • Implemented compute_obb method in compas.datastructures.Datastructure, which before raised a NotImplementedError. Made use of the compas.geometry.bbox_numpy.oriented_bounding_box_numpy function.
  • Added vertices_to_points method in compas.datastructures.CellNetwork.
  • Added to_points method in compas.datastructures.VolMesh.
  • Added test function test_vertices_to_pointsin test_cell_network.py.
  • Added test function test_to_points in test_graph.py.
  • Added test function test_to_points in test_volmesh.py.
  • Added test functions test_to_points, test_compute_aabb, and test_compute_obb in test_mesh.py.
  • Added setters for SceneObject.worldtransformation and SceneObject.frame, which automatically handles the parent transformations.
  • Added missing property centroid in compas_rhino.geometry.RhinoBrep.
  • Added missing property curves in compas_rhino.geometry.RhinoBrep.
  • Added missing property is_closed in compas_rhino.geometry.RhinoBrep.
  • Added missing property is_orientable in compas_rhino.geometry.RhinoBrep.
  • Added missing property is_surface in compas_rhino.geometry.RhinoBrep.
  • Added missing property is_valid in compas_rhino.geometry.RhinoBrep.
  • Added missing property orientation in compas_rhino.geometry.RhinoBrep.
  • Added missing property surfaces in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_sweep in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_cone in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_plane in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_brepfaces in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_breps in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_torus in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_polygons in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_pipe in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.from_iges in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.to_step in compas_rhino.geometry.RhinoBrep.
  • Added implementation for Brep.to_viewmesh() in compas_rhino.geometry.RhinoBrep.

Changed

  • Fixed bug (inconsistency) in return value of compas.geometry.triangulation_delaunay.delaunay_triangulation. Only the faces of the triangulation should be returned.

Removed

  • Removed property is_compound from compas.geometry.Brep as OCC specific.
  • Removed property is_compoundsolid from compas.geometry.Brep as OCC specific.
  • Removed property solids from compas.geometry.Brep as OCC specific.
  • Removed property shells from compas.geometry.Brep as OCC specific.