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.
- Added
compas_occ.brep.OCCBrep.make_positive
which reverses the winding of a solid if it has negative volume. - Added
compas_occ.brep.OCCBrep.boolean_difference
method in addition to thefrom_boolean_difference
constructor. - Added
compas_occ.brep.OCCBrep.boolean_intersection
method in addition to thefrom_boolean_intersection
constructor. - Added
compas_occ.brep.OCCBrep.boolean_union
method in addition to thefrom_boolean_union
constructor. - Added
compas_occ.conversions.aabb_to_compas
to convert an OCC AABB to a COMPAS box. - Added
compas_occ.conversions.obb_to_compas
to convert an OCC OBB to a COMPAS box. - Added
compas_occ.brep.OCCBrep.aabb
. - Added
compas_occ.brep.OCCBrep.obb
.
- Changed
compas_occ.brep.OCCBrep.heal
to inludemake_positive
. - Changed
compas_occ.brep.OCCBrep.points
to 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_difference
to also accept a list ofA
shapes. - Changed
compas_occ.brep.OCCBrep.from_boolean_intersection
to also accept lists of shapes forA
andB
. - Changed
compas_occ.brep.OCCBrep.from_boolean_union
to also accept lists of shapes forA
andB
. - Changed
compas_occ.brep.OCCBrep.from_step
to convert shells to solid if possible by default. - Changed
compas_occ.brep.OCCBrep.from_iges
to convert shells to solid if possible by default.
- Changed
brepgprop_VolumeProperties
tobrepgprop.VolumeProperties
. - Pined
pythonocc-core
to< 7.8
to avoid qt conflict with Pyside6.
- 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 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
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
.
- Changed default precision of
compas_occ.brep.Brep.simplify
. - Fixed bug due to import of
typing_extensions
.
- Added
compas_occ.brep.Brep.from_plane
. - Added
compas_occ.brep.Brep.simplify
.
- Changed constructor plugin
compas.geometry.curves.new_curve
to usesuper(Curve, cls)
(otherwise it doesn't work). - Changed constructor plugin
compas.geometry.curves.new_nurbscurve
to usesuper(NurbsCurve, cls)
(otherwise it doesn't work).
- Added
compas_occ.brep.from_planes
as plugin forcompas.geometry.brep.from_planes
.
- Fixed bug in
Brep.from_extrusion
by addingcap_ends
parameter and by raising an exception when it is used :) - Fixed bug in
Brep.trim
by removing the part of the brep that is in front of the trim plane.
- Added
compas_occ.geometry.curves.new_nurbscurve_from_native
. - Added
compas_occ.geometry.surfaces.new_nurbssurface_from_native
.
- Fixed bug in
compas_occ.brep.OCCBrep.to_tesselation
.
- Added
OCCBrep.trim
andOCCBrep.trimmed
. - Added
OCCBrep.slice
. - Added
OCCBrep.split
. - Added
OCCBrep.fillet
andOCCBrep.filleted
. - Added
OCCCurve.parameter_at_distance
. - Added
compas_occ.conversions.compas_frame_from_location
. - Added
OCCBrep.native_brep
as alias forOCCBrep.occ_shape
. - Added
is_equal
andis_same
forOCCBrepVertex
,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_same
andOCCBrepVertex.is_equal
. - Added
OCCBrepEdge.is_same
andOCCBrepEdge.is_equal
. - Added
OCCBrepLoop.is_same
andOCCBrepLoop.is_equal
. - Added
OCCBrepFace.is_same
andOCCBrepFace.is_equal
.
- Changed
OCCBrep
to be a pluggin forcompas.geometry.Brep
. - Fixed the error when calling
OCCBrep.frame
. - Fixed
AttributeError
when callingOCCBrep.loops
. - Updated
compas-actions.build
workflow to v3. - Updated github workflow to latest version.
- Fixed bug in generation of tessellation mesh.
- 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 default units to MM in
compas_occ.brep.BRep
.
- Added
BRep.from_polygons
. - Added
BRep.from_extrusion
. - Added
BRep.from_sweep
. - Added
BRep.to_viewmesh
. - Added
BRep.overlap
. - Added
BRepFace.from_polygon
.
- Fixed bug in
BRep.transform
. - Changed
BRep.vertices
,BRep.edges
,BRep.loops
,BRep.faces
,BRep.shells
,BRep.solids
to only be recreated once unerlying shape is changed. - Changed implementation of
BRep.to_tessellation
to use range loop over individual nodes of triangulation instead of node list accessor.
- 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.divide
as 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
.
- Fixed unused precision parameter in
compas_occ.geometry.OCCCurve.length
. - Fixed bug in
compas_occ.brep.BRep.to_meshes
. - Changed
compas_frame_from_occ_position
tocompas_frame_from_occ_ax3
. - Changed
compas_occ.brep.BRep.to_tesselation
to useBRepMesh_IncrementalMesh
. - Changed base of
compas_occ.brep.BRepVertex
,compas_occ.brep.BRepEdge
,compas_occ.brep.BRepLoop
,compas_occ.brep.BRepFace
,compas_occ.brep.BRep
tocompas.data.Data
. - Changed conversion functions (
compas_occ.conversions
) to take optional COMPAS type parameter. - Changed
compas_occ.brep.BRep.data
to use component data.
- Added
compas_occ.geometry.OCCNurbsCurve.join
. - Added
compas_occ.geometry.OCCNurbsCurve.joined
.
- Extend
compas_occ.geometry.OCCNurbsSurface.from_fill
with up to 4 input curves.
- 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 base class of
compas_occ.geometry.OCCNurbsCurve
tocompas_occ.geometry.OCCCurve
. - Changed base class of
compas_occ.geometry.OCCNurbsSurface
tocompas_occ.geometry.OCCSurface
. - Changed
compas_occ.brep.BRepEdge
to 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
.
- Fixed input parameters and docstring of
compas_occ.geometry.NurbsSurface.closest_point
. - Fixed bug in
compas_occ.geometry.NurbsCurve.transform
.
- 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
.
- 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_nurbscurve
plugin. - Fixed exception handling in
compas_occ.geometry.NurbsCurve.closest_point
if no orthogonal projection possible.