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
28 lines
723 B
Plaintext
Executable File
28 lines
723 B
Plaintext
Executable File
puts "============"
|
|
puts "OCC19811"
|
|
puts "============"
|
|
puts ""
|
|
#######################################################################
|
|
# Scaling problem. Appendix for NPAL19806
|
|
#######################################################################
|
|
|
|
set BugNumber OCC19811
|
|
|
|
puts "Load shape ..."
|
|
restore [locate_data_file bug19811_VanneMP_supports_tiges_V3.brep] result
|
|
|
|
puts "Scaling operation ..."
|
|
if [catch { tscale result 0 0 0 0.5 } catch_result] {
|
|
puts "Faulty ${BugNumber} : Scaling is wrong"
|
|
}
|
|
|
|
checkprops result -s 1.6949e+06
|
|
checkshape result
|
|
|
|
checknbshapes result -vertex 173 -edge 285 -wire 113 -face 113 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 686
|
|
vinit
|
|
vdisplay result
|
|
vfit
|
|
|
|
set only_screen 0
|