1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0026833: Create command checkview containing all viewer types

Created command checkview for displaying shapes.
This commit is contained in:
ski
2016-01-27 09:55:25 +03:00
committed by abv
parent 917cae00ca
commit 5747059b21
6739 changed files with 8597 additions and 5791 deletions

View File

@@ -4,3 +4,4 @@ restore [locate_data_file CIN900_cts20hll.rle] b
bfuse result a b
checkprops result -s 43552.5
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file CIN900_fra61hlt.rle] b
bfuse result a b
checkprops result -s 309.521
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file CIN900_cts21hlp.rle] b
bfuse result a b
checkprops result -s 164274
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f6] b2
bfuse result b1 b2
checkprops result -s 190.027
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f3] b2
bfuse result b1 b2
checkprops result -s 172.169
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f5] b2
bfuse result b1 b2
checkprops result -s 178.896
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f5] b2
bfuse result b1 b2
checkprops result -s 314.159
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f5] b2
bfuse result b1 b2
checkprops result -s 628.319
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f4] b2
bfuse result b1 b2
checkprops result -s 628.319
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f3] b2
bfuse result b1 b2
checkprops result -s 200.713
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f4] b2
bfuse result b1 b2
checkprops result -s 392.699
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f5] b2
bfuse result b1 b2
checkprops result -s 157.08
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file f41] b2
bfuse result b1 b2
checkprops result -s 628.319
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so4] b2
bfuse result b1 b2
checkprops result -s 942.478
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so2] b2
bfuse result b1 b2
checkprops result -s 942.478
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so3] b2
bfuse result b1 b2
checkprops result -s 458.149
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so2] b2
bfuse result b1 b2
checkprops result -s 743.615
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so2] b2
bfuse result b1 b2
checkprops result -s 430.878
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so7] b2
bfuse result b1 b2
checkprops result -s 445.059
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so7] b2
bfuse result b1 b2
checkprops result -s 466.035
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file so6] b2
bfuse result b1 b2
checkprops result -s 469.85
checkview -display result -2d -otherwise { b1 b2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file c2.brep] c
bfuse result b c
checkprops result -s 131766
checkview -display result -2d -otherwise { b c } -s -path ${imagedir}/${test_image}.png

View File

@@ -4,3 +4,4 @@ restore [locate_data_file box.brep] b
bfuse result c b
checkprops result -s 131766
checkview -display result -2d -otherwise { c b } -s -path ${imagedir}/${test_image}.png

View File

@@ -14,3 +14,4 @@ tscale p2 0 0 0 1*SCALE
bfuse result p2 p1
checkprops result -s 1.85425e+09
checkview -display result -2d -otherwise { p2 p1 } -s -path ${imagedir}/${test_image}.png

View File

@@ -14,3 +14,4 @@ tscale p2 0 0 0 1*SCALE
bfuse result p2 p1
checkprops result -s 1.85425e+09
checkview -display result -2d -otherwise { p2 p1 } -s -path ${imagedir}/${test_image}.png

View File

