github Open-Cascade-SAS/OCCT V8_0_2

one hour ago

Open Cascade is publishing Open CASCADE Technology version 8.0.2, the second regular maintenance release in the 8.0 series.

This release brings together selected fixes from the development branch after 8.0.1. It improves fillet and loft construction, numerical geometry, transformations, meshing, hidden-line removal, BREP reading, STEP data exchange and SDK integration. The C++17 baseline, public C++ interfaces and class layouts of 8.0.1 are preserved.

Use the release tag V8_0_2 for source checkouts, dependency references and reproducible builds. The OCCT-802 branch is temporary and may be removed. The release source is available under the permanent tag. V8_0_2 source

The previous maintenance release notes are available for 8.0.1. V8_0_1 release

Highlights

  • Fillet and offset reliability. Missing obstacle edges and exhausted edge searches are handled before curve adaptors are constructed. Periodic fillet spines and circular wire offsets receive additional corrections.
  • Loft and pipe construction. Closed lofts retain edge history when the last section repeats the first. Unbounded loft sections and a missing auxiliary pipe spine are rejected through the existing failure paths.
  • Numerical geometry. B-spline span selection, trimmed periodic geometry, offset derivatives, constrained fitting and projection derivatives are corrected. Least-squares fitting handles large coordinates more accurately.
  • BREP reading. Long real values are read without truncation, with bounded fallback storage and proper failure reporting for oversized or malformed input.
  • Meshing and hidden-line removal. Circumcircle calculations, constrained-edge insertion, curve sampling and exact HLR surface sampling are corrected.
  • STEP and PMI handling. Fixes cover logical fields, malformed references, tessellated geometry, measurement units, GD&T references and datum points.
  • SDK integration. CMake package discovery supports relocated installations, requested components and build-tree use.

Modeling Algorithms

  • Fixed two missing-edge paths in fillet construction. ChFi3d_Builder reports a failed start solution when an obstacle face has no matching edge, and the two-corner fillet check runs after the edge search is exhausted. These paths now stop before constructing an invalid curve adaptor. #1708, #1710

  • Improved periodic fillet spine closure. Seam multiplicity is reduced when the closure is below G2 continuity and the knot can be removed. The existing elementary spine interfaces and evaluation paths are retained. #1501

  • Preserved the first section's split history in BRepOffsetAPI_ThruSections when a closed loft repeats that section at the end. Generated-face history remains available for the original edges. Unbounded section edges and missing endpoints are also checked before loft construction. #1783, #1784

  • Fixed null auxiliary-spine access during pipe construction. An absent auxiliary spine is rejected before its closure flag is read, and regression coverage checks a subsequent valid sweep. #1785

  • Fixed iterator invalidation while removing malformed child edges from a wire. The iterator advances before removal, and the edge wrapper stays alive during the operation. #1787

  • Corrected circular wire offsets when the offset collapses a circular edge. Once the circular special case is recognized, its result is retained through the existing completion path. Regression tests cover collapsed circles, taper and positive offsets. #1453

  • Corrected Boolean result handling and tolerance limits. Union and intersection sets reach their existing outputs, section splitting is limited to common vertices and pave-block endpoints, and wire correction uses both edge lengths when limiting tolerance growth. #1620

  • Corrected mass-property integration for plane-limited volumes and offset reference planes. Fixed and adaptive integration now account for the supplied plane when calculating mass, centre of gravity and inertia. #1587, #1601

  • Fixed GeomFill_CoonsAlgPatch::Value() to evaluate the U-direction boundary curves at the U parameter. #1550

  • Corrected intersection preparation. The first and last polygon segments are treated as neighbours only for a closed polygon. Curve-surface intersection candidates are sorted while preserving their transition classification. #1653

  • Improved fitting accuracy and subdivision. Endpoint constraints are applied to the fitted result, and narrow approximation intervals remain available when hang checking is disabled. Least-squares equations are centred around a sampled point to reduce cancellation for curves far from the origin. #1653, #1640, maintenance integration fixes

  • Corrected C2 face-continuity classification in BRepLib. Promotion to C2 checks transverse second derivatives. A rational cylinder seam with a second-derivative discontinuity retains G2 regularity, while a smooth split can retain C2. Regression coverage includes face order, orientations and locations. Maintenance integration fixes

  • Reduced retention of temporary solid classifiers in BOPAlgo_BuilderSolid. Infinite-point queries on temporary shells use a local classifier, while repeated inside checks continue to use the context cache. #1046

