mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-10 09:30:48 +08:00
- 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
39 lines
1004 B
Plaintext
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 |