mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-10-17 06:17:31 +08:00
- Stabilize B-spline interpolation and derivative evaluation on uneven knots. - Add local surface span selection with periodic seam derivative handling. - Optimize polynomial and rational surface cache first derivatives. - Consolidate torus evaluators and preserve small components near singularities. - Fix thin triangle projection and support independent optional BVH outputs. - Preserve Bezier cusps when adjacent tangents have opposite directions. - Apply Householder reflectors directly to right-hand sides without forming Q. - Reuse QR and SVD decompositions and retain small modes under regularization. - Make Newton convergence and PSO stagnation independent of objective scale. - Add strict PSO domain handling and optimize particle restart selection. - Use relative Laguerre residual checks to reject inaccurate roots. - Add exact component restoration for directions, frames and transformations. - Fix point mirror inversion and simplify location chain operations. - Honor default thread pool launch limits in OSD_Parallel. - Add flat map storage accounting and Precision::IsFinite. - Default GUID copy assignment and extend GTest regression coverage.
22 lines
747 B
Plaintext
Executable File
22 lines
747 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC399"
|
|
puts "========"
|
|
puts ""
|
|
#########################################
|
|
## Checkshape gives wrong result for valid face
|
|
#########################################
|
|
|
|
restore [locate_data_file OCC399.brep] result
|
|
|
|
# The stored edge tolerance (2.5999998887993198e-7) is smaller than
|
|
# the curve-on-surface deviation (2.6000002712802474e-7).
|
|
puts "REQUIRED All: Faulty shapes in variables faulty_1 to faulty_2"
|
|
set che [checkshape result]
|
|
if {![regexp {BRepCheck_InvalidCurveOnSurface} $che] ||
|
|
![regexp {BRepCheck_InvalidSameParameterFlag} $che]} {
|
|
puts "Error: The undersized curve-on-surface tolerance was not detected"
|
|
}
|
|
|
|
checkprops result -s 4558.53
|
|
checkview -display result -2d -path ${imagedir}/${test_image}.png
|