Recent Releases of compas
compas - COMPAS 2.14.0
Added
- Implemented
to_pointsmethod incompas.datastructures.Mesh, which before raised aNotImplementedError. - Implemented
compute_aabbmethod incompas.datastructures.Datastructure, which before raised aNotImplementedError. Made use of thecompas.geometry.bbox.bounding_boxfunction. - Implemented
compute_obbmethod incompas.datastructures.Datastructure, which before raised aNotImplementedError. Made use of thecompas.geometry.bbox_numpy.oriented_bounding_box_numpyfunction. - Added
vertices_to_pointsmethod incompas.datastructures.CellNetwork. - Added
to_pointsmethod incompas.datastructures.VolMesh. - Added test function
test_vertices_to_pointsintest_cell_network.py. - Added test function
test_to_pointsintest_graph.py. - Added test function
test_to_pointsintest_volmesh.py. - Added test functions
test_to_points,test_compute_aabb, andtest_compute_obbintest_mesh.py. - Added setters for
SceneObject.worldtransformationandSceneObject.frame, which automatically handles the parent transformations. - Added missing property
centroidincompas_rhino.geometry.RhinoBrep. - Added missing property
curvesincompas_rhino.geometry.RhinoBrep. - Added missing property
is_closedincompas_rhino.geometry.RhinoBrep. - Added missing property
is_orientableincompas_rhino.geometry.RhinoBrep. - Added missing property
is_surfaceincompas_rhino.geometry.RhinoBrep. - Added missing property
is_validincompas_rhino.geometry.RhinoBrep. - Added missing property
orientationincompas_rhino.geometry.RhinoBrep. - Added missing property
surfacesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_sweepincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_coneincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_planeincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_brepfacesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_brepsincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_torusincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_polygonsincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_pipeincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.from_igesincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.to_stepincompas_rhino.geometry.RhinoBrep. - Added implementation for
Brep.to_viewmesh()incompas_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_compoundfromcompas.geometry.Brepas OCC specific. - Removed property
is_compoundsolidfromcompas.geometry.Brepas OCC specific. - Removed property
solidsfromcompas.geometry.Brepas OCC specific. - Removed property
shellsfromcompas.geometry.Brepas OCC specific.
- Python
Published by github-actions[bot] 6 months ago
compas - COMPAS 2.13.0
Added
- Added
compas.scene.Scene.add_group()for adding group. - Added
compas.scene.Group.add_from_list()for adding a list of items to a group. - Added implementation for
compas.geometry.SphericalSurface.isocurve_u. - Added implementation for
compas.geometry.SphericalSurface.isocurve_v. - Added implementation for
compas.geometry.CylindricalSurface.isocurve_u. - Added implementation for
compas.geometry.CylindricalSurface.isocurve_v.
Changed
- Fixed error in
circle_to_compasfrom Rhino. - Fixed Rhino to Rhino brep serialization.
- Upated
compas.scene.Group.add()to pass on group kwargs as default for child items. - Fixed bug in context detection, which wrongly defaults to
Viewerinstead ofNone. - Fixed bug in calculation of
compas.geometry.Polyhedron.edgesif geometry is computed using numpy. - Fixed bug in
Grpah.from_pointcloudwhich uses degree parameter wrongly.
Removed
- Python
Published by github-actions[bot] 9 months ago
compas - COMPAS 2.12.0
Added
- Added
inheritancefield to__jsondump__ofcompas.datastructures.Datastructureto allow for deserialization to closest available superclass of custom datastructures.
Changed
Removed
- Python
Published by github-actions[bot] 9 months ago
compas - COMPAS 2.11.0
Added
- Added
Grouptocompas.scene. - Added
compas.geometry.Brep.cap_planar_holes. - Added
compas_rhino.geometry.RhinoBrep.cap_planar_holes. - Added
compas.geometry.angle_vectors_projected. - Added
compas.geometry.Brep.from_curves. - Added
compas_rhino.geometry.RhinoBrep.from_curves.
Changed
- Changed
SceneObject.frameto read-only result ofFrame.from_transformation(SceneObject.worldtransformation), representing the local coordinate system of the scene object in world coordinates. - Changed
SceneObject.worldtransformationto the multiplication of all transformations from the scene object to the root of the scene tree, there will no longer be an additional transformation in relation to the object's frame. - Fixed call to
astar_shortest_pathinGraph.shortest_path. - Fixed a bug when printing an empty
Tree. - Fixed a bug in
Groupfor IronPython where the decoding declaration was missing. - Fixed a bug where a
Groupwithout name could not be added to the scene.
Removed
- Python
Published by github-actions[bot] 10 months ago
compas - COMPAS 2.10.0
Added
- Added
fliptocompas.geometry.Brep. - Added implementation of
fliptocompas_rhino.geometry.RhinoBrep.
Changed
- Fixed unexpected behavior for method
Plane.is_parallelfor opposite normals.
Removed
- Python
Published by github-actions[bot] 12 months ago
compas - COMPAS 2.9.1
Added
- Added method
frame_attocompas.geometry.BrepFace. - Added method
frame_attocompas_rhino.geometry.RhinoBrepFace. - Added property
is_reversedtocompas.geometry.BrepFace. - Added property
is_reversedtocompas_rhino.geometry.RhinoBrepFace.
Changed
- Fixed publish to YAK via CI workflow.
- Added selector for
testandprodto CI workflow. - Fixed
AttributeErrorincompas.data.DataEncoder.defaultdue tonp.float_no longer being available innumpy>=2.
Removed
- Python
Published by github-actions[bot] about 1 year ago
compas - COMPAS 2.9.0
Added
- Added
DevToolswith support for automatic reloading of local python modules. - Added implementation for
compas_rhino.geometry.RhinoBrep.from_step. - Added CPython implementations of GH components for Rhino8.
- Added import to new
yakerizetask fromcompas_invocations2. - Added import to new
publish_yaktask fromcompas_invocations2.
Changed
- Moved
unload_modulesto be a static method ofDevTools. Theunload_modulesfunction is an alias to this. - Fixed unexpected behavior in
compas.geometry.bbox_numpy.minimum_area_rectangle_xy. - Changed
requirements.txtto allownumpy>=2. - Fixed bug in
compas.geometry.Polygon.pointssetter by removing duplicate points if they exist. - Fixed bug in
compas.geometry.Polygon.planeby aligning the normal of the bestfit plane with the approximate normal of the polygon faces. - Changed the order of face vertices in
compas.geometry.Surface.to_vertices_and_facesto a counter clockwise cycling direction and outward facing normals for curved surfaces. - Deprecated the
-v8.0flag incompas_rhino.install. Install to Rhino8 by following: https://compas.dev/compas/latest/userguide/cad.rhino8.html. - Fixed
InfoGrasshopper component for cpython to handle non-bootstrapped environments.
Removed
- Python
Published by github-actions[bot] about 1 year ago
compas - COMPAS 2.8.1
Added
Changed
- Fixed
NotImplementedErrorwhen callingcompas_rhino.conversions.surface_to_compason NURBS Surface. - Fixed
NotImplementedErrorwhen callingcompas_rhino.conversions.surface_to_compason Surface. - Changed point comparison (
compas.geometry.Point.__eq__) to useTOL.is_allcloseinstead of raw coordinate comparison. - Changed vector comparison (
compas.geometry.Vector.__eq__) to useTOL.is_allcloseinstead of raw coordinate comparison. - Fixed bug in frame comparison (
compas.geometry.Frame.__eq__). - Fixed bug in
compas.geometry.oriented_bounding_box_numpy. - Fixed cannot copy
Lineusingdeepcopy.
Removed
- Python
Published by github-actions[bot] about 1 year ago
compas - COMPAS 2.8.0
Added
- Added implementation of
RhinoBrep.fillet()andRhinoBrep.filleted()tocompas_rhino. - Added
Frame.invertandFrame.inverted. - Added
Frame.flipandFrame.flippedas alias for invert and inverted. - Added
Vector.flipandVector.flippedas alias for invert and inverted.
Changed
- Fixed
native_edgeproperty ofRhinoBrepEdge. - Expose the parameters
radiusandnmaxfromcompas.topology._face_adjacencytocompas.topology.face_adjacencyand further propagate them tounify_cyclesandMesh.unify_cycles. - Modify
face_adjacencyto avoid usingcompas.topology._face_adjacencyby default when there are more than 100 faces, unless one of the parametersradius,nmaxis passed. - Changed
unify_cyclesto use the first face in the list as root if no root is provided.
Removed
- Python
Published by github-actions[bot] about 1 year ago
compas - COMPAS 2.7.0
Added
- Added attribute
start_vertextocompas.geometry.BrepTrim. - Added attribute
end_vertextocompas.geometry.BrepTrim. - Added attribute
verticestocompas.geometry.BrepTrim. - Added attribute
start_vertextocompas_rhino.geometry.RhinoBrepTrim. - Added attribute
start_vertextocompas_rhino.geometry.RhinoBrepTrim. - Added attribute
verticestocompas_rhino.geometry.RhinoBrepTrim.
Changed
- Fixed
PluginNotInstalledErrorwhen usingBrep.from_boolean_*in Rhino. - Added support for
Polylineas input forcompas_rhino.Brep.from_extrusion.
Removed
- Python
Published by github-actions[bot] about 1 year ago
compas - COMPAS 2.6.1
Added
Changed
- Fixed bug in
compas_rhino.scene.RhinoMeshObject.clear().
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.6.0
Added
- Added key conversion map to
compas.colors.ColorDictto avoid serialisation problems with tuple keys when used in combination with edges. - Added
Scene.find_all_by_itemtype.
Changed
- Fixed bug in
VolMesh.delete_cell. - Fixed
NoneTypeerror when callingcompas.geometry.Sphere.edges. - Fixed bug in
VolMesh.vertex_halffaces. - Fixed bug in
VolMesh.vertex_cells. - Fixed bug in
VolMesh.is_halfface_on_boundary.
Removed
- Removed
VolMesh.halfface_adjacent_halffacebecause of general nonsensicalness, and because it is (and probably always has been) completely broken.
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.5.0
Added
- Added instructions for creating new data types to the dev guide.
- Added
compact=False,minimal=Falsetocompas.data.Data.to_json()tocompas.data.Data.to_jsonstring(). - Added
copy_guid=Falsetocompas.data.Data.copy(). If true, the copy has the same guid as the original. - Added implementation of
Brep.from_loft()tocompas_rhino.
Changed
- Fixed
RuntimeErrorwhen usingcompas_rhino.unload_modulesin CPython`. - Fixed bug in
Box.scaledcausing aTypeErrordue to incorrect parameter forwarding. - Changed argument names of
Box.scale()tox,y,z, instead offactorand madeyandzoptional to keep positional arguments backwards compatible. - Fixed import errors in
compas_rhino.conduitsfor Rhino 8. - Fixed doctest failures.
- Fixed bug in serialization when
compas.datastructures.attributes.AttributeViewis used. - Fixed bug in the serialisation of empty scenes.
- Fixed bug in serialisation process due to
nameattribute appearing in json representation after copy even if not present before copy.
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.4.3
Added
Changed
- Fixed support for
compas_gpythonin Rhino 8 Grasshopper CPython components. - Fixed
Graph.from_edgesalways returningNone.
Removed
- Removed deprecated module
compas_ghpython.utilities. For drawing functions, usecompas_ghpython.drawingdirectly.
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.4.2
Added
- Added
compas.scene.Scene.find_by_nameto find the first scene object with the given name. - Added
compas.scene.Scene.find_by_itemtypeto find the first scene object with a data item of the given type.
Changed
- Fixed args for
SceneObjecton GrasshopperDrawcomponent. - Replaced use of
Rhino.Geometry.VertexColors.SetColorswith a for loop andSetColorincompas_ghpytonsince the former requires aSystem.Array. - Fixed
Mesh.face_circle.
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.4.1
Added
Changed
- Changed supported Blender versions to latest LTS versions (3.3, 3.6, 4.2).
- Fixed bug in
compas_rhino.conversions.cone_to_compas. - Fixed bug in
compas_rhino.conversions.cylinder_to_compas. - Fixed bug in
compas_rhino.scene.RhinoMeshObject.draw_vertexnormals(scale not used). - Fixed bug in
compas_rhino.scene.RhinoMeshObject.draw_facenormals(scale not used). - Changed scene object registration to stop printing messages.
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.4.0
Added
- Added
compas.scene.Scene.redraw. - Added
compas.scene.Scene.context_objectsrepresenting all objects drawn in the visualisation context by the scene. - Added
compas.scene.Scene.clear_contextwith optionalguidsto clear some or all objects from the visualisation context. - Added
clear_sceneandclear_contextparameters tocompas.scene.Scene.clearto differentiate between removing objects from the scene internally or removing corresponding objects from the viz context, or both (default). - Added
compas_rhino.conversions.extrusion_to_compas_boxas direct conversion of extrusion breps.
Changed
- Changed the
__str__ofcompas.geometry.Frame,compas.geometry.Plane,compas.geometry.Polygon,compas.geometry.Polyhedron,compas.geometry.Quaternionto use a limited number of decimals (determined byTolerance.PRECISION). Note:__repr__will instead maintain full precision. - Changed the
__str__ofcompas.geometry.Pointcloudto print total number of points instead of the long list of points. Note:__repr__will still print all the points with full precision. - Fixed bug in
Pointcloud.from_box(). - Changed
compas.scene.MeshObjectto not use vertex coordinate caching because it is too fragile. - Changed
compas_rhino.scene.RhinoMeshObjectto keep track of element-guid pairs in dicts. - Changed
compas.scene.Scene._guidsto a default value of[]. - Fixed bug due to missing import in
compas_rhino.scene.graphobject. - Changed
compas_rhino.scene.RhinoMeshObject.draw_vertexnormalsto use the same selection of vertices asdraw_vertices. - Changed
compas_rhino.scene.RhinoMeshObject.draw_vertexnormalsto use the corresponding vertex color if no color is specified. - Changed
compas_rhino.scene.RhinoMeshObject.draw_facenormalsto use the same selection of vertices asdraw_faces. - Changed
compas_rhino.scene.RhinoMeshObject.draw_facenormalsto use the corresponding face color if no color is specified.
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.3.0
Added
- Added code coverage report uploads to codecov.io.
- Added
compas.geometry.surfaces.surface.Surface.from_native. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_plane. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_cylinder. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_extrusion. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_frame. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_interpolation. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_revolution. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_sphere. - Added
compas.geometry.surfaces.nurbs.NurbsSurface.from_torus. - Added
compas_rhino.geometry.surfaces.surface_from_native. - Added
compas_rhino.geometry.surfaces.nurbssurface_from_native. - Added
compas_rhino.geometry.surfaces.nurbssurface_from_cylinder. - Added
compas_rhino.geometry.surfaces.nurbssurface_from_fill. - Added
compas_rhino.geometry.surfaces.nurbssurface_from_torus. - Added
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.from_corners. - Added
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.from_cylinder. - Added
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.from_frame. - Added
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.from_sphere. - Added
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.from_torus. - Added
compas.geometry.curves.curve.Curve.from_native. - Added
compas_rhino.geometry.curves.curve.Curve.from_native. - Added
compas_rhino.geometry.curves.nurbs.NurbsCurve.from_native. - Added
compas_rhino.conversions.breps.brep_to_compas_mesh. - Added
compas_rhino.conversions.docobjects.brepobject_to_compas. - Added
compas_rhino.conversions.docobjects.curveobject_to_compas. - Added
compas_rhino.conversions.docobjects.meshobject_to_compas. - Added
compas_rhino.conversions.docobjects.pointobject_to_compas. - Added
compas.datastructures.HashTreeandcompas.datastructures.HashNode.
Changed
- Fixed bug in
compas.geometry.curves.curve.Curve.reversedby adding missing parenthesis. - Fixed all doctests so we can run
invoke test --doctest. - Changed
compas.geometry.surfaces.surface.Surface.__new__to prevent instantiation ofSurfacedirectly. - Changed
compas.geometry.surfaces.nurbs.NurbsSurface.__new__to prevent instantiation ofNurbsSurfacedirectly. - Fixed bug in
compas.geometry.surfaces.nurbs.NurbsSurface.__data__. - Changed
compas.geometry.surfaces.nurbs.new_nurbssurface_from_...tonurbssurface_from_.... - Changed
compas.geometry.curves.curve.Curve.__new__to prevent instantiation ofCurvedirectly. - Changed
compas.geometry.curves.nurbs.new_nurbscurve_from_...tonurbscurve_from_.... - Changed
compas.geometry.curves.nurbs.NurbsCurve.__new__to prevent instantiation ofNurbsCurvedirectly. - Changed
compas_rhino.geometry.curves.new_nurbscurve_from_...tonurbscurve_from_.... - Fixed
compas_ghpythonGrasshopper components not included in published pakcage. - Changed
compas.colors.Color.coerceto take color as is, if it is already an instance ofcompas.colors.Color. - Changed
compas_rhino.conversions.surfaces.surface_to_compasto work only with surface geometry. - Changed
compas_rhino.conversions.curves.curve_to_compas_lineto work only with geometry. - Changed
compas_rhino.conversions.curves.curve_to_compas_circleto work only with geometry. - Changed
compas_rhino.conversions.curves.curve_to_compas_ellipseto work only with geometry. - Changed
compas_rhino.conversions.curves.curve_to_compas_polylineto work only with geometry. - Changed
compas_rhino.objects.get_point_coordinatesto deprecated (removed in v2.3). - Changed
compas_rhino.objects.get_line_coordinatesto deprecated (removed in v2.3). - Changed
compas_rhino.objects.get_polyline_coordinatesto deprecated (removed in v2.3). - Changed
compas_rhino.objects.get_polygon_coordinatesto deprecated (removed in v2.3). - Fixed a bug in
worldtransformationofcompas.scene.SceneObjectto include the object's own frame.
Removed
- Removed pluggable
compas.geometry.surfaces.surface.new_surface. - Removed pluggable
compas.geometry.surfaces.surface.new_surface_from_plane. - Removed
compas.geometry.surfaces.surface.Surface.from_plane. - Removed
compas.geometry.surfaces.surface.ConicalSurface.__new__. - Removed
compas.geometry.surfaces.surface.CylindricalSurface.__new__. - Removed
compas.geometry.surfaces.surface.PlanarSurface.__new__. - Removed
compas.geometry.surfaces.surface.SphericalSurface.__new__. - Removed
compas.geometry.surfaces.surface.ToroidalSurface.__new__. - Removed
compas.geometry.surfaces.nurbs.NurbsSurface.__init__. - Removed
compas_rhino.geometry.surfaces.new_surface. - Removed
compas_rhino.geometry.surfaces.new_nurbssurface. - Removed
compas_rhino.geometry.surfaces.nurbs.NurbsSurface.__from_data__. - Removed
compas_rhino.geometry.surfaces.surface.Surface.from_corners. - Removed
compas_rhino.geometry.surfaces.surface.Surface.from_cylinder. - Removed
compas_rhino.geometry.surfaces.surface.Surface.from_frame. - Removed
compas_rhino.geometry.surfaces.surface.Surface.from_sphere. - Removed
compas_rhino.geometry.surfaces.surface.Surface.from_torus. - Removed
compas.geometry.curves.arc.Arc.__new__. - Removed
compas.geometry.curves.bezier.Bezier.__new__. - Removed
compas.geometry.curves.conic.Conic.__new__. - Removed
compas.geometry.curves.polyline.Polyline.__new__. - Removed
compas.geometry.curves.curve.new_curve. - Removed
compas.geometry.curves.curve.new_nurbscurve. - Removed
compas_rhino.geometry.curves.new_curve. - Removed
compas_rhino.geometry.curves.new_nurbscurve. - Removed
compas_rhino.conversions.surfaces.data_to_rhino_surface. - Removed
compas_rhino.conversions.surfaces.surface_to_compas_data. - Removed
compas_rhino.conversions.surfaces.surface_to_compas_quadmesh. - Removed
compas_rhino.conversions.curves.curve_to_compas_data.
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.2.1
Added
Changed
- Fixed error in
compas_ghpythoncausingSceneto fail in Grasshopper.
Removed
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.2.0
Added
- Added
maxiterparameter tocompas.geometry.icp_numpy. - Added
resolution_uandresolution_vtocompas.geometry.Shapeto control discretisation resolution. - Added
vertices,edges,faces,trianglestocompas.geometry.Shape. - Added
points,lines,polygonstocompas.geometry.Shape. - Added abstract
compute_vertices,compute_edges,compute_faces,compute_trianglestocompas.geometry.Shape. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Box. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Capsule. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Cone. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Cylinder. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Sphere. - Added implementation of
compute_vertices,compute_edges,compute_facestocompas.geometry.Torus. - Added
compas_blender.scene.ShapeObject. - Added
compas.geometry.vector.__radd__. - Added
compas.geometry.vector.__rsub__. - Added
compas.geometry.vector.__rmul__. - Added
compas.geometry.vector.__rtruediv__. - Added
VolMesh.cell_lines,VolMesh.cell_polygons. - Added
VolMesh.vertex_edges. - Added
VolMesh.from_meshes. - Added
VolMesh.from_polyhedrons.
Changed
- Changed
compas_ghpython/utilities/drawing.pyto removeSystemdependency. - Fixed bug in
compas.geometry.ic_numpy, which was caused by returning only the last transformation of the iteration process. - Changed
compas.geometry.Geometry.scaledto usecompas.geometry.Geometry.scaleon a copy. - Changed
compas.geometry.Geometry.translatedto usecompas.geometry.Geometry.translateon a copy. - Changed
compas.geometry.Geometry.rotatedto usecompas.geometry.Geometry.rotateon a copy. - Changed
VolMesh._planeback to point to a cell for every triplet of vertices. - Fixed
VolMesh.add_halfface,VolMesh.add_cell,VolMesh.vertex_halffaces,VolMesh.vertex_cells,VolMesh.edge_halffaces,VolMesh.halfface_cell,VolMesh.halfface_opposite_cell,VolMesh.halfface_opposite_halfface,VolMesh.cell_neighbors. - Changed ordering of
Volmesh.edges()to be deterministic. - Changed ordering and direction of
Volmesh.vertex_edges()to be deterministic. - Changed check for empty vertices and faces to use
is Noneto add support fornumpyarrays. - Changed order of
uandvofcompas.geometry.SphericalSurfaceto the match the excpected parametrisation. - Changed
compas.geometry.Shape.to_vertices_and_facesto useShape.verticesandShape.facesorShape.triangles. - Changed default of
compas.scene.descriptors.color.ColorAttributetoNoneto support native coloring in CAD contexts. - Changed
compas.colors.ColorDict.__data__andcompas.colors.ColorDict.__from_data__to properly support serialisation. - Moved
compas_blender.utilities.drawingtocompas_blender.drawingwith backward compatible imports and deprecation warning. - Moved
compas_ghpython.utilities.drawingtocompas_ghpython.drawingwith backward compatible imports and deprecation warning. - Moved
compas_rhino.utilities.drawingtocompas_rhino.drawingwith backward compatible imports and deprecation warning. - Changed
draw_nodesanddraw_edgesofcompas_blender.scene.GraphObject,compas_ghpython.scene.GraphObject, andcompas_rhino.scene.GraphObjectto use only attributes instead of parameters. - Changed
draw_vertices,draw_edgesanddraw_facesofcompas_blender.scene.MeshObject,compas_ghpython.scene.MeshObject, andcompas_rhino.scene.MeshObjectto use only attributes instead of parameters. - Changed
draw_vertices,draw_edgesanddraw_facesofcompas_blender.scene.VolMeshObject,compas_ghpython.scene.VolMeshObject, andcompas_rhino.scene.VolMeshObjectto use only attributes instead of parameters. - Changed registration of
Capsule,Cone,Cylinder,Sphere,TorustoShapeObjectincompas_blender.scene. - Updated
compas.geometry.vector.__mul__to allow element-wise multiplication with another vector. - Updated
compas.geometry.vector.__truediv__to allow element-wise division with another vector. - Fixed bug in registration
shapelyboolean plugins. - Temporarily restrict
numpyto versions lower than2.x.
Removed
- Removed
Systemdependency incompas_ghpython/utilities/drawing.py. - Removed GH plugin for
compas.scene.clearsince it clashed with the Rhino version.
- Python
Published by github-actions[bot] over 1 year ago
compas - COMPAS 2.1.1
Added
- Added
compas.geometry.Line.point_from_startandcompas.geometry.Line.point_from_end. - Added
compas.geometry.Line.flipandcompas.geometry.Line.flipped. - Added an
compas.geometry.Frame.interpolate_frame(s)method - Added
compas.colors.Color.contrast. - Added
compas.geometry.Brep.from_plane. - Added
compas.tolerance.Tolerance.angulardeflection. - Added
compas.tolerance.Tolerance.update_from_dict. - Added
compas.scene.SceneObject.sceneattribute.
Changed
- Changed and update the
compas_view2examples intocompas_viewer. - Changed and updated the
compas_view2examples intocompas_viewer. - Changed
compas.scene.Sceneto inherent fromcompas.datastructrues.Tree. - Changed
compas.scene.SceneObjectto inherent fromcompas.datastructrues.TreeNode. - Changed
compas.geoemetry._core.predicates_3bug fix inis_coplanarwhile loop when there are 4 points. - Changed to implementation of
Mesh.unify_cyclesto use the corresponding function ofcompas.topology.orientation. - Fixed bug in
compas.topology.orientation.unify_cycles. - Fixed bug in
Mesh.thickened. - Fixed various bugs in
compas.geometry.Quaternion. - Changed repo config to
pyproject.toml. - Fixed broken import in
copas.geometry.trimesh_smoothing_numpy. - Changed
RhinoBrep.trimmedto return single result or raiseBrepTrimmingErrorinstead of returning a list. - Changed order of imports according to
isortand changed line length to179. - Changed use of
compas.geometry.allclosetocompas.tolerance.TOL.is_allclose. - Changed use of
compas.geometry.closetocompas.tolerance.TOL.is_close. - Changed imports of itertools to
compas.itertoolsinstead ofcompas.utilities. - Changed
compas.tolerance.Toleranceto a singleton, to ensure having only library-wide tolerance values. - Updated
compas_rhino.conversions.point_to_compasto allow forRhino.Geometry.Pointas input. - Changed
compas.datastructures.Tree.print_hierarchytocompas.datastructures.Tree.__str__. - Fixed
compas.geometry.bbox_numpy.minimum_volume_boxto avoidnumpy.linalg.LinAlgError.
Removed
- Removed
compas.scene.SceneObjectNode, functionalities merged intocompas.scene.SceneObject. - Removed
compas.scene.SceneTree, functionalities merged intocompas.scene.Scene. - Removed default implementation of
compas.geometry.trimesh_geodistancesince nonexistent. - Removed
compas.utilities.geometric_keyand replaced it bycompas.tolerance.TOL.geometric_key. - Removed
compas.utilities.geometric_key_xyand replaced it bycompas.tolerance.TOL.geometric_key_xy. - Removed indexed attribute access from all geometry classes except
Point,Vector,Line,Polygon,Polyline. - Removed
compas.datastructures.Tree.print_hierarchy.
- Python
Published by github-actions[bot] almost 2 years ago
compas - COMPAS 2.1.0
Added
- Added optional argument
cap_endstoBrep.from_extrusion(). - Added implementation in
RhinoBrep.from_extrusion(). - Added
max_depthtocompas.datastructures.Tree.print_hierarchy(). - Added
compas.datastructures.Tree.to_graph().
Changed
- Changed
compas.datastructures.TreeNodeto skip serialisingattributes,nameandchildrenif being empty. - Changed
compas.datastructures.TreeNode.__repr__to omitnameifNone. - Fix bug in
compas_rhino.geometry.NurbsCurve.from_parametersandcompas_rhino.geometry.NurbsCurve.from_pointsrelated to the value of the parameterdegree. - Changed
compas.scene.descriptors.ColorDictAttributeto accept acompas.colors.ColorDictas value. - Changed
compas_rhino.scene.RhinoMeshObject.drawto preprocess vertex and face color dicts into lists. - Changed
compas_rhino.conversions.vertices_and_faces_to_rhinoto handle vertex color information correctly.
Removed
- Python
Published by github-actions[bot] almost 2 years ago
compas - COMPAS 2.0.4
Added
Changed
- Fixed bug in
compas_rhino.scene.
Removed
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.3
Added
- Added
compas.linalg. - Added
compas.matrices. - Added
compas.itertools. - Added
compas_rhino.scene.helpers. - Added
compas.scene.SceneObject.contrastcolor.
Changed
- Fixed bug in
compas.geometry.oriented_bounding_box_numpyto support points in plane. - Changed
compas_rhino.scene.RhinoSceneObjectto pass on positional arguments. - Changed
compas_rhino.scene.RhinoBoxObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoBrepObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCapsuleObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCircleObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoConeObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCurveObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoCylinderObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoEllipseObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoFrameObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoGraphObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoLineObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoMeshObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPlaneObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPointObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolygonObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolyhedronObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoPolylineObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoSphereObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoSurfaceObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoTorusObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoVectorObject.drawto use attributes only. - Changed
compas_rhino.scene.RhinoVolMeshObject.drawto use attributes only.
Removed
- Removed
compas.geometry.linalg. - Removed
compas.topology.matrices. - Removed
compas.utilities.itertools.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.2
Added
- Added Blender paths for Windows.
- Added
compas_rhino.print_python_path. - Added
compas_blender.print_python_path.
Changed
- Fixed bug in
compas.tolerange.Tolerance.format_number()related to IronPython environment.
Removed
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.1
Added
- Added pluggable
compas.geometry.surfaces.nurbs.new_nurbssurface_from_native. - Added
compas.geometry.NurbsSurface.from_native. - Added plugin
compas_rhino.geometry.surfaces.new_nurbssurface_from_plane.
Changed
- Fixed bug in
compas_blender.clear. - Fixed bug in
compas_rhino.conversions.surface_to_compas. - Fixed bug in
compas_rhino.conversions.surface_to_compas_mesh. - Fixed bug in
compas_rhino.conversions.surface_to_compas_quadmesh. - Fixed bug in plugin
compas_rhino.geometry.curves.new_nurbscurve_from_native. - Fixed bug in plugin
compas_rhino.geometry.surfaces.new_nurbssurface_from_native.
Removed
- Removed plugin
compas_rhino.geometry.surfaces.new_surface_from_plane.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.0
Added
- Added
groupattribute tocompas_rhino.scene.RhinoSceneObject. - Added
_guid_mesh,_guids_vertices,_guids_edges,_guids_faces,_guids_vertexlabels,_guids_edgelables,_guids_facelabels,_guids_vertexnormals,_guids_facenormals,_guids_spheres,_guids_pipes,disjointattributes tocompas_rhino.scene.MeshObject. - Added
_guids_nodes,_guids_edges,_guids_nodelabels,_guids_edgelables,_guids_spheres,_guids_pipesattributes tocompas_rhino.scene.GraphObject. - Added
_guids_vertices,_guids_edges,_guids_faces,_guids_cells,_guids_vertexlabels,_guids_edgelables,_guids_facelabels,_guids_celllabels,disjointattributes tocompas_rhino.scene.MeshObject. - Added test for
compas.scene.Sceneserialisation.
Changed
- Changed
compas.scene.Mesh'sshow_vertices,show_edges,show_facesto optionally accept a sequence of keys. - Changed
compas.scene.Graph'sshow_nodes,show_edgesto optionally accept a sequence of keys. - Changed
compas.scene.VolMesh'sshow_vertices,show_edges,show_faces,show_cellsto optionally accept a sequence of keys. - Fixed missing implementation of
Sphere.base. - Fixed bug in
intersection_sphere_sphere.
Removed
- Removed kwargs from
compas_rhino.scene.MeshObject.draw. - Removed kwargs from
compas_rhino.scene.GraphObject.draw. - Removed kwargs from
compas_rhino.scene.VolMeshObject.draw.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.0-beta.4
Added
- Added
compas_rhino.objects. - Added
compas_rhino.layers. - Added
compas_rhino.install_with_pip. - Added
before_drawpluggable tocompas.scene.Scene.draw. - Added
after_drawpluggable tocompas.scene.Scene.draw. - Added description in tutorial about
compas.scene.context. - Added
compas_blender.data. - Added
compas_blender.collections. - Added
compas_blender.objects. - Added
compas_rhino.ui. - Added
compas_rhino.unload_modules. - Added
compas_ghpython.unload_modules. - Added
compas_ghpython.sets. - Added
compas_ghpython.timer.
Changed
- Changed
compas.tolerance.Toleranceinto singleton. - Changed
compas_rhino.geometry.curves.nursb.RhinoNurbsCurveto use private data API. - Changed
compas_rhino.geometry.surfaces.nursb.RhinoNurbsSurfaceto use private data API. - Changed
compas.scene.Scene.redrawtodraw. - Fixed
register_scene_objectsnot called when there is a context given in kwargs ofSceneObject.
Removed
- Removed
compas_blender.geometry.curves. - Removed
compas_rhino.utilities.objects. - Removed
compas_rhino.utilities.layers. - Removed
compas_rhino.utilities.constructors. - Removed
compas_rhino.utilities.document. - Removed
compas_rhino.utilities.geometry. - Removed
compas_rhino.utilities.misc. - Removed
compas_blender.utilities.data. - Removed
compas_blender.utilities.collections. - Removed
compas_blender.utilities.objects. - Removed
compas_ghpython.utilities.sets. - Removed
compas_ghpython.utilities.timer.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.0-beta.3
Added
- Added
compas.dtastructures.Networkas alias ofcompas.datastructures.Graph. - Added
compas.data.Data.nameand included it in serialisation in casecompas.data.Data._name is not None.
Changed
- Merged
compas.datastructures.Halfedgeintocompas.datastructures.Mesh. - Merged
compas.datastructures.Networkintocompas.datastructures.Graph. - Merged
compas.datastructures.Halffaceintocompas.datastructures.VolMesh. - Fixed
RhinoBrepdoesn't get capped after trimming. - Changed
compas.data.Data.datatocompas.data.Data.__data__. - Changed
compas.data.Data.dtypetocompas.data.Data.__dtype__. - Changed
compas.data.Data.from_datatocompas.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
attributesfromcompas.datastructures.Assembly.data. - Removed
attributesfromcompas.datastructures.CellNetwork.data. - Removed
attributesfromcompas.datastructures.Graph.data. - Removed
attributesfromcompas.datastructures.Mesh.data. - Removed
attributesfromcompas.datastructures.Tree.data. - Removed
attributesfromcompas.datastructures.VolMesh.data. - Removed
compas.data.Data.to_data. - Removed
compas.rpc.XFunc.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.0-beta.2
Added
- Added
viewerinstanceincompas.scene.Sceneto support viewers context detection. - Added
compas_rhino8as 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
showflag tocompas.scene.SceneObject. - Added
show_pointsflag tocompas.scene.GeometryObject. - Added
show_linesflag tocompas.scene.GeometryObject. - Added
show_surfacesflag tocompas.scene.GeometryObject. - Added
show_verticesflag tocompas.scene.MeshObject. - Added
show_edgesflag tocompas.scene.MeshObject. - Added
show_facesflag tocompas.scene.MeshObject. - Added
show_nodesflag tocompas.scene.NetworkObject. - Added
show_edgesflag tocompas.scene.NetworkObject. - Added
show_verticesflag tocompas.scene.VolMeshObject. - Added
show_edgesflag tocompas.scene.VolMeshObject. - Added
show_facesflag tocompas.scene.VolMeshObject. - Added
show_cellsflag tocompas.scene.VolMeshObject. - Added
compas.data.Data.to_jsonstringandcompas.data.Data.from_jsonstring. - Added
compas.data.Data.attributes. - Added optional param
working_directorytocompas.rpc.Proxyto be able to start services defined in random locations. - Added
compas.datastructures.Datastructure.transformandcompas.datastructures.Datastructure.transformed. - Added
compas.datastructures.Datastructure.transform_numpyandcompas.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.weldandcompas.datastructures.Mesh.remove_duplicate_vertices. - Added
compas.datastructures.Mesh.quads_to_triangles. - Added
compas.datastructures.Mesh.unify_cycles. - Added
compas.datastructures.Mesh.aabbandcompas.datastructures.Mesh.obb. - Added
compas.datastructures.Mesh.offsetandcompas.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.Pointandcompas.geometry.Vectorto use a limited number of decimals (determined byTolerance.PRECISION). Note:__repr__will instead maintain full precision. - Changed
docsWorkflow to only be triggered on review approval in pull requests. - Changed
drawimplementations ofcompas.scene.SceneObjectto always use theworldtransformationof theSceneObject. - Fixed typo in name
Rhino.Geometry.MeshingParametersincompas_rhino.geometry.RhinoBrep.to_meshes(). - Fixed
TypeErrorExceptionwhen serializing aMeshwhich has been converted from Rhino. - Fixed color conversions in
compas_rhion.conversions.mesh_to_compas. - Changed
compas.data.Data.nameto be stored incompas.data.Data.attributes. - Changed
compas.data.Data.__jsondump__to includecompas.data.Data.attributesif the dict is not empty. - Changed
compas.data.Data.__jsonload__to updatecompas.data.Data.attributesif the attribute dict is provided. - Changed
compas.datastructures.Graphto take additional**kwargs, instead of onlyname=Nonespecifically. - Changed
compas.datastructures.Networkto take additional**kwargs, instead of onlyname=Nonespecifically. - Changed
compas.datastructures.Halfedgeto take additional**kwargs, instead of onlyname=Nonespecifically. - Changed
compas.datastructures.Meshto take additional**kwargs, instead of onlyname=Nonespecifically. - Moved registration of
pingandremote_shutdownof the RPC server tocompas.rpc.Server.__init__(). - Moved
FileWatcherServicetocompas.rpc.services.watcherso it can be reused. - Changed
compas.datastructures.Mesh.subdividetocompas.datastructures.Mesh.subdivided. - Moved
compas.numerical.pca_numpytocompas.geometry.pca_numpy. - Moved
compas.numerical.scalafield_contourstocompas.geometry.scalarfield_contours. - Moved
compas.numerical.matricestocompas.topology.matrices. - Moved
compas.numerical.linalgtocompas.geometry.linalg. - Changed
watchdogdependency to be only required for platforms other thanemscripten. - Changed
compas.geometry.earclip_polygonalgorithm because the current one does not handle several cases.
Removed
- Removed
compas_rhino.forms. Forms will be moved tocompas_ui. - Removed
compas.datastructures.Datastructure.attributesandcompas.datastructures.Datastructure.name(moved tocompas.data.Data). - Removed
attributesfromcompas.datastructures.Graph.data. - Removed
attributesfromcompas.datastructures.Network.data. - Removed
attributesfromcompas.datastructures.Halfedge.data. - Removed
attributesfromcompas.datastructures.Mesh.data. - Removed
compas.datastructures.mesh_bounding_boxandcompas.datastructures.mesh_bounding_box_xy. - Removed
compas.datastructures.mesh_oriented_bounding_box_numpyandcompas.datastructures.mesh_oriented_bounding_box_xy_numpy. - Removed
compas.datastructures.mesh_delete_duplicate_vertices. - Removed
compas.datastructures.mesh_is_connectedandcompas.datastructures.mesh_connected_components. - Removed
compas.datastructures.mesh_isolines_numpyandcompas.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_facesandcompas.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_offsetandcompas.datastructures.mesh_thicken. - Removed
compas.datastructures.mesh_face_adjacencyandcompas.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_transformandcompas.datastructures.volmesh_transformed. - Removed
compas.topology.unify_cycles_numpyandcompas.topology.face_adjacency_numpy. - Removed
compas.topology.unify_cycles_rhinoandcompas.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.
- Python
Published by github-actions[bot] about 2 years ago
compas - 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.ABSOLUTEandcompas.tolerance.Tolerance.absolute. - Added
compas.tolerance.Tolerance.RELATIVEandcompas.tolerance.Tolerance.relative. - Added
compas.tolerance.Tolerance.ANGULARandcompas.tolerance.Tolerance.angular. - Added
compas.tolerance.Tolerance.APPROXIMATIONandcompas.tolerance.Tolerance.approximation. - Added
compas.tolerance.Tolerance.PRECISIONandcompas.tolerance.Tolerance.precision. - Added
compas.tolerance.Tolerance.LINEARDEFLECTIONandcompas.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,opacityattributes tocompas.scene.SceneObject. - Added
pointcolor,linecolor,surfacecolor,pointsize,linewidthattributes tocompas.scene.GeometryObject. - Added
compas_rhino.geometry.brep.RhinoBrep.to_meshes(). - Added
compas_blender.
Changed
- Changed
compas.geometry.NurbsSurface.u_spacetospace_u. - Changed
compas.geometry.NurbsSurface.v_spacetospace_v. - Changed
compas.geometry.NurbsSurface.u_isocurvetoisocurve_u. - Changed
compas.geometry.NurbsSurface.v_isocurvetoisocurve_v. - Changed
compas.brep.Brep.from_step_filetofrom_step. - Moved
compas.breptocompas.geometry.brep. - Updated
compas-actions.docsworkflow tov3. Artistsclasses are renamed toSceneObjectclasses and now undercompas.scene,compas_rhino.scene,compas_ghpython.scene,compas_blender.scene.- Context related functions like
register,build,redrawandclearare moved tocompas.scene.contextfromcompas.scene.SceneObject. - Changed plugin selection to fall back to a default implementation if possible.
- Fixed
AttributeError_edgesincompas_rhino.geometry.RhinoBrepLoop.edges. - Fixed
compas_rhino.geometry.RhinoBrepserialization. - Naming convention for
ColorDictAttributesincompas.scene.MeshObject,compas.scene.NetworkObjectandcompas.scene.VolmeshObjectis changed e.g. fromvertex_colortovertexcolor. - The building of correct type of
SceneObjectis moved backed to__new__ofSceneObjectitself. - Changed
compas_blender.installto use symlinks. - Moved
URDFparsing fromcompas.filesto thecompas_robotsextension (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.
- Python
Published by github-actions[bot] about 2 years ago
compas - COMPAS 2.0.0-alpha.2
Added
- Added
Frame.axes - Added
compas.datastructures.TreeNodeandcompas.datastructures.Treeclasses. - Added
EllipseArtisttocompas_rhinoandcompas_ghpython.
Changed
- Changed
Network.is_planarto rely onNetworkXinsteadplanarityfor planarity checking. - Removed
planarityfrom requirements. - Fixed argument order at
compas.geometry.cone.circle. - Pinned
jsonschemaversion to >=4.17, <4.18 to avoid Rust toolchain - Fixed
box_to_compasincompas_rhino.conversionsto correctly take in the center of the box as the center point of the frame. - Removed
cythonfrom requirements. - Made X and Y axis optional in the constructor of
Frame. - Moved
compas.geometry.breptocompas.brep. - Changed
networkxversion to>=3.0to ensure support foris_planar. - Moved
compas.geometry.curves.nurbs_.pyandcompas.geometry.surfaces.nurbs_.pytocompas_nurbs.
Removed
- Python
Published by github-actions[bot] over 2 years ago
compas - COMPAS 2.0.0-alpha.1
Added
- Added
create_idtocompas_ghpython.utilities. (moved fromcompas_fab) - Added representation for features in
compas.datastructures.Part. - Added
splitandsplit_by_lengthtocompas.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_indexandcompas.datastructures.Graph.index_node. - Added
compas.datastructures.Graph.edge_indexandcompas.datastructures.Graph.index_edge. - Added
compas.datastructures.Halfedge.vertex_indexandcompas.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_polygonpluggable. - Added
compas.geometry.boolean_intersection_polygon_polygonpluggable. - Added
compas.geometry.boolean_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_union_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_intersection_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_difference_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonShapely-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_rhinotocompas_rhino.conversions. - Added
vertices_and_faces_to_rhinotocompas_rhino.conversions. - Added
polyhedron_to_rhinotocompas_rhino.conversions. - Added
from_meshplugin tocompas_rhino.geometry.RhinoBrep. - Added
compas.geometry.Plane.worldYZandcompas.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.DefaultNurbsCurveas try-last, Python-only plugin forcompas.geometry.NurbsCurve. - Added
compas.geometry.DefaultNurbsSurfaceas 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.HEREconstant in IronPython for Mac. - Fixed unbound method usage of
.cross()onPlane,VectorandFrame. - Fixed Grasshopper
draw_polylinesmethod to returnPolylineCurveinstead ofPolylinebecause the latter shows as only points. - Fixed bug in the
is_polygon_in_polygon_xythat was not correctly generating all the edges of the second polygon before checking for intersections. - Fixed
area_polygonthat was, in some cases, returning a negative area. - Fixed uninstall post-process.
- Fixed support for
System.Decimaldata type on json serialization. - Fixed
offset_polygonraising a TypeError when inputing a Polygon instead of a list of Points. - Simplified
compas.datastructures.Partfor more generic usage. - Changed
GLTFMesh.from_meshto read texture coordinates, vertex normals and colors if available and add toGLTFMesh - Fixed bug in
VolMeshArtist.draw_cellsfor Rhino, Blender and Grasshopper. - Changed edge parameter of
compas.datastructures.Halfedge.edge_facesto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_faceto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.is_edge_on_boundaryto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_afterto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_beforeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentsto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_coordinatesto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_lengthto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_vectorto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_pointto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_midpointto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.Mesh.edge_directionto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.is_collapse_legalto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_collapse_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_collapse_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_insert_vertex_on_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.mesh_split_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_split_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed edge parameter of
compas.datastructures.trimesh_swap_edgeto 1 edge identifier (tuple of vertices) instead of two serparate vertex identifiers. - Changed
compas.datastructures.Mesh.vertex_laplacianto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.neighborhood_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.vertex_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_vectorto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_directionto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_pointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.edge_midpointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.face_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_centerto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_planeto returncompas.geometry.Plane. - Changed JSON validation to Draft202012.
- Changed
compas.data.Data.to_jsonto includecompact=Falseparameter. - Changed
compas.data.Data.to_jsonstringto includecompact=Falseparameter. - Changed
compas.data.json_dumpto includecompact=Falseparameter. - Changed
compas.data.json_dumpsto includecompact=Falseparameter. - Changed
compas.data.DataEncoderandcompas.data.DataDecoderto supportto_jsondataandfrom_jsondata. - Moved all API level docstrings from the
__init__.pyto the correspoding.rstfile in the docs. - Fixed
AttributeErrorin Plotter'sPolylineArtistandSegementArtist. - Fixed wrong key type when de-serializing
Graphwith integer keys leading to node not found. - Changed base class for
compas.geometry.Transformationtocompas.data.Data. - Moved all core transformation functions to
compas.geometry._core. - Changed base class of
compas.geometry.Arctocompas.geometry.Curve. - Changed base class of
compas.geometry.Beziertocompas.geometry.Curve. - Changed base class of
compas.geometry.Circletocompas.geometry.Curve. - Changed base class of
compas.geometry.Ellipsetocompas.geometry.Curve. - Changed base class of
compas.geometry.Linetocompas.geometry.Curve. - Changed base class of
compas.geometry.Polylinetocompas.geometry.Curve. - Changed
compas.geometry.oriented_bounding_box_numpyto minimize volume. - Fixed data interface
compas.datastructures.Assemblyandcompas.datastructures.Part. - Changed data property of
compas.datastructures.Graphto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halfedgeto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halffaceto contain only JSON compatible data. - Changed
__repr__ofcompas.geometry.Pointandcompas.geometry.Vectorto not use limited precision (compas.PRECISION) to ensure proper object reconstruction througheval(repr(point)). - Changed
compas.datastructures.Graph.delete_edgeto delete invalid (u, u) edges and not delete edges in opposite directions (v, u) - Fixed bug in
compas.datastructures.Mesh.insert_vertex. - Fixed bug in
compas.geometry.angle_vectors_signed. - Changed
compas.artists.MeshArtistdefault colors. - Changed internal plane storage of the
compas.datastructures.Halffacefrom `plane[u][v][w]to_plane[u][v][fkey]` - Fixed
SyntaxErrorwhen importing COMPAS in GHPython.
Removed
- Removed all
__all__beyond second level package. - Removed deprecated
compas.utilities.coercing. - Removed deprecated
compas.utilities.encoders. - Removed deprecated
compas.utilities.xfunc. - Removed
compas.datastructures.Halfedge.get_any_vertex. - Removed
compas.datastructures.Halfedge.get_any_vertices. - Removed
compas.datastructures.Halfedge.get_any_face. - Removed "schemas" folder and all contained
.jsonfiles fromcompas.data. - Removed
compas.data.Data.jsondefinititions. - Removed
compas.data.Data.jsonvalidator. - Removed
compas.data.Data.validate_json. - Removed
compas.data.Data.validate_jsondata. - Removed
compas.data.Data.validate_jsonstring. - Removed
compas.data.Data.__getstate__. - Removed
compas.data.Data.__setstate__. - Removed setter of property
compas.data.Data.dataand similar setters in all data classes. - Removed properties
compas.data.Data.DATASCHEMAandcompas.data.Data.JSONSCHEMANAME. - Removed properties
compas.datastructures.Graph.DATASCHEMAandcompas.datastructures.Graph.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfedge.DATASCHEMAandcompas.datastructures.Halfedge.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfface.DATASCHEMAandcompas.datastructures.Halfface.JSONSCHEMANAME. - Removed properties
compas.geometry.Arc.DATASCHEMAandcompas.geometry.Arc.JSONSCHEMANAME. - Removed properties
compas.geometry.Bezier.DATASCHEMAandcompas.geometry.Bezier.JSONSCHEMANAME. - Removed properties
compas.geometry.Box.DATASCHEMAandcompas.geometry.Box.JSONSCHEMANAME. - Removed properties
compas.geometry.Capsule.DATASCHEMAandcompas.geometry.Capsule.JSONSCHEMANAME. - Removed properties
compas.geometry.Circle.DATASCHEMAandcompas.geometry.Circle.JSONSCHEMANAME. - Removed properties
compas.geometry.Cone.DATASCHEMAandcompas.geometry.Cone.JSONSCHEMANAME. - Removed properties
compas.geometry.Cylinder.DATASCHEMAandcompas.geometry.Cylinder.JSONSCHEMANAME. - Removed properties
compas.geometry.Ellipse.DATASCHEMAandcompas.geometry.Ellipse.JSONSCHEMANAME. - Removed properties
compas.geometry.Frame.DATASCHEMAandcompas.geometry.Frame.JSONSCHEMANAME. - Removed properties
compas.geometry.Line.DATASCHEMAandcompas.geometry.Line.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsCurve.DATASCHEMAandcompas.geometry.NurbsCurve.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsSurface.DATASCHEMAandcompas.geometry.NurbsSurface.JSONSCHEMANAME. - Removed properties
compas.geometry.Plane.DATASCHEMAandcompas.geometry.Plane.JSONSCHEMANAME. - Removed properties
compas.geometry.Point.DATASCHEMAandcompas.geometry.Point.JSONSCHEMANAME. - Removed properties
compas.geometry.Pointcloud.DATASCHEMAandcompas.geometry.Pointcloud.JSONSCHEMANAME. - Removed properties
compas.geometry.Polygon.DATASCHEMAandcompas.geometry.Polygon.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyhedron.DATASCHEMAandcompas.geometry.Polyhedron.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyline.DATASCHEMAandcompas.geometry.Polyline.JSONSCHEMANAME. - Removed properties
compas.geometry.Sphere.DATASCHEMAandcompas.geometry.Sphere.JSONSCHEMANAME. - Removed properties
compas.geometry.Torus.DATASCHEMAandcompas.geometry.Torus.JSONSCHEMANAME. - Removed properties
compas.geometry.Quaternion.DATASCHEMAandcompas.geometry.Quaternion.JSONSCHEMANAME. - Removed properties
compas.geometry.Vector.DATASCHEMAandcompas.geometry.Vector.JSONSCHEMANAME. - Removed
compas.datastructures.Graph.key_indexandcompas.datastructures.Graph.index_key. - Removed
compas.datastructures.Graph.uv_indexandcompas.datastructures.Graph.index_uv. - Removed
compas.datastructures.Halfedge.key_indexandcompas.datastructures.Halfedge.index_key. - Removed
compas.numerical.drandcompas.numerical.dr_numpy(moved to separatecompas_dr). - Removed
compas.numerical.fd_numpyto (moved to separatecompas_fd). - Removed
compas.numerical.topop_numpy(moved to separatecompas_topopt). - Removed
compas.numerical.mmaandcompas.numerical.lma. - Removed
compas.numerical.descent,compas.numerical.devo, andcompas.numerical.ga. - Removed
compas.numerical.utilities. - Removed class attribute
CONTEXTfromcompas.artists.Artist. - Removed class attribute
AVAILABLE_CONTEXTSformcompas.artists.Artist. - Removed
compas.geometry.Primitive. - Removed classmethod
compas.color.Color.from_data. - Removed
validate_datafromcompas.data.validators. - Removed
json_validatefromcompas.data.json. - Removed
compas_rhino.conversions.Box. - Removed
compas_rhino.conversions.Circle. - Removed
compas_rhino.conversions.Cone. - Removed
compas_rhino.conversions.Curve. - Removed
compas_rhino.conversions.Cylinder. - Removed
compas_rhino.conversions.Ellipse. - Removed
compas_rhino.conversions.Line. - Removed
compas_rhino.conversions.Mesh. - Removed
compas_rhino.conversions.Plane. - Removed
compas_rhino.conversions.Point. - Removed
compas_rhino.conversions.Polyline. - Removed
compas_rhino.conversions.Vector. - Removed
compas_rhino.artists.NetworkArtist.draw_nodelabels. - Removed
compas_rhino.artists.NetworkArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.MeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_celllabels. - Removed
compas.robots. - Removed
compas.artists.robotmodelartist. - Removed
compas_blender.artists.robotmodelartist. - Removed
compas_ghpython.artists.robotmodelartist. - Removed
compas_rhino.artists.robotmodelartist.
- Python
Published by github-actions[bot] over 2 years ago
compas - COMPAS 2.0 alpha
Added
- Added
create_idtocompas_ghpython.utilities. (moved fromcompas_fab) - Added representation for features in
compas.datastructures.Part. - Added
splitandsplit_by_lengthtocompas.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_indexandcompas.datastructures.Graph.index_node. - Added
compas.datastructures.Graph.edge_indexandcompas.datastructures.Graph.index_edge. - Added
compas.datastructures.Halfedge.vertex_indexandcompas.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_polygonpluggable. - Added
compas.geometry.boolean_intersection_polygon_polygonpluggable. - Added
compas.geometry.boolean_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonpluggable. - Added
compas.geometry.boolean_union_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_intersection_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_difference_polygon_polygonShapely-based plugin. - Added
compas.geometry.boolean_symmetric_difference_polygon_polygonShapely-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_rhinotocompas_rhino.conversions. - Added
vertices_and_faces_to_rhinotocompas_rhino.conversions. - Added
polyhedron_to_rhinotocompas_rhino.conversions. - Added
from_meshplugin tocompas_rhino.geometry.RhinoBrep. - Added
compas.geometry.Plane.worldYZandcompas.geometry.Plane.worldZX. - 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.DefaultNurbsCurveas try-last, Python-only plugin forcompas.geometry.NurbsCurve. - Added
compas.geometry.DefaultNurbsSurfaceas 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.HEREconstant in IronPython for Mac. - Fixed unbound method usage of
.cross()onPlane,VectorandFrame. - Fixed Grasshopper
draw_polylinesmethod to returnPolylineCurveinstead ofPolylinebecause the latter shows as only points. - Fixed bug in the
is_polygon_in_polygon_xythat was not correctly generating all the edges of the second polygon before checking for intersections. - Fixed
area_polygonthat was, in some cases, returning a negative area. - Fixed uninstall post-process.
- Fixed support for
System.Decimaldata type on json serialization. - Fixed
offset_polygonraising a TypeError when inputing a Polygon instead of a list of Points. - Simplified
compas.datastructures.Partfor more generic usage. - Changed
GLTFMesh.from_meshto read texture coordinates, vertex normals and colors if available and add toGLTFMesh - Fixed bug in
VolMeshArtist.draw_cellsfor Rhino, Blender and Grasshopper. - Changed edge parameter of
compas.datastructures.Halfedge.edge_facesto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_faceto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Halfedge.is_edge_on_boundaryto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_afterto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Halfedge.halfedge_beforeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.trimesh_edge_cotangentsto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_coordinatesto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_lengthto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_vectorto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_pointto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_midpointto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.Mesh.edge_directionto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.is_collapse_legalto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.mesh_collapse_edgeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.trimesh_collapse_edgeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.mesh_insert_vertex_on_edgeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.mesh_split_edgeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.trimesh_split_edgeto 1 edge identifier (tuple of vertices). - Changed edge parameter of
compas.datastructures.trimesh_swap_edgeto 1 edge identifier (tuple of vertices). - Changed
compas.datastructures.Mesh.vertex_laplacianto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.neighborhood_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.vertex_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_vectorto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_directionto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.edge_pointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.edge_midpointto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_normalto returncompas.geometry.Vector. - Changed
compas.datastructures.Mesh.face_centroidto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_centerto returncompas.geometry.Point. - Changed
compas.datastructures.Mesh.face_planeto returncompas.geometry.Plane. - Changed JSON validation to Draft202012.
- Changed
compas.data.Data.to_jsonto includecompact=Falseparameter. - Changed
compas.data.Data.to_jsonstringto includecompact=Falseparameter. - Changed
compas.data.json_dumpto includecompact=Falseparameter. - Changed
compas.data.json_dumpsto includecompact=Falseparameter. - Changed
compas.data.DataEncoderandcompas.data.DataDecoderto supportto_jsondataandfrom_jsondata. - Moved all API level docstrings from the
__init__.pyto the correspoding.rstfile in the docs. - Fixed
AttributeErrorin Plotter'sPolylineArtistandSegementArtist. - Fixed wrong key type when de-serializing
Graphwith integer keys leading to node not found. - Changed base class for
compas.geometry.Transformationtocompas.data.Data. - Moved all core transformation functions to
compas.geometry._core. - Changed base class of
compas.geometry.Arctocompas.geometry.Curve. - Changed base class of
compas.geometry.Beziertocompas.geometry.Curve. - Changed base class of
compas.geometry.Circletocompas.geometry.Curve. - Changed base class of
compas.geometry.Ellipsetocompas.geometry.Curve. - Changed base class of
compas.geometry.Linetocompas.geometry.Curve. - Changed base class of
compas.geometry.Polylinetocompas.geometry.Curve. - Changed
compas.geometry.oriented_bounding_box_numpyto minimize volume. - Fixed data interface
compas.datastructures.Assemblyandcompas.datastructures.Part. - Changed data property of
compas.datastructures.Graphto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halfedgeto contain only JSON compatible data. - Changed data property of
compas.datastructures.Halffaceto contain only JSON compatible data. - Changed
__repr__ofcompas.geometry.Pointandcompas.geometry.Vectorto not use limited precision (compas.PRECISION) to ensure proper object reconstruction througheval(repr(point)). - Changed
compas.datastructures.Graph.delete_edgeto delete invalid (u, u) edges and not delete edges in opposite directions (v, u) - Fixed bug in
compas.datastructures.Mesh.insert_vertex. - Fixed bug in
compas.geometry.angle_vectors_signed. - Changed
compas.artists.MeshArtistdefault colors.
Removed
- Removed all
__all__beyond second level package. - Removed deprecated
compas.utilities.coercing. - Removed deprecated
compas.utilities.encoders. - Removed deprecated
compas.utilities.xfunc. - Removed
compas.datastructures.Halfedge.get_any_vertex. - Removed
compas.datastructures.Halfedge.get_any_vertices. - Removed
compas.datastructures.Halfedge.get_any_face. - Removed "schemas" folder and all contained
.jsonfiles fromcompas.data. - Removed
compas.data.Data.jsondefinititions. - Removed
compas.data.Data.jsonvalidator. - Removed
compas.data.Data.validate_json. - Removed
compas.data.Data.validate_jsondata. - Removed
compas.data.Data.validate_jsonstring. - Removed
compas.data.Data.__getstate__. - Removed
compas.data.Data.__setstate__. - Removed setter of property
compas.data.Data.dataand similar setters in all data classes. - Removed properties
compas.data.Data.DATASCHEMAandcompas.data.Data.JSONSCHEMANAME. - Removed properties
compas.datastructures.Graph.DATASCHEMAandcompas.datastructures.Graph.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfedge.DATASCHEMAandcompas.datastructures.Halfedge.JSONSCHEMANAME. - Removed properties
compas.datastructures.Halfface.DATASCHEMAandcompas.datastructures.Halfface.JSONSCHEMANAME. - Removed properties
compas.geometry.Arc.DATASCHEMAandcompas.geometry.Arc.JSONSCHEMANAME. - Removed properties
compas.geometry.Bezier.DATASCHEMAandcompas.geometry.Bezier.JSONSCHEMANAME. - Removed properties
compas.geometry.Box.DATASCHEMAandcompas.geometry.Box.JSONSCHEMANAME. - Removed properties
compas.geometry.Capsule.DATASCHEMAandcompas.geometry.Capsule.JSONSCHEMANAME. - Removed properties
compas.geometry.Circle.DATASCHEMAandcompas.geometry.Circle.JSONSCHEMANAME. - Removed properties
compas.geometry.Cone.DATASCHEMAandcompas.geometry.Cone.JSONSCHEMANAME. - Removed properties
compas.geometry.Cylinder.DATASCHEMAandcompas.geometry.Cylinder.JSONSCHEMANAME. - Removed properties
compas.geometry.Ellipse.DATASCHEMAandcompas.geometry.Ellipse.JSONSCHEMANAME. - Removed properties
compas.geometry.Frame.DATASCHEMAandcompas.geometry.Frame.JSONSCHEMANAME. - Removed properties
compas.geometry.Line.DATASCHEMAandcompas.geometry.Line.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsCurve.DATASCHEMAandcompas.geometry.NurbsCurve.JSONSCHEMANAME. - Removed properties
compas.geometry.NurbsSurface.DATASCHEMAandcompas.geometry.NurbsSurface.JSONSCHEMANAME. - Removed properties
compas.geometry.Plane.DATASCHEMAandcompas.geometry.Plane.JSONSCHEMANAME. - Removed properties
compas.geometry.Point.DATASCHEMAandcompas.geometry.Point.JSONSCHEMANAME. - Removed properties
compas.geometry.Pointcloud.DATASCHEMAandcompas.geometry.Pointcloud.JSONSCHEMANAME. - Removed properties
compas.geometry.Polygon.DATASCHEMAandcompas.geometry.Polygon.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyhedron.DATASCHEMAandcompas.geometry.Polyhedron.JSONSCHEMANAME. - Removed properties
compas.geometry.Polyline.DATASCHEMAandcompas.geometry.Polyline.JSONSCHEMANAME. - Removed properties
compas.geometry.Sphere.DATASCHEMAandcompas.geometry.Sphere.JSONSCHEMANAME. - Removed properties
compas.geometry.Torus.DATASCHEMAandcompas.geometry.Torus.JSONSCHEMANAME. - Removed properties
compas.geometry.Quaternion.DATASCHEMAandcompas.geometry.Quaternion.JSONSCHEMANAME. - Removed properties
compas.geometry.Vector.DATASCHEMAandcompas.geometry.Vector.JSONSCHEMANAME. - Removed
compas.datastructures.Graph.key_indexandcompas.datastructures.Graph.index_key. - Removed
compas.datastructures.Graph.uv_indexandcompas.datastructures.Graph.index_uv. - Removed
compas.datastructures.Halfedge.key_indexandcompas.datastructures.Halfedge.index_key. - Removed
compas.numerical.drandcompas.numerical.dr_numpy(moved to separatecompas_dr). - Removed
compas.numerical.fd_numpyto (moved to separatecompas_fd). - Removed
compas.numerical.topop_numpy(moved to separatecompas_topopt). - Removed
compas.numerical.mmaandcompas.numerical.lma. - Removed
compas.numerical.descent,compas.numerical.devo, andcompas.numerical.ga. - Removed
compas.numerical.utilities. - Removed class attribute
CONTEXTfromcompas.artists.Artist. - Removed class attribute
AVAILABLE_CONTEXTSformcompas.artists.Artist. - Removed
compas.geometry.Primitive. - Removed classmethod
compas.color.Color.from_data. - Removed
validate_datafromcompas.data.validators. - Removed
json_validatefromcompas.data.json. - Removed
compas_rhino.conversions.Box. - Removed
compas_rhino.conversions.Circle. - Removed
compas_rhino.conversions.Cone. - Removed
compas_rhino.conversions.Curve. - Removed
compas_rhino.conversions.Cylinder. - Removed
compas_rhino.conversions.Ellipse. - Removed
compas_rhino.conversions.Line. - Removed
compas_rhino.conversions.Mesh. - Removed
compas_rhino.conversions.Plane. - Removed
compas_rhino.conversions.Point. - Removed
compas_rhino.conversions.Polyline. - Removed
compas_rhino.conversions.Vector. - Removed
compas_rhino.artists.NetworkArtist.draw_nodelabels. - Removed
compas_rhino.artists.NetworkArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.MeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.MeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_vertexlabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_edgelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_facelabels. - Removed
compas_rhino.artists.VolMeshArtist.draw_celllabels. - Removed
compas.robots. - Removed
compas.artists.robotmodelartist. - Removed
compas_blender.artists.robotmodelartist. - Removed
compas_ghpython.artists.robotmodelartist. - Removed
compas_rhino.artists.robotmodelartist.
- Python
Published by tomvanmele over 2 years ago
compas - COMPAS 1.17.6
Added
- Added
create_idtocompas_ghpython.utilities. (moved fromcompas_fab)
Changed
- Fixed bug that caused a new-line at the end of the
compas.HEREconstant in IronPython for Mac. - Fixed Grasshopper
draw_polylinesmethod to returnPolylineCurveinstead ofPolylinebecause the latter shows as only points. - Fixed uninstall post-process.
- Fixed
area_polygonthat was, in some cases, returning a negative area - Fixed support for
System.Decimaldata type on json serialization. - Fixed
AttributeErrorin Plotter'sPolylineArtistandSegementArtist. - Fixed wrong key type when de-serializing
Graphwith integer keys leading to node not found. - Fixed bug in
VolMeshArtist.draw_cellsfor Rhino, Blender and Grasshopper. - Fixed bug in the
is_polygon_in_polygon_xythat was not correctly generating all the edges of the second polygon before checking for intersections.
Removed
- Python
Published by github-actions[bot] over 2 years ago
compas - COMPAS 1.17.5
Added
- Added conversion function
frame_to_rhino_planetocompas_rhino.conversions. - Added
RhinoSurface.from_frametocompas_rhino.geometry. - Added representation for trims with
compas.geometry.BrepTrim. - Added
Arctocompas.geometry. - Added
Arcconversion functions tocompas_rhino.conversions. - Added
from_spherealternative constructor toRhinoBrep. - Added support for singular trims to
RhinoBrep.
Changed
- Patched CVE-2007-4559 vulnerability.
- Updated workflows to v2.
- Fixed attribute error in
compas_rhino.conversions.ellipse_to_compas. - Changed deepcopy of
RhinoBrepto use the nativeRhino.Geometrymechanism. - The normal of the cutting plane is no longer flipped in
compas_rhino.geometry.RhinoBrep. - Planar holes caused by
RhinoBrep.trimare now automatically capped. - Fixed
Polygonconstructor to not modify the input list of points. - Fixed serialization of sphere and cylinder Breps in
RhinoBrep. - Fixed serialization of some trimmed shapes in
RhinoBrep. - Freeze black version to 22.12.0.
- Fixed
is_point_in_circle_xysecond argument to access the origin of the plane of the circle.
Removed
- Python
Published by github-actions[bot] about 3 years ago
compas - COMPAS 1.17.4
Added
- Added option for per-vertex color specification to
compas_rhino.utilities.drawing.draw_mesh.
Changed
- Fixed strange point values in RhinoNurbsCurve caused by conversion
ControlPointto COMPAS instead ofControlPoint.Location. - Fixed flipped order of NURBS point count values when creating RhinoNurbsSurface from parameters.
Removed
- Removed Python 3.6 from build workflows as it reached end-of-life at the end of 2021.
- Python
Published by github-actions[bot] about 3 years ago
compas - COMPAS 1.17.3
Added
- Added
compas_rhino.INSTALLATION_ARGUMENTS.
Changed
- Fixed bug in Rhino installation due to redefinition of command line arguments in
compas_ghpython.components.get_version_from_args.
Removed
- Python
Published by github-actions[bot] over 3 years ago
compas - COMPAS 1.17.2
Added
Changed
- Changed
compas._os._polyfill_symlinksto use junction (/J) instead of symbolic link (/D).
Removed
- Python
Published by github-actions[bot] over 3 years ago
compas - COMPAS 1.17.1
Added
- Added
compas_rhino.geometry.RhinoCurve.offset. - Added
compas.geometry.Surface.from_plane. - Added
compas.geometry.surfaces.surface.new_surface_from_planepluggable. - Added
compas_rhino.geometry.surfaces.new_surface_from_planeplugin. - Added
compas_rhino.geometry.RhinoSurface.intersections_with_curve.
Changed
- Fixed bug in
compas_rhino.geometry.RhinoCurve.frame_at. - Changed implementation of
compas.datastructures.mesh_planarize_facesto include edge midpoints.
Removed
- Python
Published by github-actions[bot] over 3 years ago
compas - COMPAS 1.17.0
Added
- Added gltf extensions:
KHR_materials_transmission,KHR_materials_specular,KHR_materials_ior,KHR_materials_clearcoat,KHR_Texture_Transform,KHR_materials_pbrSpecularGlossiness - Added
GLTFContent.check_extensions_texture_recursively - Added
GLTFContent.get_node_by_name,GLTFContent.get_material_index_by_name - Added
GLTFContent.add_material,GLTFContent.add_texture,GLTFContent.add_image - Added pluggable
Brepsupport withcompas.geometry.brep. - Added Rhino
Brepplugin incompas_rhino.geometry.brep. - Added boolean operations to the
compas_rhinoBrepbackend. - Added boolean operation operator overloads in
compas.geometry.Brep - Added
formattask usingblackformatter. - Added a
test_intersection_circle_circle_xyin thetest_intersections - Added split operation to
compas_rhino.geometry.Brep. - Added a
RhinoArtistincompas_rhino. - Added a
RhinoArtistincompas_ghpython.
Changed
- Based all gltf data classes on
BaseGLTFDataClass - Fixed
Color.__get___AttributeError. - Fixed
RhinoSurface.curvature_atnot returning a Vector, but a Rhino SurfaceCurvature class object - Fixed
cylinder_to_rhinoconversion to matchcompas.geometry.Cylinderlocation. - Changed identification of cylinder brep face to non-zero in
compas_rhino.conversions.cylinder.Cylinder. - Changed linter to
black. - Automatically trigger
invoke formatduringinvoke release. - Fixed bug in
intersections.intersection_circle_circle_xywhere the Circle's Plane was accessed instead of the centre. - Fixed bug in
_core.tangentwhere the Circle's Plane was accessed instead of the centre. - Fixed the
test_tangentto work with a properly defined circle RhinoBrepserialization works now with surface types other than NURBS.- Fixed bug in finding halfedge before a given halfedge if that halfedge is on the boundary (
Mesh.halfedge_before). - Renamed
Brep.from_breptoBrep.from_native.
Removed
- Python
Published by github-actions[bot] over 3 years ago
compas - COMPAS 1.15.1
Added
- Added optional
triangulatedflag toMesh.to_vertices_and_faces. - Added geometry information of active meshes to the serialization/deserialization of robot model's
MeshDescriptor. - Added Grasshopper component to draw any COMPAS object.
- Added new icons to Grasshopper components and default to icon style.
Changed
- Fixed bug in Blender mesh conversion.
- Changed Rhino plugin installer to check for and install required plugin packages.
- Refactor robot model artists to use the same
Mesh.to_vertices_and_faceseverywhere. - Fix debug print on Blender artist.
Removed
- Python
Published by github-actions[bot] almost 4 years ago
compas - COMPAS 1.15.0
Added
- Added descriptor support to
compas.colors.Color. - Added descriptor protocol metaclass to
compas.artists.Artist. - Added
compas.artists.colordict.ColorDictdescriptor. - Added
allcloseto doctest fixtures. - Added
compas.colors.Color.coerceto construct a color out og hex, RGB1, and RGB255 inputs. - Added
compas.datastructures.Network.from_pointcloud. - Added
compas.datastructures.VolMesh.from_meshgrid. - Added
vertices_where,vertices_where_predicate,edges_where,edges_where_predicatetocompas.datastructures.HalfFace. - Added
faces_where,faces_where_predicate,cells_where,cells_where_predicatetocompas.datastructures.HalfFace. - Added
VolMeshArtistto registered Blender artists. - Added
3.1to supported versions for Blender installer. - Added
compas.artist.NoArtistContextError.
Changed
- Changed
compas_rhino.artists.MeshArtist.drawto draw the mesh only. - Changed
compas_blender.artists.MeshArtist.drawto draw the mesh only. - Changed
compas_ghpython.artists.MeshArtist.drawto draw the mesh only. - Changed
compas_rhino.artists.MeshArtist.draw_vertexlabelsto use the colors of the vertex color dict. - Changed
compas_rhino.artists.MeshArtist.draw_edgelabelsto use the colors of the edge color dict. - Changed
compas_rhino.artists.MeshArtist.draw_facelabelsto use the colors of the face color dict. - Changed
compas_blender.artists.MeshArtist.draw_vertexlabelsto use the colors of the vertex color dict. - Changed
compas_blender.artists.MeshArtist.draw_edgelabelsto use the colors of the edge color dict. - Changed
compas_blender.artists.MeshArtist.draw_facelabelsto use the colors of the face color dict. - Changed
compas_ghpython.artists.MeshArtist.draw_vertexlabelsto use the colors of the vertex color dict. - Changed
compas_ghpython.artists.MeshArtist.draw_edgelabelsto use the colors of the edge color dict. - Changed
compas_ghpython.artists.MeshArtist.draw_facelabelsto use the colors of the face color dict. - Fixed
compas_blender.uninstall. - Changed
planarityto optional requirement on all platforms. - Changed
numbato optional requirement on all platforms. - Changed raw github content path for
compas.get. - Changed
compas.datastructures.Graph.nodes_whereto accept conditions as kwargs. - Changed
compas.datastructures.Graph.edges_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfedge.vertices_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfedge.edges_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfedge.faces_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfface.vertices_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfface.edges_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfface.faces_whereto accept conditions as kwargs. - Changed
compas.datastructures.Halfface.cells_whereto accept conditions as kwargs. - Fixed
compas_blender.artists.VolMeshArtist.drawandcompas_blender.artists.VolMeshArtist.draw_cells. - Fixed
compas_ghpython.artists.VolMeshArtist.drawandcompas_ghpython.artists.VolMeshArtist.draw_cells. - Fixed
compas_rhino.artists.VolMeshArtist.drawandcompas_rhino.artists.VolMeshArtist.draw_cells. - Improved error messages when artist instance cannot be created.
- Fixed exception when calculating geometry of
compas.datastructures.Partwithout features. - Fixed bug in
compas_rhino.conversions.RhinoCurve.to_compas. - Fixed bug in
compas_rhino.conversions.RhinoSurface.to_compas.
Removed
- Removed
compas.numerical.drx.
- Python
Published by github-actions[bot] almost 4 years ago
compas - COMPAS 1.14.1
Added
- Added doc test step in CI/CD.
Changed
- Fixed symlink expansion for directories relative to the COMPAS installation folder, eg.
compas.DATAwhen used from IronPython. - Fixed the result of
compas.__version__on dev installs to properly include git hash. - Move
datafiles inside the folder included in the source distribution (ie. non-dev installs). - Fixed IronPython detection on ipy 2.7.12 and higher.
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.14.0
Added
- Added
compas.colors.Color. - Added
compas.colors.ColorMap. - Added
compas_blender.conversions.BlenderGeometry. - Added
compas_blender.conversions.BlenderCurve. - Added
compas_blender.conversions.BlenderMesh. - Added option to return strip faces from
compas.datastructure.Halfedge.edge_strip. - Added
compas.geometry.Bezier.transform. - Added
compas.geometry.Curveas base class for curves. - Added
compas.geometry.Surfaceas base class for surfaces. - Added
compas_rhino.geometry.RhinoCurveas Rhino plugin for basic curves. - Added
compas_rhino.geometry.RhinoSurfaceas Rhino plugin for basic surfaces. - Added pluggable
compas.geometry.curves.curve.new_curve. - Added pluggable
compas.geometry.surfaces.surface.new_surface. - Added
compas.artists.CurveArtist. - Added
compas.artists.SurfaceArtist. - Added
compas_rhino.artists.CurveArtist. - Added
compas_rhino.artists.SurfaceArtist. - Added
compas_ghpython.artists.CurveArtist. - Added
compas_ghpython.artists.SurfaceArtist. - Added
compas_blender.artists.CurveArtist. - Added
compas_blender.artists.SurfaceArtist. - Added
compas_rhino.utilities.draw_curves. - Added
compas_rhino.utilities.draw_surfaces. - Added
compas_blender.utilities.draw_curves. - Added
compas_blender.utilities.draw_surfaces. - Added
rgbaandrgba255properties tocompas.colors.Color. - Added
from_namemethod tocompas.colors.Color. - Added Python 3.10 support.
- Added
RobotModel.ur5for the sake of example.
Changed
- Fixed bug in
mesh_slice_plane(),Mesh.slice_plane(). - Changed
compas_rhino.geometry.RhinoNurbsSurface.closest_pointto fix bug of rhinocurve to rhinosurface, plus return tuple instead. - Changed
compas_plotters.plotter.Plotterto normal class instead of singleton. - Moved functionality of
compas.utilities.coerciontocompas.data. - Fixed bug in
compas.geometry.NurbsSurface.to_triangles(). - Renamed docs site folders
latesttostableanddevtolatest. - Rebased
compas.geometry.NurbsCurveoncompas.geometry.Curve. - Rebased
compas.geometry.NurbsSurfaceoncompas.geometry.Surface. - Rebased
compas_rhino.geometry.RhinoNurbsCurveoncompas.geometry.NurbsCurveandcompas_rhino.geometry.RhinoCurve. - Rebased
compas_rhino.geometry.RhinoNurbsSurfaceoncompas.geometry.NurbsSurfaceandcompas_rhino.geometry.RhinoSurface. - Fixed error message for unsupported joint types.
- Fixed support for non-standard URDF attributes on limit and mesh geometry.
- Fixed data serialization for URDF materials without color.
- Removed geometric primitives (
Origin,Box,Sphere,CylinderandCapsule) fromcompas.robotsand replaced them with the core ones fromcompas.geometry. The old names are still available but deprecated. - Deprecated the
load_meshmethod ofcompas.robots.AbstractMeshLoaderand its sub-classes in favor ofload_meshes. - Fixed bug in
compas_rhino.conversions.RhinoGeometry.transform.
Removed
- Removed
compas.geometry.Collection - Removed
compas.geometry.CollectionNumpy - Removed
compas.geometry.PointCollection - Removed
compas.geometry.PointCollectionNumpy - Removed
compas.interop - Removed
numba;compas.numerical.drxwill be moved to a dedicated extension package. - Removed
ezdxf(unused). - Removed
laspy(unused).
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.13.3
Added
- Added
compas_plotters.artists.NetworkArtist.draw_nodelabels. - Added
compas_plotters.artists.NetworkArtist.draw_edgelabels. - Added
compas_plotters.Plotter.fontsize. - Added
INSTALLED_VERSIONvariable tocompas_rhino.installto interally inform rhino version context post-installation steps. - Added
compas_rhino.geometry.RhinoNurbsSurface. - Added
compas_rhino.geometry.surfaces.new_nurbssurfaceplugin. - Added
compas_rhino.geometry.surfaces.new_nurbssurface_from_parametersplugin. - Added
compas_rhino.geometry.surfaces.new_nurbssurface_from_pointsplugin. - Added
compas_rhino.geometry.surfaces.new_nurbssurface_from_fillplugin. - Added
compas_rhino.geometry.surfaces.new_nurbssurface_from_stepplugin. - Added
compas_rhino.conversions.RhinoSurface.to_compas.
Changed
- Fixed bug in inheritance of
compas_plotters.artists.NetworkArtist. - Changed
compas_plotters.artists.MeshArtist.draw_edgesto ignore edge direction for assignment of edge colors and widths. - Changed
compas_plotters.artists.MeshArtist.draw_vertexlabelsto usecompas_plotters.Plotter.fontsize. - Changed
compas_plotters.artists.MeshArtist.draw_edgelabelsto usecompas_plotters.Plotter.fontsize. - Changed
compas_plotters.artists.MeshArtist.draw_facelabelsto usecompas_plotters.Plotter.fontsize. - Fixed bug in
compas_rhino.conversions.plane_to_compas_frame. - Changed implementation of
compas.geometry.NurbsSurface.xyz. - Fixed bug in
compas.geometry.NurbsSurface.to_mesh. - Changed
compas_rhino.geometry.RhinoNurbsSurface.from_pointsto use transposed points. - Fixed bug in
compas_rhino.conversions.RhinoSurface.to_compas_mesh.
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.13.2
Added
- Added
compas_ghpython.fetch_ghio_libto simplify the loading of Grasshopper's IO library for extension developers.
Changed
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.13.1
Added
Changed
- Fixed bug in
Grasshopperplugin path on Windows. - Fixed bug in
GrasshopperUserObjectsuninstall.
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.13.0
Added
- Added
compas_rhino.DEFAULT_VERSION. - Added
cleanoption tocompas_rhino.installto remove existing symlinks if they cannot be imported from the current environment. - Added basic implementation of
compas.datastructures.Assembly. - Added
compas.is_grasshopper. - Added
compas.GH. - Added
compas.artists.Artist.CONTEXT. - Added
compas.artists.Artist.AVAILABLE_CONTEXTS. - Added
compas.artists.artist.register_artistspluggable.
Changed
- Updated
pr-checksworkflow for checking Changelog entry. - Fixed return value of attributes of empty
compas_rhino.geometry.RhinoNurbsCurve. - Fixed error in parameter list of
compas_rhino.geometry.curves.new_nurbscurve. - Fixed error in parameter list of
compas_rhino.geometry.curves.new_nurbscurve_from_interpolation. - Fixed error in parameter list of
compas_rhino.geometry.curves.new_nurbscurve_from_step. - Changed
compas_rhino.installto remove broken symlinks. - Changed
compas_rhino.installto reinstall broken symlinks if they can be imported from the current environment. - Changed
compas_rhino.uninstallto remove broken symlinks. - Changed
compas_rhino.install_pluginto remove broken symlinks. - Changed default Rhino version for installation to
7.0. - Fixed bug in
compas_ghpythonrelated to importingGrasshopperprematurely. - Changed
compas.artists.Artist.ITAM_ARTISTto context-based dict. - Changed
compas_rhino.__init__.pyfunctions. - Changed
compas_ghpython.__init__.pyfunctions.
Removed
- Removed
compas.artists.artist.new_artistpluggable.
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.12.2
Added
Changed
- Moved import of
subprocessto top of filecompas._os.py.
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.12.1
Added
Changed
- Fixed bug in
compas_rhino.conversions.RhinoPoint.from_geometry.
Removed
- Python
Published by github-actions[bot] about 4 years ago
compas - COMPAS 1.12.0
Added
- Added
CircleArtist,LineArtist,PointArtist,PolygonArtist,PolylineArtist, andVectorArtisttocompas_blender. - Added
draw_circlesanddraw_planestocompas_blender. - Added
compas_rhino.geometry.curvesplugins forcompas.geometry.curvespluggables. - Added
compas_rhino.geometry.RhinoNurbsCurve. - Added
to_compas_quadmeshtocompas_rhino.conversions.RhinoSurface.
Changed
- Replaced implementation of
RGBColourandFloatwith deprecation warning incompas.utilities.descriptors. - Moved all Rhino geometry and objects wrappers to
compas_rhino.conversions. - Fixed bug in
compas_rhino.conversions.RhinoSurface.from_geometry. - Changed
compas_rhino.conversions.RhinoLine.from_geometryto accept line curves. - Fixed bug in
compas_rhino.geometry.RhinoNurbsCurve.closest_point. - Modify
to_compas_meshincompas_rhino.conversions.RhinoSurfaceto use brep loops.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.11.1
Added
Changed
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.11.0
Added
- Added halfedge loops in
compas.datastructures.Halfedge.halfedge_loop. - Added halfedge strips in
compas.datastructures.Halfedge.halfedge_strip. - Added
compas.datastructures.mesh_split_stripandcompas.datastructures.Mesh.split_strip. - Added boundingbox to
compas_rhino.conduits.BaseConduit
Changed
- Fixed bug in combination of
compas_rhino.artists.MeshArtist.draw_meshandcompas_rhino.utilities.drawing.draw_mesh. - Fixed bug in continuous loops in
compas.datastructures.Halfedge.edge_loop. - Fixed bug in continuous strips in
compas.datastructures.Halfedge.edge_strip. - Changed abstract method
compas.artists.MeshArtist.draw_meshto implemented method incompas_plotters.artists.MeshArtist.draw_mesh.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.10.0
Added
- Added
compas.geometry.Curveandcompas.geometry.NurbsCurve. - Added
compas.geometry.Surfaceandcompas.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
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.9.3
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_meshgridto0.0instead of0.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.9.2
Added
- Added
draw_meshmethod tocompas_ghpython.artists.MeshArtistto match all other mesh artists.
Changed
- Changed new artist registration to check if subclass.
- Fixed
RobotModelArtistfor blender: missing abstract method impl and handle init order.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.9.1
Added
- Added
Plane.offset - Added
is_mesh_closedproperty tocompas.datastructures.mesh_slice_plane
Changed
- Fixed backward compatibility problem with artists by adding back
Artist.buildandArtist.build_as. - Fixed backward compatibility problem with artists by adding
compas_rhino.artists.BaseArtistalias forcompas_rhino.artists.RhinoArtist.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.9.0
Added
- Added
draw_vertexlabels,draw_edgelabels,draw_facelabels,draw_vertexnormals, anddraw_facenormalstocompas_blender.artists.MeshArtist. - Added optional
triangulatedflag toto_vertices_and_facesof all shapes. - Added
compas.geometry.Geometrybase class. - Added
__add__,__sub__,__and__tocompas.geometry.Shapefor boolean operations using binary operators. - Added
is_closedtocompas.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_labelsanddraw_edgelabelstocompas_blender.artists.NetworkArtist. - Added
compas_blender.artists.RobotModelArtist.clear. - Added
compas_blender.geometry.booleansas plugin for boolean pluggables. - Added version-based installation for Blender.
- Added several shape artists to
compas_ghpython:BoxArtist,CapsuleArtist,ConeArtist,CylinderArtist,PolygonArtist,PolyhedronArtist,SphereArtist,TorusArtistandVectorArtist. - Added support for CLR generic dictionaries to the
compas.datadecoders. - 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.BaseArtisttocompas_rhino.artists.RhinoArtist. - Changed
compas_blender.artists.BaseArtisttocompas_blender.artists.BlenderArtist. - Changed default resolution for shape discretisation to 16 for both u and v where relevant.
- Changed base class of
compas.geometry.Primitiveandcompas.geometry.Shapetocompas.geometry.Geometry. compas_blender.artists.RobotModelArtist.collectioncan be assigned as a Blender collection or a name.- Generalized the parameter
colorofcompas_blender.draw_textsand various label drawing methods. - Changed
compas.IPYtocompas.RHINOinorientation_rhino. - Changed
planaritytorequires_extrafor pip installations. - Fixed bug in handling of ngonal meshes in
compas_ghpythonartists / drawing functions.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.8.1
Added
Changed
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.8.0
Added
- Added pluggable function
trimesh_sliceincompas_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.RobotModelArtistand drawing them. - Added
meshesmethod to artists ofcompas.robots.RobotModel. - Added
FrameArtistclass tocompas_blender.
Changed
compas.robots.Axisis now normalized upon initialization.- Fixed a bug in
compas.numerical.dr_numpywhen 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_datato be backward-compatible with JSON data generated beforecompas 1.3.0. - Changed
compas_rhino.drawing.draw_brepsto 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
dtypeto JSON decoding error message. - Moved
compas.datastructures.mesh.core.halfedge.HalfEdgetocompas.datastructures.halfedge.halfedge.HalfEdge - Moved
compas.datastructures.network.core.graph.Graphtocompas.datastructures.graph.graph.Graph.
Removed
Removed
compas.datastructures.mesh.core.mesh.BaseMesh.Removed
compas.datastructures.BaseNetwork.
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.7.1
Added
Changed
- Fixed bundling of ghuser components
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.7.0
Added
- Added pluggable function
trimesh_gaussian_curvatureincompas_rhino. - Added pluggable function
trimesh_mean_curvatureincompas_rhino. - Added pluggable function
trimesh_principal_curvatureincompas_rhino. - Added
copyanddeepcopyfunctionality tocompas.robots.Configuration. - Added grasshopper component for drawing a frame.
- Added
draw_originanddraw_axes
Changed
- Allow str or int as joint type in
compas.robots.Jointconstructor. compas_ghpython.artists.FrameArtist.drawnow 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
cleantask. - 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
trimeshcurvature functions.
Removed
- Python
Published by github-actions[bot] over 4 years ago
compas - 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_pathto work oncompas.datastructures.Meshandcompas.datastructures.Network. - Fixed
compas.data.Data.to_jsonstring. - Changed
compas.data.Data.data.setterto raiseNotImplementedError. - Changed annotations of
compas_blender.artists.BaseArtist. - Fixed
__repr__for primitives, shapes, transformations.
Removed
- Removed duplicate cases from
compas.data.DataEncoder.
- Python
Published by github-actions[bot] over 4 years ago
compas - COMPAS 1.6.2
Added
Changed
Removed
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.6.1
Added
Changed
Removed
- Python
Published by github-actions[bot] almost 5 years ago
compas - 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
prettyparameter tocompas.json_dumpandcompas.json_dumps. - Added
compas.data.Dataas base object for all data objects (geometry, data structures, ...).
Changed
- Moved
compas.utilities.DataEncodertocompas.data. - Moved
compas.utilities.DataDecodertocompas.data. - Changed base object of
compas.datastructures.Datastructuretocompas.data.Data. - Changed base object of
compas.geometry.Primitivetocompas.data.Data. - Renamed
BasetoDatafor all data based classes. - Fixed calculation of triangle normals.
- Fixed calculation of triangle areas.
Removed
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.4.0
Added
- Added Python 3.9 support.
- Added crease handling to catmull-clark subdivision scheme.
- Added
compas_ghpython.get_grasshopper_userobjects_pathto 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_lengthrelated 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
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.3.0
Added
- Added a
invertandinvertedmethodcompas.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
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.2.1
Added
Changed
Removed
- Fixed API removals from 1.0.0 -> 1.2.0
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.2.0
Added
- Added
divide_polyline,divide_polyline_by_length,Polyline.split_at_cornersandPolyline.tangent_at_point_on_polyline. - Added the magic method
__str__tocompas.geoemetry.Transformation. - Added
redrawflag to thecompas_rhinomethodsdelete_object,delete_objectsandpurge_objects. - Added the
__eq__method forcompas.geometry.Circleandcompas.geometry.Line. - Added support for Pylance through static API definitions.
- Added
halfedge_stripmethod tocompas.datastructures.HalfEdge.
Changed
- Fixed bug where mimic joints were considered configurable.
- Fixed bug where
!=gave incorrect results in Rhino for some compas objects. - Fixed bug where
compas_rhino.BaseArtist.redrawdid not trigger a redraw. - Fixed minor bugs in
compas.geometry.Polylineandcompas.geometry.Polygon. - Fixed very minor bugs in
compas.geometry.Frameandcompas.geometry.Quaternion. - Fixed bug in
compas_rhino.objects.MeshObject.modify. - Fixed bug in
compas_rhino.objects.MeshObject.modify_vertices. - Fixed bug in
compas_rhino.objects.MeshObject.modify_edges. - Fixed bug in
compas_rhino.objects.MeshObject.modify_faces. - Fixed bug in
compas_rhino.objects.VolMeshObject.modify. - Fixed bug in
compas_rhino.objects.VolMeshObject.modify_vertices. - Fixed bug in
compas_rhino.objects.VolMeshObject.modify_edges. - Fixed bug in
compas_rhino.objects.VolMeshObject.modify_faces. - Fixed bug in
compas_rhino.objects.NetworkObject.modify. - Fixed bug in
compas_rhino.objects.NetworkObject.modify_vertices. - Fixed bug in
compas_rhino.objects.NetworkObject.modify_edges. - Changed
compas_rhino.objects.inspecttocompas_rhino.objects.inspectors. - Changed
compas_rhino.objects.selecttocompas_rhino.objects._select. - Changed
compas_rhino.objects.modifytocompas_rhino.objects._modify.
Removed
- Python
Published by github-actions[bot] almost 5 years ago
compas - COMPAS 1.1.0
Added
- Added
RobotModel.remove_link,RobotModel.remove_joint,RobotModel.to_urdf_string, andRobotModel.ensure_geometry. - Added Blender Python-example to the documentation section: Tutorials -> Robots
- Added
compas_blender.unload_modules. - Added
after_rhino_installandafter_rhino_uninstallpluggable interfaces to extend the install/uninstall with arbitrary steps.
Changed
- Fixed bug in parameter list of function
mesh_bounding_boxbound as methodMesh.bounding_box. - Fixed bug in
RobotModel/RobotModelArtist.updatewhich raised an error when the geometry had not been loaded. - Changed exception type when subdivide scheme argument is incorrect on
mesh_subdivide. - The
compas_rhino.artist.RobotModelArtistfunctionsdraw_visualanddraw_collisionnow return list of newly created Rhino object guids. - Added ability of
RobotModel.add_linkto accept primitives in addition to meshes. - Fixed bug regarding the computation of
Joint.current_origin. - Fixed bug regarding a repeated call to
RobotModel.add_joint. - Fixed bug in
compas_blender.RobotModelArtist.update. - Fixed bug in
compas.datastructures.mesh_slice_plane. - Fixed bug where initialising a
compas_blender.artists.Robotmodelartistwould create a new collection for each mesh and then also not put the mesh iton the created collection. - Changed the initialisation of
compas_blender.artists.Robotmodelartistto include acollection-parameter instead of alayer-parameter to be more consistent with Blender's nomenclature. - Used a utility function from
compas_blender.utilitiesto create the collection if none exists instead of using a new call to a bpy-method.
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 1.0.0
COMPAS is an open source computational framework for research in Architecture, Engineering, Fabrication, and Construction. The goal of COMPAS is to simplify multidisciplinary collaboration in AEFC research, introduce computational rigor and standards in our academic community, encourage sharing and reuse of research results, and facilitate the transfer of state-of-the-art academic developments into practice.
The framework consists of a general-purpose core library, written in pure Python, and a growing collection of extensions that provide easy access to peer-reviewed research, state-of-the-art external libraries such as CGAL, libigl and Triangle, and tools with specialized functionality for AEFC applications such as Abaqus, ANSYS, SOFISTIK, ROS, etc.
COMPAS has dedicated packages for working with Rhino, Grasshopper, and Blender, but it can be used in any environment that supports Python scripting. It is available on PyPI and conda-forge and can be easily installed using popular package managers on multiple platforms.
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.19.3
Added
Changed
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.19.2
Added
Changed
- Changed
compas._os.prepare_environmentto prepend environment paths (fixes problem with RPC on windows).
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.19.1
Added
Changed
- Fix bug in
compas.datastructures.AttributesView.
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.19.0
Added
- Added
is_osx.
Changed
- Fix default namespace handling in URDF documents.
- Allow custom/unknown attributes in URDF
Dynamicselement. - Moved os functions from
compastocompas._os. - Fixed bug in
is_linux. - Changed
is_windowsto work for CPython and IronPython. - Changed
compas._osfunctions to useis_windows,is_mono,is_osx. - Changed IronPython checks to
compas.IPYinstead ofcompas.is_ironpython. - Fixed data serialisation in
compas.datastructures.HalfFace.
Removed
- Removed all implementations of
draw_collection.
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.18.1
Added
- Added URDF and XML writers.
- Added
compas.robots.RobotModel.to_urdf_file. - Added
compas.files.URDF.from_robot.
Changed
- Fixed default value for
compas.robots.Axis. - Changed surface to mesh conversion to include cleanup and filter functions, and use the outer loop of all brep faces.
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.17.3
Added
Changed
- Fixed bug in
compas.geometry.is_coplanar. - Fixed bug in
compas.datastructures.mesh_merg_faces. - Fixed bug in
compas.robots.RobotModel.add_link. - Fixed bug in
compas.datastructures.Volmesh.cell_to_mesh.
Removed
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.18.0
Added
- Added
remap_valuestocompas_utilities. - Added
compas.datastructures.mesh_slice_plane.
Changed
- Fixed bug in
compas.datastructures.Network.delete_node. - Fixed bug in
compas.datastructures.Network.delete_edge. - Fixed bug in select functions for individual objects in
compas_rhino.utilities. - Fixed bug in
compas.datastructures.mesh_merge_faces.
Removed
- Removed
compas.datastructures.mesh_cut_by_plane.
- Python
Published by github-actions[bot] about 5 years ago
compas - COMPAS 0.17.2
Added
Changed
- Fixed bug in
__getstate__,__setstate__ofcompas.base.Base. - Fixed bug in
compas_rhino.artists.MeshArtistandcompas_rhino.artists.NetworkArtist. - Changed length and force constraints of DR to optional parameters.
- Removed
ABCMetafrom the list of base clases of several objects in compas.
Removed
- Python
Published by github-actions[bot] over 5 years ago
compas - COMPAS 0.17.1
Added
- Added
compas_rhino.artists.BoxArtist.draw_collection. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.CapsuleArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.ConeArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.CylinderArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.PolyhedronArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.SphereArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.TorusArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.PolygonArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.PolylineArtist.draw. - Added option to show/hide vertices, edges, and faces in
compas_rhino.artists.VectorArtist.draw.
Changed
- Changed implementation of
compas_rhino.artists.BoxArtist.draw. - Fixed bug in
compas.geometry.Capsule. - Fixed bug in
compas.geometry.Cone. - Changed
compas_rhino.draw_meshto support Ngons if available. - Fixed bug in polyhedron data.
Removed
- Removed
compas_rhino.artists.PointArtist.draw_collection. - Removed
compas_rhino.artists.CircleArtist.draw_collection. - Removed
compas_rhino.artists.LineArtist.draw_collection.
- Python
Published by github-actions[bot] over 5 years ago
compas - COMPAS 0.12.4
Check the changelog for a complete overview of changes since the last release.
- Python
Published by tomvanmele about 6 years ago
compas - COMPAS 0.5.1
Changed
- Fix
XFuncandRPCenvironment activation. - Fix exception on Rhino Mac.
- Fix missing import on
compas_rhino.geometry. - Fix offsets in
compas.geometry. - Fix installation for Rhino, related to implicit import of
matplotlib.
- Python
Published by tomvanmele almost 7 years ago
compas - COMPAS 0.5.0
Added
- Add
CircleandSphereprimitives tocompas.geometry. - Add functions to
PlaneandBoxprimitives. - Add functions to
compas_rhinocurve:lengthandis_closed. - Add functions to
compas_rhinosurface:kinks,closest_point,closest_point_on_boundaries, and functions for mapping/remapping between XYZ and UV(0) spaces based on surface's parametrization (point_xyz_to_uv,point_uv_to_xyz,line_uv_to_xyz,polyline_uv_to_xyz,mesh_uv_to_xyz) - Add
is_scalabletocompas.robots.Joint.
Changed
- Fix exception in
Plane.transform. - Fix installer to remove old symlinks.
- Fix RPC proxy server.
- Python
Published by tomvanmele almost 7 years ago
compas - COMPAS 0.3.2
This release introduces functionality for making COMPAS functionality available in Rhino through a simple command line instruction.
- Python
Published by tomvanmele over 7 years ago
compas - COMPAS 0.3.0
This release is the first installable (pip and conda) version of the COMPAS framework. It also introduces the robot package, and contains various improvements and bug fixes.
- Python
Published by tomvanmele over 7 years ago
compas - COMPAS main library
COMPAS is an open-source, Python-based computational framework for collaboration and research in architecture, engineering and digital fabrication. It is developed by the Block Research Group of ETH Zurich, with the support of the National Centre for Competence in Research (NCCR) on “Digital Fabrication”.
COMPAS is divided into a main library and a pool of user-contributed research packages. The main library is entirely open source and subject to the MIT license. It features
- a pure Python base with flexible data structures, algorithms, and methods geared towards applications in architecture, engineering, and fabrication;
- geometry processing independent of CAD tools;
- interoperability with C/C++ code and libraries such as ShapeOp, libigl and Eigen;
- methods and solvers for numerical computation built around NumPy and SciPy;
- high performance computing through GPU acceleration and JIT compilation;
- plotters and viewers for two-dimensional and basic three-dimensional visualization; and
- interfaces to common CAD software and ecosystems.
- Python
Published by tomvanmele about 8 years ago