@@ -14,3 +14,4 @@ tscale p2 0 0 0 1*SCALE
bfuse result p2 p1
checkprops result -s 74.7286
checkview -display result -2d -otherwise { p2 p1 } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file cts16184b.brep] b
bfuse result a b
checkprops result -s 0.0892544
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file cts19474tool.rle] tool
bfuse result part tool
checkprops result -s 328.513
checkview -display result -2d -otherwise { part tool } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ restore [locate_data_file CTO900_ger60039b.rle] b
bfuse result a b
checkprops result -s 18154.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ restore [locate_data_file ger60041b.rle] b
bfuse result a b
checkprops result -s 17651.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,3 +9,4 @@ fsameparameter b
bfuse result a b
checkprops result -s 22058
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file ksi0014b.rle] b
bfuse result a b
checkprops result -s 223775
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file CTO900_pro6050b.rle] b
bfuse result a b
checkprops result -s 1.06905e+06
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro6965b.rle] b
bfuse result a b
checkprops result -s 406922
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file CTO900_pro11172b.rle] b
bfuse result a b
checkprops result -s 681699
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro12559b.rle] b
bfuse result a b
checkprops result -s 132237
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,3 +6,4 @@ restore [locate_data_file CTO900_fra11018b.rle] b
bfuse result a b
checkprops result -s 25189.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ restore [locate_data_file CTO900_cts60005b.rle] b
bfuse result a b
checkprops result -s 10558.1
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro8934b.rle] b
bfuse result a b
checkprops result -s 20480.4
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,3 +9,4 @@ restore [locate_data_file pro14260d.rle] d
bfuse result c d
checkprops result -s 46305.1
checkview -display result -2d -otherwise { c d } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro9476-tool.rle] tool
bfuse result part tool
checkprops result -s 1.83166e+06
checkview -display result -2d -otherwise { part tool } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro10505b.rle] b
bfuse result a b
checkprops result -s 302396
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -13,3 +13,4 @@ bfuse resafbf af bf
bfuse result resafbf cf
checkprops result -s 12677.1
checkview -display result -2d -otherwise { resafbf cf } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_ger60239b.rle] b
bfuse result a b
checkprops result -s 3468.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro7934b.rle] b
bfuse result a b
checkprops result -s 201978
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,3 +9,4 @@ restore [locate_data_file CTO900_pro12696b.rle] b
bfuse result a b
checkprops result -s 121211
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro12695b.rle] b
bfuse result a b
checkprops result -s 121112
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file CTO900_pro6110b.rle] b
bfuse result a b
checkprops result -s 1.7431e+06
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro10494c.rle] c
bfuse result b c
checkprops result -s 152689
checkview -display result -2d -otherwise { b c } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file pro10658b.rle] b
bfuse result a b
checkprops result -s 8231.06
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_pro12896b.rle] b
bfuse result a b
checkprops result -s 202328
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -10,3 +10,4 @@ explode res1
bfuse result base res1_1
checkprops result -s 143829
checkview -display result -2d -otherwise { base res1_1 } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,3 +8,4 @@ restore [locate_data_file CTO900_pro12913b.rle] b
bfuse result a b
checkprops result -s 213476
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file CTO900_cts20124b.rle] b
bfuse result a b
checkprops result -s 49957.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ restore [locate_data_file cts21197d.rle] tool
bfuse result part tool
checkprops result -s 4569.66
checkview -display result -2d -otherwise { part tool } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ updatetolerance tool 1
bfuse result part tool
checkprops result -s 671652
checkview -display result -2d -otherwise { part tool } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO900_cts20124b.rle] b
bfuse result a b
checkprops result -s 49957.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO901_cts20171_outil.rle] outil
bfuse result base outil
checkprops result -s 47886.5
checkview -display result -2d -otherwise { base outil } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO901_cts20204_outil.rle] outil
bfuse result base outil
checkprops result -s 541480
checkview -display result -2d -otherwise { base outil } -s -path ${imagedir}/${test_image}.png

View File

