Releases: compas-dev/compas
Releases · compas-dev/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.
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.
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.
v1.17.9
Added
Changed
Removed
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
v1.17.8
Added
Changed
- Pinned
jsonschemaversion to >=4.17, <4.18 to avoid Rust toolchain
Removed
v1.17.7
Added
Changed
- Fixed
SyntaxErrorwhen importing COMPAS in GHPython.
Removed
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 edg...
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
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.