Changelog¤
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased¤
Added¤
Changed¤
Removed¤
[1.5.0] 2025-12-11¤
Added¤
- Added
compas_occ.brep.OCCBrepFace.to_polygonsto include also the inner loops. - Added
compas_occ.brep.OCCBrepLoop.to_polylinefor simplified loop conversion. - Added
compas_occ.brep.OCCBrepLoop.to_polygonfor simplified loop conversion. - Added
compas_occ.brep.OCCBrepVertex.to_pointfor consistency.
Changed¤
Removed¤
[1.4.2] 2025-10-30¤
Added¤
Changed¤
Removed¤
- Removed
schemaparameter fromOCCBrep.to_stepsince it is not properly supported.
[1.4.1] 2025-10-30¤
Added¤
Changed¤
- Fixed potential causes of segmentation fault (
OCCBrepVertex.is_same,OCCBrepEdge.is_same,OCCBrepLoop.is_same,OCCBrepFace.is_same).
Removed¤
[1.4.0] 2025-10-03¤
Added¤
- Added
compas_occ.conversions.circle_to_occ2d. - Added
compas_occ.conversions.ellipse_to_occ2d. - Added
compas_occ.conversions.frame_to_occ_ax22d. - Added
compas_occ.conversions.line_to_occ2d. - Added
compas_occ.conversions.direction_to_occ2d. - Added
compas_occ.conversions.ax22d_to_compas. - Added
compas_occ.conversions.ax2d_to_compas. - Added
compas_occ.conversions.ax2d_to_compas_vector. - Added
compas_occ.conversions.cylinder2d_to_compas. - Added
compas_occ.conversions.direction2d_to_compas. - Added
compas_occ.conversions.hyperbola2d_to_compas. - Added
compas_occ.conversions.line2d_to_compas. - Added
compas_occ.conversions.parabola2d_to_compas. - Added
compas_occ.conversions.vector2d_to_compas. - Added
compas_occ.brep.builder.OCCBrepBuilder. - Added implementation of
compas_occ.brep.OCCBrepFace.__data__. - Added implementation of
compas_occ.brep.OCCBrep.__data__. - Added implementation of
compas_occ.brep.OCCBrep.__from_data__. - Added support for conversion to OCC .brep format with
OCCBrep.to_brep. - Added support for writing author, description, ... meta data to STEP files.
- Added
OCCBrep.offset.
Changed¤
- Fixed bug in propagation of linear and angular deflection between discretisation functions
OCCBrep.to_viewmeshandOCCBrep.to_tesselation.
Removed¤
- Removed unnecessay instance/type checks in comparison methods of brep components.
[1.3.0] 2025-03-21¤
Added¤
- Added
compas_occ.brep.OCCBrep.make_positivewhich reverses the winding of a solid if it has negative volume. - Added
compas_occ.brep.OCCBrep.boolean_differencemethod in addition to thefrom_boolean_differenceconstructor. - Added
compas_occ.brep.OCCBrep.boolean_intersectionmethod in addition to thefrom_boolean_intersectionconstructor. - Added
compas_occ.brep.OCCBrep.boolean_unionmethod in addition to thefrom_boolean_unionconstructor. - Added
compas_occ.conversions.aabb_to_compasto convert an OCC AABB to a COMPAS box. - Added
compas_occ.conversions.obb_to_compasto convert an OCC OBB to a COMPAS box. - Added
compas_occ.brep.OCCBrep.aabb. - Added
compas_occ.brep.OCCBrep.obb. - Added
compas_occ.brep.OCCBrep.intersect. - Added first implementation for
compas_occ.brep.OCCBrep.from_loft(not very well tested).
Changed¤
- Changed
compas_occ.brep.OCCBrep.healto inludemake_positive. - Changed
compas_occ.brep.OCCBrep.pointsto return only unique points instead of repeating points for every repeated occurrence of a vertex within the data structure. - Changed
compas_occ.brep.OCCBrep.from_boolean_differenceto also accept a list ofAshapes. - Changed
compas_occ.brep.OCCBrep.from_boolean_intersectionto also accept lists of shapes forAandB. - Changed
compas_occ.brep.OCCBrep.from_boolean_unionto also accept lists of shapes forAandB. - Changed
compas_occ.brep.OCCBrep.from_stepto convert shells to solid if possible by default. - Changed
compas_occ.brep.OCCBrep.from_igesto convert shells to solid if possible by default. - Fixed bug in
compas_occ.brep.OCCBrep.to_stl. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_circle. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_ellipse. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_hyperbola. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_parabola. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_bezier. - Fixed malloc problem during Brep edge conversion to curve geometry in
OCCBrepEdge.to_bspline.
Removed¤
[1.2.1] 2024-07-11¤
Added¤
Changed¤
- Changed
brepgprop_VolumePropertiestobrepgprop.VolumeProperties. - Pined
pythonocc-coreto< 7.8to avoid qt conflict with Pyside6.
Removed¤
[1.2.0] 2024-07-06¤
Added¤
- Added
compas_occ.geometry.curves.OCCcurve.from_native. - Added
compas_occ.geometry.curves.OCCNurbsCurve.from_native. - Added
compas_occ.geometry.surfaces.nurbssurface_from_extrusion. - Added
compas_occ.geometry.surfaces.nurbssurface_from_plane. - Added
compas_occ.geometry.surfaces.OCCSurface.from_native. - Added
compas_occ.geometry.surfaces.OCCNurbsSurface.from_native. - Added
compas_occ.geometry.surfaces.OCCNurbsSurface.from_plane.
Changed¤
- Changed plugin name to match pluggable name for
compas_occ.geometry.curves.curve_from_native. - Changed plugin name to match pluggable name for
compas_occ.geometry.curves.nurbscurve_from_native. - Changed plugin name to match pluggable name for
compas_occ.geometry.curves.nurbscurve_from_interpolation. - Changed plugin name to match pluggable name for
compas_occ.geometry.curves.nurbscurve_from_parameters. - Changed plugin name to match pluggable name for
compas_occ.geometry.curves.nurbscurve_from_points. - Changed plugin name to match pluggable name for
compas_occ.geometry.curves.nurbscurve_from_step. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.surface_from_native. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_native. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_interpolation. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_fill. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_parameters. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_plane. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_points. - Changed plugin name to match pluggable name for
compas_occ.geometry.surfaces.nurbssurface_from_step.
Removed¤
- Removed
compas_occ.geometry.curves.new_curve. - Removed
compas_occ.geometry.curves.new_nurbscurve. - Removed
compas_occ.geometry.surfaces.new_surface. - Removed
compas_occ.geometry.surfaces.new_nurbssurface.
[1.1.1] 2024-07-03¤
Added¤
Changed¤
- Changed default precision of
compas_occ.brep.Brep.simplify. - Fixed bug due to import of
typing_extensions.
Removed¤
[1.1.0] 2024-05-13¤
Added¤
- Added
compas_occ.brep.Brep.from_plane. - Added
compas_occ.brep.Brep.simplify.
Changed¤
- Changed constructor plugin
compas.geometry.curves.new_curveto usesuper(Curve, cls)(otherwise it doesn't work). - Changed constructor plugin
compas.geometry.curves.new_nurbscurveto usesuper(NurbsCurve, cls)(otherwise it doesn't work).
Removed¤
[1.0.2] 2024-03-18¤
Added¤
- Added
compas_occ.brep.from_planesas plugin forcompas.geometry.brep.from_planes.
Changed¤
- Fixed bug in
Brep.from_extrusionby addingcap_endsparameter and by raising an exception when it is used :) - Fixed bug in
Brep.trimby removing the part of the brep that is in front of the trim plane.
Removed¤
[1.0.1] 2024-02-03¤
Added¤
- Added
compas_occ.geometry.curves.new_nurbscurve_from_native. - Added
compas_occ.geometry.surfaces.new_nurbssurface_from_native.
Changed¤
- Fixed bug in
compas_occ.brep.OCCBrep.to_tesselation.
Removed¤
[1.0.0] 2024-02-01¤
Added¤
- Added
OCCBrep.trimandOCCBrep.trimmed. - Added
OCCBrep.slice. - Added
OCCBrep.split. - Added
OCCBrep.filletandOCCBrep.filleted. - Added
OCCCurve.parameter_at_distance. - Added
compas_occ.conversions.compas_frame_from_location. - Added
OCCBrep.native_brepas alias forOCCBrep.occ_shape. - Added
is_equalandis_sameforOCCBrepVertex,OCCBrepEdge,OCCBrepLoop,OCCBrepFace. - Added correct type info to
OCCBrepVertex.occ_vertex. - Added correct type info to
OCCBrepEdge.occ_edge. - Added correct type info to
OCCBrepLoop.occ_wire. - Added correct type info to
OCCBrepFace.occ_face. - Added
OCCBrepLoop.occ_shape. - Added
OCCBrep.from_iges. - Added
OCCBrep.to_stl. - Added
OCCBrep.to_iges. - Added
OCCBrepVertex.is_sameandOCCBrepVertex.is_equal. - Added
OCCBrepEdge.is_sameandOCCBrepEdge.is_equal. - Added
OCCBrepLoop.is_sameandOCCBrepLoop.is_equal. - Added
OCCBrepFace.is_sameandOCCBrepFace.is_equal.
Changed¤
- Changed
OCCBrepto be a pluggin forcompas.geometry.Brep. - Fixed the error when calling
OCCBrep.frame. - Fixed
AttributeErrorwhen callingOCCBrep.loops. - Updated
compas-actions.buildworkflow to v3. - Updated github workflow to latest version.
Removed¤
[0.7.1] 2023-03-21¤
Added¤
Changed¤
- Fixed bug in generation of tessellation mesh.
Removed¤
[0.7.0] 2022-11-06¤
Added¤
- Added
compas_occ.geometry.OCCSurface.from_plane. - Added
compas_occ.geometry.OCCSurface.intersections_with_curve. - Added
compas_occ.brep.BRepFace.to_polygon. - Added
compas_occ.brep.BRep.edge_faces.
Changed¤
- Changed default units to MM in
compas_occ.brep.BRep.
Removed¤
[0.6.0] 2022-10-07¤
Added¤
- Added
BRep.from_polygons. - Added
BRep.from_extrusion. - Added
BRep.from_sweep. - Added
BRep.to_viewmesh. - Added
BRep.overlap. - Added
BRepFace.from_polygon.
Changed¤
- Fixed bug in
BRep.transform. - Changed
BRep.vertices,BRep.edges,BRep.loops,BRep.faces,BRep.shells,BRep.solidsto only be recreated once unerlying shape is changed. - Changed implementation of
BRep.to_tessellationto use range loop over individual nodes of triangulation instead of node list accessor.
Removed¤
[0.5.0] 2022-07-22¤
Added¤
- Added
compas_occ.geometry.OCCRevolutionSurface. - Added
compas_occ.conversions.compas_axis_to_occ_axis. - Added
compas_occ.conversions.compas_axis_from_occ_axis. - Added
compas_occ.geometry.OCCExtrusionSurface. - Added
compas_occ.geometry.OCCNurbsSurface.from_extrusion. - Added
compas_occ.geometry.OCCCurve.divide_by_count. - Added
compas_occ.geometry.OCCCurve.divideas alias forcompas_occ.geometry.OCCCurve.divide_by_count. - Added
compas_occ.geometry.OCCCurve.projected. - Added
compas_occ.geometry.OCCCurve.embedded. - Added
compas_occ.brep.BRep.from_faces. - Added
compas_occ.brep.BRep.from_polygons. - Added
compas_occ.brep.BRep.check. - Added
compas_occ.brep.BRep.sew. - Added
compas_occ.brep.BRep.fix. - Added
compas_occ.brep.BRep.transform. - Added
compas_occ.brep.BRep.transformed. - Added
compas_occ.brep.BRep.from_step. - Added
compas_occ.brep.BRep.from_shape. - Added
compas_occ.brep.BRep.make_solid. - Added
compas_occ.brep.BRep.centroid. - Added
compas_occ.brep.BRep.volume. - Added
compas_occ.brep.BRep.shells. - Added
compas_occ.brep.BRep.solids. - Added
compas_occ.brep.BRep.is_shell. - Added
compas_occ.brep.BRep.is_solid. - Added
compas_occ.brep.BRep.slice. - Added
compas_occ.brep.BRep.split. - Added
compas_occ.brep.BRepFace.data. - Added
compas_occ.brep.BRepLoop.data. - Added
compas_occ.brep.BRepEdge.data. - Added
compas_occ.brep.BRepVertex.data. - Added
compas_occ.brep.BRep.area. - Added
compas_occ.brep.BRepEdge.length. - Added
compas_occ.brep.BRep.vertex_neighbors. - Added
compas_occ.brep.BRep.vertex_edges. - Added
compas_occ.brep.BRep.vertex_faces. - Added
compas_occ.brep.BRep.from_sweep. - Added nurbs conversion to
compas_occ.brep.BRepEdge.data. - Added nurbs conversion to
compas_occ.brep.BRepFace.data.
Changed¤
- Fixed unused precision parameter in
compas_occ.geometry.OCCCurve.length. - Fixed bug in
compas_occ.brep.BRep.to_meshes. - Changed
compas_frame_from_occ_positiontocompas_frame_from_occ_ax3. - Changed
compas_occ.brep.BRep.to_tesselationto useBRepMesh_IncrementalMesh. - Changed base of
compas_occ.brep.BRepVertex,compas_occ.brep.BRepEdge,compas_occ.brep.BRepLoop,compas_occ.brep.BRepFace,compas_occ.brep.BReptocompas.data.Data. - Changed conversion functions (
compas_occ.conversions) to take optional COMPAS type parameter. - Changed
compas_occ.brep.BRep.datato use component data.
Removed¤
[0.4.2] 2022-03-22¤
Added¤
- Added
compas_occ.geometry.OCCNurbsCurve.join. - Added
compas_occ.geometry.OCCNurbsCurve.joined.
Changed¤
- Extend
compas_occ.geometry.OCCNurbsSurface.from_fillwith up to 4 input curves.
Removed¤
[0.4.1] 2022-03-22¤
Added¤
Changed¤
Removed¤
[0.4.0] 2022-02-07¤
Added¤
- Added
compas_occ.geometry.OCCCurve. - Added
compas_occ.geometry.OCCSurface. - Added
compas_occ.brep.BRep.__add__to support boolean union through "+". - Added
compas_occ.brep.BRep.__sub__to support boolean difference through "-". - Added
compas_occ.brep.BRep.__and__to support boolean intersection through "&".
Changed¤
- Changed base class of
compas_occ.geometry.OCCNurbsCurvetocompas_occ.geometry.OCCCurve. - Changed base class of
compas_occ.geometry.OCCNurbsSurfacetocompas_occ.geometry.OCCSurface. - Changed
compas_occ.brep.BRepEdgeto usecompas_occ.geometry.OCCCurve. - Fixed bug in
compas_occ.brep.BRep.to_meshes. - Fixed registration of curve plugin constructors to support multiple inheritance.
- Fixed registration of surface plugin constructors to support multiple inheritance.
- Fixed
compas_occ.geometry.NurbsCurve.copy.
Removed¤
[0.3.4] 2022-01-17¤
Added¤
Changed¤
- Fixed input parameters and docstring of
compas_occ.geometry.NurbsSurface.closest_point. - Fixed bug in
compas_occ.geometry.NurbsCurve.transform.
Removed¤
[0.3.3] 2021-12-16¤
Added¤
Changed¤
Removed¤
[0.3.2] 2021-12-14¤
Added¤
- Added
compas_occ.brep.BRep. - Added
compas_occ.brep.BRepEdge. - Added
compas_occ.brep.BRepFace. - Added
compas_occ.brep.BRepLoop. - Added
compas_occ.brep.BRepVertex. - Added
compas_occ.geometry.NurbsCurve.segment. - Added
compas_occ.geometry.NurbsCurve.segmented. - Added
compas_occ.geometry.NurbsCurve.closest_point. - Added
compas_occ.geometry.NurbsCurve.curve_closest_parameters.
Changed¤
- Fixed input parameters of
new_nurbscurve_from_interpolation. - Fixed input parameters of
new_nurbscurve_from_step. - Fixed error in attributes of empty curve.
- Fixed error in parameter list of
new_nurbscurveplugin. - Fixed exception handling in
compas_occ.geometry.NurbsCurve.closest_pointif no orthogonal projection possible.