@@ -5,3 +5,4 @@ restore [locate_data_file CTO901_cts20205-outil.rle] outil
bfuse result base outil
checkprops result -s 542196
checkview -display result -2d -otherwise { base outil } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO901_cts20216_outil.rle] outil
bfuse result base outil
checkprops result -s 2005.99
checkview -display result -2d -otherwise { base outil } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,3 +6,4 @@ restore [locate_data_file CTO901_cts20222_outil.rle] outil
bfuse result base outil
checkprops result -s 3342.49
checkview -display result -2d -otherwise { base outil } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,8 +8,5 @@ restore [locate_data_file CTO902_cts20452b.rle] b
bfuse result a b
checkprops result -s 538530
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file cts20453a.rle] a
bfuse result a b
checkprops result -s 1.89512e+06
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,6 +8,5 @@ restore [locate_data_file cts20454b.rle] b
bfuse result a b
checkprops result -s 978396
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file cts20457b.rle] b
bfuse result a b
checkprops result -s 26347.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file CTO902_cts20458b.rle] b
bfuse result a b
checkprops result -s 94390.1
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,6 +9,5 @@ restore [locate_data_file CTO902_cts20482c.rle] c
bfuse result a b
bfuse result result c
checkprops result -s 189131
checkview -display result -2d -otherwise { result c } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,7 +7,5 @@ restore [locate_data_file cts20484-tool2.rle] b
bfuse result a b
checkprops result -s 125777
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -15,3 +15,4 @@ bfuse result a c
# KO
checkprops result -s 168515
checkview -display result -2d -otherwise { a c } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,7 +7,5 @@ restore [locate_data_file cts20487b.rle] b
bfuse result a b
checkprops result -s 165253
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,7 +7,5 @@ restore [locate_data_file cts20506b.rle] b
bfuse result a b
checkprops result -s 1.41768e+06
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file CTO902_cts20492b.rle] b
bfuse result a b
checkprops result -s 40078.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,7 +7,5 @@ restore [locate_data_file cts20493b.rle] b
bfuse result a b
checkprops result -s 186203
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file cts20494b.rle] b
bfuse result a b
checkprops result -s 63361.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file CTO902_cts20495b.rle] b
bfuse result a b
checkprops result -s 54470.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,6 +8,5 @@ restore [locate_data_file cts20552-tool.rle] b
bfuse result a b
checkprops result -s 221130
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file CTO902_cts20551b.rle] b
bfuse result a b
checkprops result -s 452089
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,6 +7,5 @@ restore [locate_data_file CTO902_cts20535b.rle] b
bfuse result a b
checkprops result -s 81701.3
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,8 +7,5 @@ restore [locate_data_file CTO902_cts20529b.rle] b
bfuse result a b
checkprops result -s 192383
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -6,5 +6,5 @@ restore [locate_data_file CTO904_pro12956b.rle] b
bfuse result a b
checkprops result -s 68458.3
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,5 +7,5 @@ ttranslate c2 5 0 10
bfuse result c1 c2
checkprops result -s 2199.11
checkview -display result -2d -otherwise { c1 c2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,3 +9,4 @@ bfuse result1 part tool1
bfuse result result1 tool2
checkprops result -s 189131
checkview -display result -2d -otherwise { result1 tool2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -9,3 +9,4 @@ bfuse result1 part tool1
bfuse result result1 tool2
checkprops result -s 133085
checkview -display result -2d -otherwise { result1 tool2 } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO904_cts20549b.rle] b
bfuse result a b
checkprops result -s 22561.3
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,3 +8,4 @@ trotate b 0 0 75 0 1 0 90
bfuse result a b
checkprops result -s 85663.7
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,5 +8,5 @@ tmirror b 0 0 0 1 0 0
bfuse result a b
checkprops result -s 19185.1
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO904_cts20549b.rle] b
bfuse result a b
checkprops result -s 22561.3
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO904_cts20751b.rle] b
bfuse result a b
checkprops result -s 52140.6
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file cts20769a.brep] b
bfuse result a b
checkprops result -s 92385.1
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file cts20370-tool.rle] b
bfuse result a b
checkprops result -s 261265
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO904_cts20578b.rle] b
bfuse result a b
checkprops result -s 759758
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -11,3 +11,4 @@ prism pp f 0 0 100
bfuse result s pp
checkprops result -s 358551
checkview -display result -2d -otherwise { s pp } -s -path ${imagedir}/${test_image}.png

View File

@@ -11,3 +11,4 @@ bfuse result a_1 b
# pkv t
checkprops result -s 65482.8
checkview -display result -2d -otherwise { a_1 b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file buc60116b.rle] b
bfuse result a b
checkprops result -s 224496
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file cts20973b.rle] b
bfuse result a b
checkprops result -s 324489
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -8,3 +8,4 @@ restore [locate_data_file CTO904_cts20974b.rle] b
bfuse result a b
checkprops result -s 3362.81
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ updatetolerance a 1
bfuse result a b
checkprops result -s 788417
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file pro13555b.rle] b
bfuse result a b
checkprops result -s 3479.01
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

View File

@@ -7,3 +7,4 @@ restore [locate_data_file CTO902_cts20525-tool.rle] b
bfuse result a b
checkprops result -s 160000
checkview -display result -2d -otherwise { a b } -s -path ${imagedir}/${test_image}.png

Some files were not shown because too many files have changed in this diff Show More