Modeling Data And Foundation Classes

  • Preserved periodic trim ranges in Geom_TrimmedCurve and Geom2d_TrimmedCurve copying, adaptor reconstruction and persistence. Text and binary persistence retain shifted and multi-period parameter ranges. Trimmed evaluations use the appropriate interior derivatives, and adaptor reloads clear stale evaluation state. #1644

  • Corrected periodic tangent-continuity checks, surfaces trimmed in a single parameter direction, curve-on-surface derivatives and third derivatives of offset curves. Projection derivatives are also stabilized near nearly parallel surface tangents. #1644, #1741

  • Preserved natural periodic intervals when copying analytic bisectors. This restores wire-offset construction that depends on consistent bisector parameter comparisons. Maintenance integration fixes

  • Fixed flat-knot span selection in BSplCLib::LocateParameter(). Parameters immediately below an interior knot remain in the span containing them, keeping scalar and grid B-spline evaluation consistent. #1512

  • Corrected the pole-count limit in 2D and 3D Bezier curve insertion. Curves can reach MaxDegree() + 1 poles, consistent with their constructors. #1593

  • Fixed an AdvApp2Var workspace index so U-direction Jacobi maxima are written to the slot used by the patch error estimate. Regression coverage checks the measured approximation error on a sphere. #1418

  • Corrected point-pair access in parallel curve-surface and surface-surface extrema results. Distance-only results retain their distance information, and requests for unavailable point pairs follow the existing checked failure contract. #1596

  • Corrected located and general BRepTools transformations. Geometry, triangulations and normals are transformed in their representation coordinate systems, including repeated transformations and updates through the existing mutable general-transform accessor. #1472

  • Fixed reading of long real values in BREP geometry and shape data. The ordinary short-value path uses a small buffer, while longer values use bounded fallback storage. Malformed and oversized values propagate stream and read failures. #1786

  • Corrected the default gp_Hypr minor radius to use the non-negative undefined-radius value, matching the convention used by gp_Hypr2d. #1538

Meshing, Curve Sampling And Hidden-Line Removal

  • Stabilized mesh circumcircle calculations by using local coordinates and corrected refinement-point insertion near constrained edges. #1741

  • Corrected tangential-deflection sampling for curve segments with shallow curvature so the requested linear deflection remains effective. #1741

  • Preserved the B-spline surface type used by exact HLR and based its sample count on the active U and V spans. Regression coverage includes full and partial surface ranges and edge-on projections. #1634, #1640

  • Improved curve-on-surface deviation checking at seams and degenerate edges. The larger deviation from the seam's pcurves is retained, both adaptors are cleared before reuse, and same-parameter deviation is reset for degenerated edges. Surface-knot crossings used in projection are sorted before duplicate removal. #1634, #1741, #1640

Data Exchange

  • Corrected STEP field handling for logical SELECT values, arrays and copied field lists. Readers, writers and sharing operations respect declared array bounds, reserved writer positions are retained, and unset strings keep their state. #1470

  • Hardened STEP input validation. Nested oriented edges are resolved with cyclic-chain detection, and B-spline poles, knots, multiplicities and weights are checked before conversion. Unresolved reference record numbers and invalid AP242 normal dimensions are also handled. #1514, #1647

  • Corrected AP242 triangle-strip and triangle-fan decoding to use the expected vertex order. #1611

  • Corrected STEP measurement-unit handling. Constructive geometry uses the units of its owning representation, PMI dimension values are written in their declared STEP units, and generic dimensional-tolerance bounds are converted to XCAF units when read. #1644, #1647

  • Preserved STEP GD&T references during writing and entity sharing. Fixes cover runout orientation and angle references, qualified measure references and datum-modifier measures. #1644, #1647

  • Fixed XCAF datum-point reading to use the point's own array independently of the annotation-plane array. #1483

Configuration, Documentation And Draw

  • Corrected CMake package paths for relocated SDK installations and preserved component-based and build-tree find_package(OpenCASCADE) discovery. #1644

  • Added configure-time linking notices for static libraries and platform-restricted build configurations. #1724

  • Corrected the generated Windows environment so enabling FreeType adds HAVE_FREETYPE to PRODUCTS_DEFINES. FreeImage keeps its separate definition. #1428

  • Updated the Unicode attribution in NCollection_UtfIterator to Unicode License V3. #1532

  • Corrected the Y-coordinate calculation in the Draw scale and 2dscale commands. #1493

  • Expanded GTest coverage and refreshed Draw references for the migrated geometry, mesh and HLR changes, including platform-specific HLR results on Linux and Windows. Maintenance integration fixes

Contributors

Thanks to everyone who reported, investigated, tested, reviewed and fixed issues for this maintenance release.

Full Changelog: V8_0_1...V8_0_2

Don't miss a new OCCT release

NewReleases is sending notifications on new releases.