1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/modalg_2/bug21261_6
ski 58cf74e0c0 0025945: Make stable checking of shape global properties in tests
- 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
2015-12-10 16:56:03 +03:00

41 lines
986 B
Plaintext
Executable File

puts "========"
puts "OCC21261"
puts "========"
puts ""
######################################################
# Implementation of thickening of shell functionality
######################################################
set BugNumber OCC21261
restore [locate_data_file OCC21261-3.brep] s
thickshell result s -5
checkprops result -s 115498
checkshape result
checknbshapes result -vertex 24 -edge 48 -wire 24 -face 24 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 122
vinit
vdisplay result
vsetdispmode 0
vfit
set scale 4.1681300306816444
set proj_X 0.48621529340744019
set proj_Y -0.47558537125587463
set proj_Z 0.73308473825454712
set up_X -0.51949578523635864
set up_Y 0.51725912094116211
set up_Z 0.68012285232543945
set at_X -2.16667064830908
set at_Y 2.30140290143177
set at_Z 4.64791596010368
vviewparams -scale ${scale} -proj ${proj_X} ${proj_Y} ${proj_Z} -up ${up_X} ${up_Y} ${up_Z} -at ${at_X} ${at_Y} ${at_Z}
set only_screen 0