Files
OCCT/tests/lowalgos/intss/bug27263
Pasukhin Dmitry 04025d1cc3 Testing - Update reference data for migration to new station (#1248)
- Adjusted faulties and warnings in tests for IGES and STEP files to reflect updated results.
- Corrected tolerance values in multiple tests to ensure accuracy in shape validation.
- Updated expected label counts and properties in several test cases to align with new outputs.
- Modified error messages and expected results in HLR and offset tests for consistency.
- Refined metadata checks in GLTF and STEP tests to match revised reference sizes and values.
- Update Improvements cases with removing TODO
2026-04-30 10:38:25 +01:00

39 lines
1004 B
Plaintext

puts "================"
puts "OCC27263"
puts "================"
puts ""
#######################################################################
# Regression vs 6.9.1: Exception is raised during intersection of two faces
#######################################################################
puts "TODO OCC0000 All: Error: Curve Number is bad!"
puts "TODO OCC0000 All: Error : The length of result shape is"
puts "TODO OCC0000 All: Error: The command cannot be"
set MaxTol 1.e-7
set GoodNbCurv 2
restore [locate_data_file bug27262_cmpd.brep] b
explode b
smallview
explode b_1 f
don b_1_27 b_2
fit
set log [bopcurves b_1_27 b_2 -2d]
regexp {Tolerance Reached=+([-0-9.+ee]+)\n+([-0-9.+ee]+)} ${log} full Toler NbCurv
if {${Toler} > ${MaxTol}} {
puts "Error: Tolerance is too big!"
}
if {${NbCurv} != ${GoodNbCurv}} {
puts "Error: Curve Number is bad!"
}
checklength c_1 -l 2.9620641619623407
checklength c_2 -l 3.1050603628884668
checkview -screenshot -2d -path ${imagedir}/${test_image}.png