mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
- Added function checkprops, set default tolerance parameter to 1.0e-4 - Using "area" instead of "square". - Options "-equal\notequal" isn't used together with "-s" in blend and offset test cases. - Correct regressions/differences/improvements and CPU problem (set props tolerance to 0.1) - Corrected test cases to use checkprops proc. - Correct image difference - Updated TODOs in test cases. - Updated test cases to get correct images of result shape
33 lines
699 B
Plaintext
Executable File
33 lines
699 B
Plaintext
Executable File
#INTERFACE STEP
|
|
puts "============"
|
|
puts "OCC6289"
|
|
puts "============"
|
|
puts ""
|
|
######################################################
|
|
# Internal error (code 101) in Section computation
|
|
######################################################
|
|
|
|
catch { pload XDE }
|
|
|
|
set BugNumber OCC6289
|
|
|
|
set filepath [locate_data_file OCC6289.stp]
|
|
if { [catch { stepread $filepath a * } catch_result] } {
|
|
puts "Faulty ${BugNumber} : here is reading problem"
|
|
} else {
|
|
tpcompound comp
|
|
|
|
plane pl 0 0 28 0 0 1
|
|
mkface f pl
|
|
|
|
if { [catch { bsection result comp f } catch_result] } {
|
|
puts "Faulty ${BugNumber}"
|
|
}
|
|
}
|
|
|
|
checkprops result -l 453.679
|
|
checkshape result
|
|
checksection result
|
|
set 3dviewer 0
|
|
|